获取访问令牌在Facebook图表api上关闭的组 [英] Get Access Token for a closed group on facebook graph api
问题描述
我正在尝试获取一个封闭的组的访问令牌,以便我可以在我的网站上显示组信息,但不幸的是,我看到的获取访问令牌的所有方法都是应用程序,它需要appId和secret码。有没有一种方法,我可以得到它为一个组,因为它没有在文档中指定的参数。
I'm trying to get an access token for a closed group so that i can display the group informaiton on my website, but unfourtunatly all the methods that i see to get an access token are for application which requires the appId and secret code. is there a way that i can get it for aa group cause it doesnt have the parameters specified on the doc.
可以some1请帮助我,我离开了选项
Can some1 please help me out, i'm out of options.
感谢
D
推荐答案
访问用户和朋友的权限。有一个特定的 user_groups
权限。通常,Facebook身份验证的工作原理是认证用户将允许您的应用程序或(网站)访问他们自己可以访问的内容。因此,如果用户是特定组的成员,并允许您的应用程序通过user_groups权限进行连接,那么您的应用程序将可以访问此组。
You can access the user and friends permissions. There is a specific user_groups
permission. Generally the way Facebook authentication works is that the authenticating user will allow your application or (website) access to what they themselves have access to. So if a user is a member of a particular group and allows your application to connect through the user_groups permission, then your application will have access to this group to.
http://developers.facebook.com/docs/reference/api/permissions/
这篇关于获取访问令牌在Facebook图表api上关闭的组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!