Category : facebook

Facebook throws the warm error, how to resolve it: GraphRequest: Starting with v13 of the SDK, a client token must be embedded in your client code before making Graph API calls. Visit https://developers.facebook.com/docs/android/getting-started#client-token to learn how to implement this change. I already added to Manifest <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id" /> Version: "com.facebook.android:facebook-android-sdk:12.1.0" Source: Android..

Read more

My app currently use facebook SDK 5.5.3 and I need to update to 11.1.1 So I added in android/app.build.gradle implementation ‘com.facebook.android:facebook-android-sdk:11.1.1’ and run react-native run-android but when I check android/.idea/libraries all facebook files in there has 5.5.3 What else should be done to update facebook SDK and confirm that it is on desired version? Source: ..

Read more

fbBtn = (LoginButton) findViewById(R.id.login_facebook); callbackManager = CallbackManager.Factory.create(); LoginManager.getInstance().logOut(); fbBtn.setReadPermissions(Arrays.asList(EMAIL)); fbBtn.registerCallback(callbackManager, new FacebookCallback<LoginResult>() { @Override public void onError(@NonNull FacebookException e) { // Log.d("Log",ob); } @Override public void onSuccess(LoginResult loginResult) { // App code Log.d("Log", "Login Success"); } @Override public void onCancel() { // App code } }); [I tried a lot if device has installed Facebook ..

Read more

I wonder if someone may be able to assist with my struggles, I apologise as I’m new to Kotlin. After implementing facebook login following the parse-sdk-android documentation I have realised that onActivityResult() is deprecated (though it still works for the timebeing). I am trying to adapt my code to work with the new Activity Result ..

Read more

I have received a mail from the Facebook developer regarding the deactivation of my app because of violating policy 6.1. Here I have checked using the tester account. It shows the error as "Something went wrong" with the below code. requestCode = 64206 resultCode = 0 Note: I also got the SERVER_ERROR: [code] 1675030 [message]: ..

Read more