Instagram get username from userId

前端 未结 3 1415
小鲜肉
小鲜肉 2021-02-09 05:34

I have the ability to get userId from username, but I do not have the ability to get username from userId.

I have a database of userId because that is all my app needed

3条回答
  •  执笔经年
    2021-02-09 06:03

    use this API:

    https://api.instagram.com/v1/users//?access_token=ACCESS-TOKEN
    

    The response will have username and other user information, here is documentation: http://instagram.com/developer/endpoints/users/#get_users

提交回复
热议问题