开发者

Display Facebook wall on external website

I would like to know if it is possible to have a user enter their facebook log in info and have a php script get t开发者_StackOverflow社区heir facebook wall. I was looking at the Facebook developer page and saw that it was possible using the Graph API, but what I want to know is how I can do this for differant users of my site. Basically how can I have my users grant my site authorization to grab their wall?


You can do this when you register your web app at Facebook. When users grant the right permissions to your website (which you set on your app's settings page on the developer website). After they get redirected back to your website from FB you get an access_token which you append to URLs you query of the Graph API. Look at the examples provided here, the one relevant to you being Profile feed (Wall). You can code everything on your own or use existing open source code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜