quarta-feira, 15 de julho de 2015

Useful links for Google and Facebook Developers

https://developers.facebook.com/
https://developers.google.com/ios/cocoapods?hl=pt-br
https://developers.google.com/identity/sign-in/android/

// Build GoogleApiClient to request access to the basic user profile
mGoogleApiClient = new GoogleApiClient.Builder(this)
        .addConnectionCallbacks(this)
        .addOnConnectionFailedListener(this)
        .addApi(Plus.API)
        .addScope(new Scope(Scopes.PROFILE))
        .build();
Then, in the activity's onStart() callback:
// Connect GoogleApiClient
mGoogleApiClient.connect()
Postar um comentário