android-facebook

Cannot generate correct facebook key hash for release apk?

青春壹個敷衍的年華 提交于 2019-12-11 19:16:11
问题 Steps that I've tried, 1) Generated the keyhash (although i got a warning/error as "keytool: command not found") from the official developer documentation.( keytool -exportcert -alias YOUR_RELEASE_KEY_ALIAS -keystore YOUR_RELEASE_KEY_PATH | openssl sha1 -binary | openssl base64 ) 2)Also tried the the keyhash shown in the error message while signing in. Still, none of the above keyhashes worked, interesting i was successfully able to signin to facebook in my debug version. Please Help 来源:

Facebook login is not working correctly for another person

被刻印的时光 ゝ 提交于 2019-12-11 17:44:22
问题 I am doing log in facebook using facebook sdk in my application in which authorize person (through which I have created example on facebook) doing log in successfully but when another person doing log in then he is not able to log in (I think session is created but session state is closed) now I am confused what I do. my code is below public class MainFragment extends Fragment{ private static final String TAG = "deepak"; private UiLifecycleHelper uiHelper; Boolean isInternetPresent; private

Got this error while trying to integrate Facebook login for Android-“couldn't find the URL”. What does it mean?

我们两清 提交于 2019-12-11 11:36:27
问题 mfacebook_Callback_Manager = CallbackManager.Factory.create(); Collection<String> permissions = Arrays.asList("public_profile,email"); LoginManager.getInstance().logInWithReadPermissions(MainActivity.this, permissions); LoginManager.getInstance().registerCallback(mfacebook_Callback_Manager, new FacebookCallback<LoginResult>() {.......} Error occurs in callback of loginmanager. Stack Trace: 07-12 21:25:10.712 2107-2107/com.factory.fbsample.dev W/System.err: at com.facebook.login.LoginManager

Android Facebook friendsList array is null but FrindsList count is showing

牧云@^-^@ 提交于 2019-12-11 02:09:57
问题 My permissions: facebookLoginButton.setReadPermissions( Arrays.asList("public_profile", "user_friends","read_friendlists")); Callback functions: new Request(Session.getActiveSession(), "/" + USER_ID + "/friends", null, HttpMethod.GET, new Request.Callback() { public void onCompleted(Response response) { showLogInfo("###########" + response.getRawResponse()); } }).executeAsync(); This above function I'm calling to get facebook friends list. but I'm getting following response. {"summary":{

I got this error for first attempt to login facebook.How can solve this?

时光毁灭记忆、已成空白 提交于 2019-12-10 12:09:18
问题 I searched very much but I did not see the real solution. Somebody says use ex facebook sdk , is it the real solution?(I use facebook 3.6 but somebody says on stackoverflow use 3.2) I use proguard, com.facebook.aq: com.facebook.c.f got an unexpected method signature: public abstract java.lang.Object com.facebook.c.c.e() at com.facebook.c.h.a(Unknown Source) at com.facebook.c.f.invoke(Unknown Source) at $Proxy0.e(Native Method) at com.facebook.b.al.a(Unknown Source) at com.facebook.b.al.a

Android Google Login Button and Facebook sdk 4+ Button Layout

只愿长相守 提交于 2019-12-09 14:40:25
问题 I Am developing an application which use google and facebook integration ...I want to fix height and width of those button...and i want to set Button Text Manualy... i had tried so far <com.facebook.login.widget.LoginButton xmlns:fb="http://schemas.android.com/apk/res-auto" android:id="@+id/connectWithFbButton" android:layout_width="match_parent" android:layout_height="50dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:text="@string/fbloginText" android:layout

Share Listview Item on Facebook wallpost using share intent chooser

隐身守侯 提交于 2019-12-08 14:28:30
问题 I am fetching data from server and set it into listview. Each Listview item have Two textview and a button. I have implemented all the code and working perfect.. But can any one help me.. How to implement facebook share intent when click on button of particular listview item.I want to share offer_name to facebook wall post using share intent chooser. Here is my getView code :- public View getView(int position, View convertView, ViewGroup parent) { final ViewHolder holder; if (convertView ==

Facebook friend list in Facebook Android SDK 3.14

こ雲淡風輕ζ 提交于 2019-12-08 08:41:32
问题 I am trying to get friend list using Facebook Android SDK 3.14 but getting no results . Some pointed out that friends who are using my app can only be retrieved but I want to retrieve my complete friend list . Can anyone please tell me how can i achieve that? I am using the following code: <code> Request.executeMyFriendsRequestAsync(session, new Request.GraphUserListCallback() { @Override public void onCompleted(List<GraphUser> users, Response response) { // TODO Auto-generated method stub

android-fb-sdk email is always null

元气小坏坏 提交于 2019-12-08 05:48:51
问题 I have a big problem with android-facebook-sdk 3.19.1. No problem to retrieve public information about user but it is not possible getting email address. I know my post is very near to the following thread ==> facebook android sdk -user email returns null but I have no solution for now. So here is my code In my ConnectionActivity.java I have a button R.id.fb_connect private List<String> permissions = Arrays.asList("email"); @Click(R.id.fb_connect) protected void fbConnect() {

Facebook Profile.getCurrentProfile() is always returns null after the first login

混江龙づ霸主 提交于 2019-12-08 02:44:45
问题 For the first time when I login into the app through Facebook, I'm getting profile from Profile.getCurrentProfile(); Where as when I exit the app and launch again, It was already logged in. So I can call directly Profile.getCurrentProfile(); is returning null. Code @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); FacebookSdk.sdkInitialize(getApplicationContext()); setContentView(R.layout.activity_page); Profile profile = Profile