Instagram how to get my user id from username?

前端 未结 24 1068
傲寒
傲寒 2020-11-30 17:14

I\'m in the process of embedding my image feed in my website using JSON, the URL needs my user id so I can retrieve this feed.

So, where can I find/get my user id?

24条回答
  •  执笔经年
    2020-11-30 17:59

    Here is a really easy website that works well for me:

    http://www.instaid.co.uk/

    Or you can do the following replacing 'username' with your Instagram username

    https://www.instagram.com/username/?__a=1

    Or you can login to your Instagram account and use google dev tools and look at the cookies that have been stored. 'ds_user_id' is your user ID

提交回复
热议问题