android-facebook

how to implement facebook login in android using facebook sdk 4.7

点点圈 提交于 2019-11-26 17:47:40
问题 I am trying to login with facebook using android sdk 4.7. I have tried the following link http://www.theappguruz.com/blog/android-facebook-integration-tutorial http://www.androidhive.info/2012/03/android-facebook-connect-tutorial/ 回答1: This code works for me, try it out and check that you are using facebook sdk 4.7 package com.kushal.facebooklogin; import java.util.Arrays; import org.json.JSONException; import org.json.JSONObject; import android.content.Intent; import android.os.Bundle;

customize Android Facebook Login button

▼魔方 西西 提交于 2019-11-26 12:03:37
I want to customize the look of the Facebook login button which we get along with the Facebook sdk for android (facebook-android-sdk-3.0.1). I want a simple android button which has title "Login via Facebook". I could not find any documentation regarding that. So if any one knows on how to do it in a simple way, please tell me or direct me on how to do it. You can use styles for modifiy the login button like this <style name="FacebookLoginButton"> <item name="android:textSize">@dimen/smallTxtSize</item> <item name="android:background">@drawable/facebook_signin_btn</item> <item name="android

customize Android Facebook Login button

白昼怎懂夜的黑 提交于 2019-11-26 02:41:31
问题 I want to customize the look of the Facebook login button which we get along with the Facebook sdk for android (facebook-android-sdk-3.0.1). I want a simple android button which has title \"Login via Facebook\". I could not find any documentation regarding that. So if any one knows on how to do it in a simple way, please tell me or direct me on how to do it. 回答1: You can use styles for modifiy the login button like this <style name="FacebookLoginButton"> <item name="android:textSize">@dimen