background preloader


Facebook Twitter

Authentication and Authorization for Google APIs - Google Code. Foursquare Developers. Start by registering your app to obtain its foursquare API credentials.

foursquare Developers

Be sure to use an account with a secure password to own these credentials. If you're creating an app on the behalf of a full-fledged company, consider creating the key in association with the page account for your company. Since each set of credentials is tied to a particular URL, you may want to create different credentials for your development server and production server. For the purposes of OAuth, your “key” from that registration process is your “client id” here, and your secret from registering is your secret here. Access tokens allow apps to make requests to foursquare on the behalf of a user. iOS or Android applications may use our native flow to obtain a Foursquare access token. Native (Preferred) Native auth is the easiest way for users to connect with Foursquare.

To use native auth, incorporate our utility classes for iOS or Android into your app. Code (Preferred) Web server applications Token flow curl Pow! Connect with Viadeo. Integrate the “Connect with Viadeo” button and users can login with their Viadeo details to access personalised features.

Connect with Viadeo

By clicking “Allow” members will authorise your site or app to access their profile information and their professional graph. Example (see code below) Click on the button below to see the demo: Code. Sign In With LinkedIn. The LinkedIn JavaScript API makes it incredibly easy to let you customers authenticate using their LinkedIn account.

Sign In With LinkedIn

You can then use that information to register them for your own site, identify them in a blog comment, or otherwise use this to streamline their experience. This provides you with increased registrations with minimal work. The most important piece of data for you to capture and store is the LinkedIn member id. This is an application-specific unique identifier for every member. With this token, you can easily retrieve profile information about any of your users who have authenticated using Sign In with LinkedIn.

Our introduction, Hello World in Five Easy Steps, shows how you can get an API key, add our JavaScript framework to your page, and create a Sign In with LinkedIn button that looks like: Localize the plugin You can localize the Sign In plugin in the same language as the main site. Convert LinkedIn member into identified member of your site. Sign in with Twitter. Updated on Wed, 2012-09-26 12:20 Place a button on your site or application which allows Twitter users to enjoy the benefits of a registered user account in as little as one click.

Sign in with Twitter

Works on websites, iOS, mobile and desktop applications. Features Ease of use - A new visitor to your site only has to click two buttons in order to sign in for the first time. Twitter integration - The Sign in with Twitter flow can grant authorization to use Twitter APIs on your users behalf. For Websites. As mentioned, the code above uses the common defaults for the options available when initializing the SDK.

for Websites

You can customize some of these options, if useful. Changing SDK Language In the basic setup snippet, the en_US version of the SDK is initialized, which means that all the dialogs and UI will be in US English. You can change this language by changing the js.src value in the snippet. Take a look at Localization to see the different locales that can be used.

<script> (function(d){ var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;} js = d.createElement('script'); = id; js.async = true; js.src = "//"; d.getElementsByTagName('head')[0].appendChild(js); }(document)); </script> Disabling Login Status Check By setting status to true in the FB.init() call, the SDK will attempt to get info about the current user. Setting status to false can improve page load times, but you'll need to manually check for login status using FB.getLoginStatus. OpenID Foundation website. A Better Way to Sign In.