简体   繁体   English

Facebook Graph API-access_token = app_id | app_secret-搜索Graph API,无需用户登录

[英]Facebook Graph API - access_token=app_id|app_secret - search Graph API without user login

I see that facebook require now to have access_token for searching users. 我看到Facebook现在要求具有access_token才能搜索用户。 I'm folowwing these links: https://developers.facebook.com/docs/facebook-login/access-tokens/ 我关注这些链接: https : //developers.facebook.com/docs/facebook-login/access-tokens/

User access token for search via facebook graph 通过Facebook图形进行搜索的用户访问令牌

They are saying the same, that I can use "&access_token=app_id|app_secret" for querying the Graph API, I still get an error "error": { "message": "(#200) Must have a valid access_token to access this endpoint", "type": "OAuthException", "code": 200 } 他们说的相同,我可以使用“&access_token = app_id | app_secret”查询Graph API,但仍然收到错误“错误”:{“ message”:“(##)必须具有有效的access_token才能访问此端点”,“类型”:“ OAuthException”,“代码”:200}

I need to search facebook users from my web site, I don't need user of my web site to login to facebook. 我需要从我的网站搜索facebook用户,不需要我的网站用户登录到facebook。

Thank you 谢谢

According to Facebook 根据Facebook

The following changes will go into effect on July 10, 2013: ..... The following changes will go into effect on July 10, 2013: .....

Graph API search changes
App access tokens will be required for all search Graph API calls except Places and Pages. Search for application will no longer be supported.

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

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