简体   繁体   English

如何在未经身份验证的情况下获取访问令牌?

[英]How to get an access token without an authentication to facebook?

So what I want to do is get an access_token for my website that gets information from a public group. 因此,我想做的就是为我的网站获取一个access_token,以从公共团体获取信息。 I dont want to authenticate with my facebook account everytime I want to see information. 我不想每次查看信息时都使用我的Facebook帐户进行身份验证。 Please any ideas? 有什么想法吗?

In order to make graph api calls to groups, you need any valid access token. 为了对组进行图API调用,您需要任何有效的访问令牌。 The easiest way to get one without authenticating any users is getting App Token . 无需身份验证任何用户即可获取密码的最简单方法是获取App Token There is an example of how to get that token in the link. 有一个示例如何在链接中获取该令牌。 Get it and use it in your calls. 获取并在通话中使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM