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 is in my friend list.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
First ask for the user_interests
permission. Then make an authenticated Graph API call to /me/interests
.
回答2:
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.