How to get instagram user ID/access tocken from iphone app

醉酒当歌 提交于 2019-12-24 10:40:06

问题


In my iPhone app,there is a switch for sharing the photos to users instagram profile. How to get the instagram id in my app.

(i am not sharing the posts directly from the app,i woud like to send the particulars to server,from there sharing happens-)

I have registered my app in Instagram and got CLIENT ID,Client secret


回答1:


You have to use those ID and SECRET to authenticate with Instagram to get the access tokens for your users to make requests to the API, check here to see how you can initiate the authentication flow and then find a solution that fits what you're trying to do.



来源:https://stackoverflow.com/questions/13832810/how-to-get-instagram-user-id-access-tocken-from-iphone-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!