How to get all the user IDs of people who are using your Facebook application

前端 未结 3 1288
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-28 10:12

Is there a way to get the user IDs of all the people who are using your Facebook application?

3条回答
  •  死守一世寂寞
    2020-11-28 10:54

    Just a little more on this - I managed to find a lot of the userIDs I was looking for by doing basic Graph API searches and then checking they were valid with my app.

    Search an email address or username here:- https://developers.facebook.com/tools/explorer?method=GET

    QUERY: https://graph.facebook.com/search?q=user@email.com&type=user

    If you get a match or more than one, you can check it is valid as install on the FQL query button of the same explorer:-

    SELECT uid FROM user WHERE uid = *USER_ID_TO_SEARCH* AND is_app_user = 1
    

    If it appears as a uid, you're good - they're valid. This helped me get to what I needed (when I hadn't got some of my app users info on signup).

提交回复
热议问题