如何找到Facebook ID? [英] How to find the Facebook ID?
本文介绍了如何找到Facebook ID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我去 http://graph.facebook.com/harshamv
我收到以下错误
{
"error": {
"message": "(#803) Cannot query users by their username (harshamv)",
"type": "OAuthException",
"code": 803
}
}
有没有办法得到我的Facebook ID?
Is there any way i get get my Facebook ID?
推荐答案
你不需要全球ID,只有应用范围ID。您可以授权用户无需额外权限,并致电 / me
端点。
You don´t need global IDs anymore, only App Scoped IDs. You get them by authorizing a user with no additional permissions and a call to the /me
endpoint.
更多关于更改可以在更改日志中找到:
More about the change can be found in the changelog:
- https://developers.facebook.com/docs/apps/changelog#v2_0
有关相同错误消息的更多信息:
More information about the same error message:
- Facebook - 无法通过用户名查询用户解决方案
- 社交框架返回(#803)无法通过用户名(用户名)查询用户尝试获取用户Feed
- Facebook Graph API v2.1:获取用户ID和他的帖子
- Facebook - "Cannot query users by their username" solution
- Social framework returns "(#803) Cannot query users by their username (username)" when trying to get user feed
- Facebook Graph API v2.1: getting user id and his posts
这篇关于如何找到Facebook ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文