Android facebook sdk, how to post custom statuses with links and photos -


with facebook android sdk 3.0, method use post custom status messages contain links , link previews, summaries, , personal message?

i have ironed out permissions need, publish_stream , publish_actions permissions (which may redundant, based on facebook blog post dated april 25th, 2013), request object, not sure method call.

below methods within request object:

http://i42.tinypic.com/av2yc4.png

i tried using intuitively named newstatusupdaterequest method, limited passing in string. encoding link inside string accompany message , autoparsed include photo thumbnail, title header , summary? in previous facebook sdks had explicitly configured.

actually can use of them. of these methods presets params you.

request request = request.newstatusupdaterequest(session, postentity.getmessage(), listener);  bundle parameters = request.getparameters(); parameters.putstring("link", "your link"); parameters.putstring("description", "description"); parameters.putstring("name", "name"); parameters.putstring("picture", "picture link");  request.executeandwait(); 

Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -