android-facebook

Android Facebook SDK lowers app performance

丶灬走出姿态 提交于 2020-04-30 10:04:48
问题 I am using Facebook SDK for my android app. I am facing scroll lags and performance issues all over the app. Removing the sdk removes all the issues. But i intend to use the sdk for analytics purpose. Is there anything that has to be added with addition to sdk. Any insight is helpful. I tried just adding the analytics implementation in gradle but still facing the same issues implementation 'com.facebook.android:facebook-core:4.41.0' implementation 'com.facebook.android:facebook-android-sdk:4

Android Facebook SDK lowers app performance

情到浓时终转凉″ 提交于 2020-04-30 10:03:23
问题 I am using Facebook SDK for my android app. I am facing scroll lags and performance issues all over the app. Removing the sdk removes all the issues. But i intend to use the sdk for analytics purpose. Is there anything that has to be added with addition to sdk. Any insight is helpful. I tried just adding the analytics implementation in gradle but still facing the same issues implementation 'com.facebook.android:facebook-core:4.41.0' implementation 'com.facebook.android:facebook-android-sdk:4

Unable to share on Facebook

泪湿孤枕 提交于 2020-01-16 18:27:06
问题 I have integrated Facebook SDK into my project. I have followed all the steps mentioned in https://developers.facebook.com/docs/android/getting-started/facebook-sdk-for-android/ . But then also I am not able to share on facebook. I have generated the hash using debug.keystore and have placed it at 2 places as mentioned in the documentation. Issue: I am able to share on facebook if native facebook android app is not installed in the device. i.e. via the pop up which ask for email id and

Description not shown in Facebook ShareDialog

℡╲_俬逩灬. 提交于 2020-01-11 06:39:55
问题 I am trying the ShareLinkContent using the ShareDialog from Facebook in my Android App. Following is the code snippet I have used. I have the content title and the description as it is needed for the post. It is fine while is show in the mobile while I try to post it.But When I see the post in the facebook it is different. Hope it is picking it from the google play store. Please help to resolve this s that I can see the description and the tilte that I have set it in the share dialog

Login Approach with Android Facebook 3.0 SDK

浪尽此生 提交于 2020-01-09 10:57:34
问题 While going through the sample program for Facebook Login, I came across SessionLoginSample's LoginUsingActvity.java https://github.com/facebook/facebook-android-sdk/blob/master/samples/SessionLoginSample/src/com/facebook/samples/sessionlogin/LoginUsingActivityActivity.java and another example has different approach to Login using UiLifecycleHelper as in Scrumptious example https://github.com/facebook/facebook-android-sdk/blob/master/samples/Scrumptious/src/com/facebook/scrumptious

Android Facebook login without Facebook login button

…衆ロ難τιáo~ 提交于 2020-01-04 04:39:07
问题 I want login with facebook without using Facebook Login Button. so i applied click event on default android button. But i got error cannot resolve method logInWithReadPermissions(..).. here is my code. Any help will appreciated btnFBLogin.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { LoginManager.getInstance().logInWithReadPermissions(this, Arrays.asList("public_profile", "email"));// here giving error can not resolve method } }); 回答1: You are

How to like a Facebook page on android?

可紊 提交于 2020-01-03 06:21:12
问题 I have managed to "Like" a non-Facebook webpage, but when I try Liking a Facebook one, using OpenGraph, I get: Like actions are not yet supported against objects of this type. Is there any way to like a Facebook page using the Android Facebook SDK, not using a WebView ? 回答1: You can't directly like page. You will have to show that page in webView or native app. Then user will have to press like manually... It works like this to prevent manipulations on Fb counters. 回答2: I assumes you have

How to like a Facebook page on android?

社会主义新天地 提交于 2020-01-03 06:21:08
问题 I have managed to "Like" a non-Facebook webpage, but when I try Liking a Facebook one, using OpenGraph, I get: Like actions are not yet supported against objects of this type. Is there any way to like a Facebook page using the Android Facebook SDK, not using a WebView ? 回答1: You can't directly like page. You will have to show that page in webView or native app. Then user will have to press like manually... It works like this to prevent manipulations on Fb counters. 回答2: I assumes you have

FB friends list who have already authenticated the same application

孤人 提交于 2020-01-03 06:06:27
问题 I am working with Facebook graph api: I need to get the list of friends who have already AUTHENTICATED MY APPLICATION. First question: IS THIS POSSIBLE? and if yes please guide me where should I start searching for it. I have already gone through SO for similar question and none suits in my case. Please help! Thank you. 回答1: Facebook API provides a boolean field that can help you filter the User's friends with your application Installed. You need to Make a request for User's Friends List and

Error connecting to Android app through Facebook Session

非 Y 不嫁゛ 提交于 2020-01-03 04:38:07
问题 I got this code from Github.I followed all the directions to the later and there is an error in the MainActivity which i can't seem to resolve. Here is the code: import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import com.facebook.LoggingBehavior; import com.facebook.Session; import com.facebook.SessionState; import com.facebook.Settings; public class