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.
精彩评论