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
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.