1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'C, C++, C#' started by Mission IMpossible, Sep 18, 2015.

  1. Mission IMpossible

    Mission IMpossible Registered Member

    Joined:
    Jan 16, 2014
    Messages:
    62
    Likes Received:
    11
    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 ?
     
  2. rootjazz

    rootjazz Jr. VIP Jr. VIP

    Joined:
    Dec 21, 2012
    Messages:
    685
    Likes Received:
    329
    Occupation:
    Developer
    Location:
    UK
    Home Page:
    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
     
  3. MichelBertrand

    MichelBertrand Registered Member

    Joined:
    Sep 16, 2015
    Messages:
    81
    Likes Received:
    21
    Occupation:
    Beach boy
    Location:
    EU
    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
     
  4. LEADCODE

    LEADCODE Registered Member

    Joined:
    Aug 4, 2015
    Messages:
    66
    Likes Received:
    8
    You can just automate the process for all accounts. It should be quite simple.
     
  5. jtrash01

    jtrash01 Regular Member

    Joined:
    Nov 5, 2013
    Messages:
    270
    Likes Received:
    119
    Location:
    BARCELONA, SPAIN
    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.