Menu
  • HOME
  • TAGS

Displaying profile details using SocialAuth api

android,socialauth

update your code like this. private final class ProfileDataListener implements SocialAuthListener<Profile> { @Override public void onError(SocialAuthError arg0) { // TODO Auto-generated method stub } @Override public void onExecute(String arg0, Profile t) { Log.d("Custom-UI", "Receiving Data"); Log.d("Custom-arg0", arg0); Profile profileMap = t; Log.d("Custom-UI", "Validate ID = " + profileMap.getValidatedId()); Log.d("Custom-UI", "First...

Is it possible to get large Linkedin profile pic URL?

android,linkedin,socialauth

You can fetch the original size (the size uploaded by the user) of the profile picture URL like so: http://api.linkedin.com/v1/people/~/picture-urls::(original) ...

add option to login using twitter, facebook and google using socialauth on android app

android,facebook,twitter,socialauth

I am putting here code..Hope it will help you.. Note: You need to put oath_consumer.properties in your assets folder as well as add socialauth library in your project. public class ClientLogin extends Activity { TextView facebookLogin,TwitterLogin,LinkedInLogin; SocialAuthAdapter adapter; Button logout; Context context; Profile profileMap; String Email,password; String provider_Name; @Override protected...

oauth_consumer.properties not found social auth android

java,android,socialauth

After banging my head for full 2 days i found the error You need to put the assets folder on same level as res folder in order to load the oauth_consumer.properties file. src main assets java res AndroidManifest.xml I just need below doubts to clear if you guys can help...

how to store access token for facebook in social auth

android,facebook,integration,socialauth

you can go with most easiest way shared preferences .. or use session... where you can save and retrieve string with key value.. SessionManager.java public class SessionManager { // Shared Preferences SharedPreferences pref; // Editor for Shared preferences Editor editor; // Context Context _context; // Shared pref mode int PRIVATE_MODE...

how to implement signout functionality for Facebook integration in social-auth for android

integration,socialauth

Try: adapter.signOut(getApplicationContext(), Provider.FACEBOOK.toString()); ...

How to get access token in social auth in android and how to reuse them

android,integration,socialauth

You have to add providers yourself to the adapter. For example, adapter.addProvider(Provider.FACEBOOK, R.drawable.facebook);.