开发者

Given a Facebook username, how do I get the ID of the profile?

开发者 https://www.devze.com 2023-03-11 02:07 出处:网络
I want the ID, not the 开发者_如何学Cusername.But given the username...what do I have to do?https://graph.facebook.com/username

I want the ID, not the 开发者_如何学Cusername. But given the username...what do I have to do?


https://graph.facebook.com/username

e.g.

https://graph.facebook.com/boxoft

{ "id": "1264933131", "name": "Box He", "first_name": "Box", "last_name": "He", "link": "http://www.facebook.com/boxoft", "username": "boxoft", "gender": "male", "locale": "en_US" }


You wont be able to get an exact match but will get some results. Via Graph Api docs

https://graph.facebook.com/search?q=Owalla&type=user
0

精彩评论

暂无评论...
验证码 换一张
取 消