Authorize users with your application using multiple OAuth 1/2 providers.
- Dropbox
- Flickr
- Tumblr
- UbuntuOne
- Vimeo
- Appnet
- Foursquare
- GitHub
- Mailchimp
- Mailru
- PayPal
- Soundcloud
- Vkontakte
- Windows Live
- Yandex
- YouTube
- Odnoklassniki
In this example we will authenticate the user using Twitter.
qwe
You can also use this package to make calls to your respective APIs using Guzzle.
$client = new Mindy\SocialAuth\OAuthClient('http://api.twitter.com/1.1');
$client->setUserTokens($provider->getUserTokens());
echo $client->get('statuses/mentions_timeline.json')->send();
This example should show your Twitter mentions from the API along with the headers
$client = new \OAuth2\Client('https://graph.facebook.com');
$client->setUserTokens($oauth->getUserTokens());
echo $client->get('me')->send();
This example should show your Facebook profile from the API along with the headers
- OpenID