[英]How can I get the interests of my friend through facebook api?
I am new to facebook api, and want to integrate in an site of my client.我是 facebook api 的新手,想集成到我客户的站点中。 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.
我有 codeigniter 作为我的 MVC。如果有人能告诉我使用哪个库来连接 facebook 以及如何获得我朋友列表中朋友的兴趣,那就太好了。
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/以下是如何在 CI 中实现 facebook 库的描述: 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.从那里,您可以连接 facebook 并检索数据。
First ask for the user_interests
permission .首先请求
user_interests
权限。 Then make an authenticated Graph API call to /me/interests
.然后对
/me/interests
进行经过身份验证的Graph API调用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.