Getting the Client_id and secret works.
Functions for creating the API URLs.
Trying to authorize, for some reason goes to the correct page but with the incorrect oauth_token get parameter.