开发者

How can I get the interests of my friend through facebook api?

开发者 https://www.devze.com 2023-03-17 17:11 出处:网络
I am new to facebook api, and want to integrate in an site of my client. I have codeigniter as my MVC.It would be great if some one could tell me which library to use for facebook connect, and as to h

I am new to facebook api, and want to integrate in an site of my client. I have codeigniter as my MVC.It would be great if some one could tell me which library to use for facebook connect, and as to how to get interests of a friend who i开发者_如何学Gos in my friend list.


First ask for the user_interests permission. Then make an authenticated Graph API call to /me/interests.


Here is description how to implement the facebook lib in CI: http://www.dannyherran.com/2011/02/facebook-php-sdk-and-codeigniter-for-basic-user-authentication/

From there, you can connect with facebook and retrieve data.

0

精彩评论

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