开发者

Facebook updating

I am trying to update facebook from my Mac application i am working on. I am able to update status & links successfully. using the facebook api & documentation http://developers.facebook.com/docs/reference/rest/users.setStatus/

开发者_JAVA百科But I want to update something like this. So how can I do this. I have used status.set, link.post but it is not looking like this.

Facebook updating


For something like this you'd use

link=http://www.example.com/
picture=http://www.example.com/icon.png
name=NinJump Deluxe
caption=I just got a score of 39101 in the castle level of NinJump Deluxe, an awesome new iPhone/iPod Touch game by Backflip Studios!
redirect_uri=http://www.facebook.com/
actions={"name": "Get NinJump Deluxe", "link": "http://www.facebook.com"}


If you want more control over how the status update looks, controlling images and more of that type, you should use the Graph API and request user permission for posting on their wall (think Facebook application).

Another possibility is just implementing a Like-button in your application, but then you're not as flexible in output.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜