Questions tagged [android-facebook]

The Facebook SDK for integrating an Android app with Facebook. Questions should involve the usage and development of the Android Facebook SDK, not merely about using Facebook.

The Facebook SDK for integrating an Android app with Facebook.

616 questions
5
votes
2 answers

facebook login callback fires multiple times

My app is having Share button to share story on users timeline. What I'm doing is, user taps on Share button, if user session is not present app forces to Login user with Facebook. When user do that, story directly need to be published. Here's my…
Gimali
  • 777
  • 3
  • 12
  • 21
4
votes
0 answers

How should Facebook Login app implement the new 60- or 90-day login requirement?

Facebook sent out developer notification pointing to https://developers.facebook.com/docs/facebook-login/access-tokens/refreshing: The page contains 2 concerning portions: When you use iOS, Android, or our JavaScript SDK, the SDK will handle …
4
votes
2 answers

Deprecated FacebookSdk method throws RuntimeException

I have FacebookSdk.sdkInitialize(getApplicationContext()) where sdkInitialize() is displayed as deprecated. According to this article we can just delete that line. But then I get following error for the line after AppEventsLogger.activateApp(this)…
4
votes
1 answer

Android AccountKit.getCurrentAccount returns "API calls from the server require an appsecret_proof argument"

I am trying the Facebook AccountKit as shown here: https://developers.facebook.com/docs/accountkit/android/integrating I started the AccountKitAcitivity with: AccountKitConfiguration.AccountKitConfigurationBuilder configurationBuilder = …
Herman
  • 1,882
  • 3
  • 14
  • 17
4
votes
2 answers

How to check Facebook login status in android application.?

As i checked in previous answers they suggest to use Session to check the Facebook logon status, but that class got removed in new versions, any one can you help me out to resolve this. How can i find my current login status - facebook API android
4
votes
2 answers

Facebook login button causes a crash

I have trouble trying to solve Facebook login button as a part of Android application. Application starts well, but it crashes when I press Facebook Login button. This is what it says in log: 12-06 17:17:01.079 25678-25678/com.example.icen.tij01…
user198003
  • 11,029
  • 28
  • 94
  • 152
4
votes
1 answer

Two Android apps with different package names using one Facebook app for sharing

When creating app on Facebook it requires Android apps' Google Play Package Name and Main Class Name. I have com.myapp and com.myapp.pro is that possible to use the same Facebook app for sharing? Or I need to create another one for pro version? As I…
Vadims Savjolovs
  • 2,618
  • 1
  • 26
  • 51
4
votes
3 answers

Android: Facebook Login: The App has no Android Key hashes configured

I am trying to get Facebook Login to work in my Android App: Here's the partial code for this: private void performFacebookLogin() { final Session.NewPermissionsRequest newPermissionsRequest = new…
Jasper
  • 8,440
  • 31
  • 92
  • 133
4
votes
2 answers

Facebook SDK integration with Android Studio

I am trying to integrate Facebook SDK into my android project but unable to do so. I have followed the steps mentioned in the facebook documentation. but I am getting the error as - FAILURE: Build failed with an exception. * What went…
4
votes
2 answers

Using facebook login correctly

In my application on the start page I ask the user to authenticate via Facebook, then I request for some permissions and fetch some information: LoginButton authButton = (LoginButton) view.findViewById(R.id.authButton); …
User3
  • 2,465
  • 8
  • 41
  • 84
4
votes
2 answers

How can hide my strings value from reverse engineers?

I have an app on android. I use facebook keys,twitterkeys on my strings.xml file. I use proguard. But when a man which want to see real code, decompile myapp , yes it is complex because I use proguard. But my strings value is seen. Is it a securty…
user3086226
  • 93
  • 1
  • 7
  • 18
4
votes
2 answers

How to use pass bundle parameter for paging in facebook android development

Actually i am accessing list of 25 pages which i have liked ( in my whole facebook accessing duration ) by String graphPath = "me" Bundle bun = new Bundle(); bun.putString("fields", "music.fields(name,videos.fields(name))"); …
4
votes
2 answers

Programmatically like a facebook fan page in Facebook android SDK

I am working in an android application where I use the facebook android sdk to login to the application.I get the access token from the facebook sdk when user logged in to the application through facebook sdk. So is it possible to like a page in…
Arun PS
  • 4,610
  • 6
  • 41
  • 56
4
votes
1 answer

How to send a post to Facebook friend's wall android SDK 3.0

I want to post on Facebook friend's wall with (android) Facebook SDK 3.0. How can I do that?
Liran Peretz
  • 580
  • 8
  • 11
4
votes
1 answer

How to get Current Month Facebook Friends Birthdays List in Android

I am writing a Facebook Android Application, in which i want to show list of Facebook Friends those Birthdays in Current Month, I am using below code to get that:- public static void requestFriends(FacebookRequest facebookRequest) { …
Babu
  • 957
  • 1
  • 9
  • 21