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
0
votes
1 answer

Facebook Key Hash on Android

I'm developing for Phonegap, I originally created an Hash Key to test my app using Facebook Features, my app works just fine on my work computer. I now want to also have a development environment on my laptop, so again, I went to generate an Hash…
Jorg Ancrath
  • 1,447
  • 10
  • 34
  • 61
0
votes
1 answer

publish story on facebook via my app publishes to "only me" using Facebook sdk 3.0

While sharing my app via facebook, it works fine but on the post it says "only me". I want that the post should be seen by all friends. Below is the code snippet I am using: private static final List PERMISSIONS =…
nidhi
  • 763
  • 5
  • 17
0
votes
0 answers

Can't authorize with Login Button using Facebook app

I have problem with authorization using Login Button in my Android app. This is my code: LoginButton fbButton=(LoginButton)view.findViewById(R.id.fb_button); List PERMISSIONS =…
0
votes
0 answers

StartActivity wont work from onclick event

i'm trying to log in with facebook and pass the user's info to another activity The problem is when i run the startActivity method with the intent the onclick event gets freeze's and doesn't do anything I created a class that implements Serializable…
0
votes
1 answer

Filtering photos in facebook using graph api does not work

The route me/home?filter=app_2305272732 should work for photos but when I try that, I am getting active access token required error, but if I just hit me/home then it works perfectly. Also, I tried me/home?filter=app_2305272732 in graph api…
0
votes
1 answer

Facebook sdk3 publish

After reading the FB publish tutorial I'm trying to implement a simple publish, but in my application the user doesn't have to be logged in via FB. I want to open the loggin if needed and if so share. And I got the next exception: 04-28…
NickF
  • 5,637
  • 12
  • 44
  • 75
0
votes
1 answer

Programmatically Facebook loging in on Android (Session.isOpened always returns false)

I'm having a problem loging in programmatically, and after loging in, when I want the user to post something, when I check the acdtive session for isOpened() it returns false, so I cannot make any request... Here is the login Code: public void…
Juanu
  • 530
  • 9
  • 23
0
votes
1 answer

Android Facebook 3.0 Customize login dialog

I am using the new FacebookSDK and want to use the SSO login feature. What happens is that you get a very ugly Dialog with the requested permissions listed in them. I would rather have the old way(see hackbook sample, still uses sdk 2.0…
0
votes
0 answers

How to control that cancel the post of "likes?

while Using android-facebook api, I got one question ! In short, How to control that cancel the post of "likes?
0
votes
1 answer

how to get posts from my newsfeed on facebook containg certain text using restfb

Hi my task is very straight fw: I want to query my newsfeed for all the posts it contains(from the last 24 hrs), that has the word "nice" in them. I am using restFB client. I tried this: (using Graph API) Connection targetedSearch =…
Elad Gelman
  • 1,182
  • 1
  • 13
  • 27
0
votes
1 answer

Facebook integration for Android: Customize dialogs provided by the facebook app?

My app needs to get some permissions from the user. To do that, I am using a LoginButton from the Facebook SDK, which fires an intent, which is handled by the official Facebook app, which generates a dialog ('Do you want to give this app these…
George
  • 3,727
  • 9
  • 31
  • 47
0
votes
1 answer

Facebook share can't get the text

I want to make tweet/share buttons for gamers. They will make them able to write some tweets or share the gained score in the wall. I found this code: String shareBody = "Share text"; Intent sharingIntent = new…
Ganjira
  • 966
  • 5
  • 16
  • 32
0
votes
1 answer

Facebook Android SDK 3.0 calls just show a white screen

I have a lot of issues with the Facebook Android SDK 3.0 — a lot. Here's one which is particularly annoying: I have added the Facebook project to my workspace and linked it to my Android application. Now when I export my application (by right…
Adil Hussain
  • 30,049
  • 21
  • 112
  • 147
0
votes
2 answers

Allow user to sign in with Facebook, Twitter, Gmail Account in android app

I want my app to have Sign In with Facebook or Twitter or Gmail. My app will not post on theire respective account, just a way of authorization or user creation for my app. Is there any easy library to achieve that without hustle of SDKs or complex…
0
votes
1 answer

Share image using intent chooser

How can I share images using intent chooser. I have tried Intent share = new Intent(Intent.ACTION_SEND); share.setType("image/png"); share.putExtra(Intent.EXTRA_STREAM, Uri.parse(url)); where url is from internet I am…
user2041902
  • 593
  • 1
  • 6
  • 21