I am new to iOS. I want to build an application with authentication/authorization But I am confused.
Get requst token
When someone download my apps from iTunes store.why need to get request token before he log in.
When user successfully done login? Then he will get sessionID okay. What is the userID here?
Please any help me to understand. Please describe your own voice. The picture does not matter what are presenting
If you are following OAuth then you need to get request token from the server, through this request token you will be having access to rest of the api methods. That is the reason you need to first get Request token
You can check more regarding oauth here. https://en.wikipedia.org/wiki/OAuth