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
3
votes
2 answers

Android Facebook login without Facebook login button

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…
Hardeep Singh
  • 743
  • 1
  • 8
  • 18
3
votes
1 answer

How to get Profile picture,primary e-mail,Facebook link of a user from an android App in Facebook SDK 4.5?

I am using latest Facebook sdk for android in my applicaton. public class MainActivity extends AppCompatActivity { public static CallbackManager callbackmanager; private AccessTokenTracker mTokenTracker; private ProfileTracker…
Noufal M
  • 163
  • 1
  • 4
  • 12
3
votes
1 answer

Android facebook sdk login issue for second time

I have hash key of my signing certificate, I got using keytool as below : keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%\.android\debug.keystore | openssl sha1 -binary | openssl base64 I have successfully generated key and I have…
siddharth
  • 256
  • 4
  • 14
3
votes
0 answers

Facebook Messenger Android app integration

I am trying to integrate Facebook Messenger platform in my Android app. FacebookSdk.sdkInitialize(getApplicationContext()); String mimeType = "image/jpeg"; String metadata = "{ \"type\": \"event\" }"; ShareToMessengerParams shareToMessengerParams =…
3
votes
0 answers

How to send message on Facebook in android without the native app installed

I need to send a message to Facebook friends using both native installed app or webview (Dialog). I have tried using FacebookDialog.MessageDialogBuilder but it needs the native messenger app to be installed on device . What is the best way to…
Navdroid
  • 1,541
  • 3
  • 25
  • 52
3
votes
2 answers

Android – Facebook SDK AppEventsLogger logEvent doesn't work

Googling didn't help me. I'm trying to push data on Facebook dashboard via Facebook app events My code is: AppEventsLogger logger = AppEventsLogger.newLogger(this); logger.activateApp(this, Utility.FACEBOOK_ID); …
Anton Kashpor
  • 1,255
  • 2
  • 18
  • 34
3
votes
2 answers

Facebook "apprequests" filters not working on android

I am trying to show an App request dialog that shows a list of friends that are not users of my app to send invites. This is how i am going about it. Bundle parameters = new Bundle(); parameters.putString("message", "Send Request"); …
3
votes
1 answer

How to remove chat-head android

i learn about android chat-head, i see many of example of it,but i not got answers of how to remove chat head using any event,i want to create chat-head like Facebook-messenger, many of example of floating-window useful to me to create that,but any…
Nirav Mehta
  • 1,715
  • 4
  • 23
  • 42
3
votes
1 answer

Facebook app type no internet connection message

How can I show no internet connection message like in facebook app that appears below the tab view.
Mihir
  • 2,064
  • 2
  • 21
  • 28
3
votes
2 answers

Android - facebook sdk issues

I have included Fb login in my app, When i click on "Log in" button ( com.facebook.widget.LoginButton), it is opening an extra activity with dialog before logging in as shown in the pic below. why is this happening? I dont want to open this extra…
suresh cheemalamudi
  • 6,190
  • 11
  • 49
  • 67
3
votes
1 answer

Share text and URL on Facebook

I want to share a message such as " Check out the image http://someUrl.com Shared from app ABCapp. The user must be able to choose any of the installed applications to share with. I am using the following code Intent intent = new…
user2041902
  • 593
  • 1
  • 6
  • 21
3
votes
2 answers

Facebook SDK 3.0 for Android without Fragments does not work

I would like to use Facebook SDK 3.0 for Android to do some simple Graph requests. As I won't use Fragments, I can't use the samples that are posted in the Facebook developer documentation. I had some simple Activitys set up already, but they did…
caw
  • 30,999
  • 61
  • 181
  • 291
3
votes
1 answer

NoClassDefFoundError while Facebook login

I had make FBLogin demo using this tutotial Code is here //MainActivity.java package com.example.fbdemo; import android.os.Bundle; import android.app.Activity; import com.facebook.*; import com.facebook.model.*; import…
Jignesh Ansodariya
  • 12,583
  • 24
  • 81
  • 113
3
votes
1 answer

Android upload Gallery Image to Facebook------Bitmap Image out of memory

HI friends any body can help me.. I have to upload my Gallery image to Facebook and i use this code. i got out of memory Exception. Please give complete successful code instead of this. Here is my code : UploadImage.setOnClickListener(new…
Manoj Kumar
  • 177
  • 1
  • 11
2
votes
3 answers

How To Create Test Facebook Ads || How to Get Android Advertisement ID (AAID) programmatically?

How to create Test Device to Facebook Ads >> To Create Test Device you need Enter a device ID (IDFA, AAID): sometimes we need to get the android advertisement id AAID for android device, when we place google ads or Facebook ads to our Android app or…
Ali Al Fayed
  • 495
  • 1
  • 5
  • 13