I am currently trying to use the LinkedIn REST API. I am using C# and I have been having trouble with OAuth. I have looked at various posts such as this: OAuth with Verification in .NET, which really explained most of the confusing topics, but I am stuck on something that is apparently too obvious to mention: where does the Redirect URL come from? Is this something that LinkedIn should supply? Or is there some format I need to follow for a valid URI? I feel like I must be missing something very obvious or that I must really not understand this stuff at all. Any help would be appreciated!
James
1)Why you need this : Server returns Outh token that is embedded in redirect url, you just need to get that code out of the redirect url and use it for permitted actions(post,editing,tweet etc).
2) How to put this: you will give Redirect url in App Settings or pass it while making request.
For example for facebook: This will be initial link you will create ,one of its parameter is redirect_uri https://www.facebook.com/login.php?login_attempt=1&next=https%3A%2F%2Fwww.facebook.com%2Fv2.1%2Fdialog%2Foauth%3Fredirect_uri%3Dhttp%253A%252F%252Fsample.tumblr.com%252F%26display%3Dpopup%26response_type%3Dcode%26client_id%3D549177888517555%26ret%3Dlogin&popup=1
It will be there in Last Successful Response from the server in location header. if you are using webbrowser,it will automatically redirect to the url.