开发者

Request user to post on their facebook wall

I have a merchandising web 开发者_运维知识库site that allows user to buy stuff on my web site. I want to integrate this feature with facebook and enable users to allow my site to post on their wall a message showing that they have purchased an item from my web site.

How should I got about doing this. Do I need to create a facebook app to do this? Basically, I just want to enable users to accept my request to post a custom message on their walls.


You will have to implement the Facebook Connect in your site so that users are able to login and you need this to publish stream to their walls.

  • See this tutorial on how to implement facebook connect

Before you publish streams to their wall, you will have to ask them for publish_steam and offline_access extended permissions.

  • See this tutorial on how to get permissions

To actually post streams to their wall, have a look at stream.publish method.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜