We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@TODO Why APIs are important? ... well, because they bring a lot of power of external applications and some also bring users too.
Startup API support simplified OAuth calls on behalf of the user for providers that subclass OAuthAuthenticationModule and OAuth2AuthenticationModule. Here's the code from sample Twitter client:
$creds = $current_user->getUserCredentials('twitter'); $result = $creds->makeOAuthRequest('https://api.twitter.com/1.1/statuses/home_timeline.json', 'GET');