To initiate the OAuth authorization delegation flow you must first direct your users to the Socialcast Authorization dialog where they can give your application permissions to access their Socialcast data and act on their behalf. Do this by opening the authorization dialog URL in a user-agent:
Embedded user agents seeking a more streamlined experience may skip the first step of the authorization flow by opening the following URL instead:
The following variables should be substituted:
The Socialcast server will handle authenticating the user and present them with the opportunity to approve or deny your access request. Once the user has made their choice, they will be redirected back to your application via the "redirect_uri" you supplied when sending the user to the Authorization dialog.
If the user chooses to grant your request, the Socialcast server will append the following URL-encoded parameters to the fragment identifier:
If some kind of error occurs before authorization has been granted, or the user choses not to authorize your application the server will append the following URL-encoded parameters to the fragment identifier: