[c#] How to solve the problem of OAuth authorization permission?

Mission IMpossible

Regular Member
Joined
Jan 16, 2014
Messages
251
Reaction score
40
As OAuth requires the user to first give permission to the installed application, before the application can access his account. So how does bot creators bypass this problem, as he will have to give permission for all the accounts first, when dealing with hundreds of accounts.
How can the process of giving permission to access the account be automated ?
 
You can automate what the user would do.


So, the user clicks a link, gets redirect to a webpage, logs in, authorises, redirected back to site.


Watch the headers in fiddler than replicate EXACTLY
 
What is the problem? I met a couple of websites with this theme, the truth is not in English. I can give you the link
 
You can just automate the process for all accounts. It should be quite simple.
 
He's not asking what he have to do, he's asking how he can do it. And for that, the OP is not giving enough details.

What Language ?
What Api ?
Sample code ?

Anyway, you should be using and API wrapper that can handle this. Or recreate HTTP Requests with an HTTP Library. As RootJazz said, doing it EXACTLY.
 
Back
Top