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

Like a post using facebook Sdk 3

I retrieved all the posts from my Facebook wall but now I want to like the post using the post_id. I am using following code but getting below mentioned exception {Response: responseCode: 200, graphObject: null, error: {HttpStatus: -1, errorCode:…
0
votes
1 answer

Android Facebook SDK Login onCompleted method not called

I'm trying to get the simple login activity to work as described on the Facebook developers page: https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/ My code so far: package com.xxxx.android; import…
Omair Vaiyani
  • 552
  • 7
  • 28
0
votes
1 answer

facebook android integration not working for share with friends

I have made a simple program in android for facebook android integaration,I have tried as below:it shows facebook login dialog box and successfully logged in after that it also shows myapp and ask to share it with my facebook friends but when i…
jigar
  • 1,571
  • 6
  • 23
  • 46
0
votes
2 answers

Is it possible to remove post from facebook wall from my android application

I have a typical condition where user's post should remain on facebook wall for 2 to 3 days , after that it should be removed .I am using facebook sdk 3.0 .I really want some guidance regarding how to do that , because i didn't find any post like…
kaushal trivedi
  • 3,405
  • 3
  • 29
  • 47
0
votes
2 answers

Malformed access_token in graph request from Android app

I have an app using the Android Facebook SDK 2.0. I am not able to upgrade this at this time so migrating to SDK 3.0 is not a viable solution. I'm usting a Facebook instance called fb and have successfully requested and gained permissions. I am able…
SnowInferno
  • 449
  • 3
  • 9
0
votes
1 answer

How to post to news feed on facebook through android application

I am working on android application which will have stories fetched from our server. I want is whenever someone reads a story. A news is posted on facebook like Ron read Storyname on/via Androidapplication. I am still not clear how to define reading…
Ron
  • 89
  • 8
0
votes
1 answer

Facebook layout error Could not resolve resource value: 0x7F08000A

i have loggin facebook button and post button in my app , when i use this , it work fine but when I go to the layout i find this error , i dont have any idea what does mean ... I need a clue to know how to proceed this errors from the…
idan
  • 1,508
  • 5
  • 29
  • 60
0
votes
1 answer

Cant see full content when wallpost using facebook sdk

Iam using following method to make a wall post using facebook sdk 3+ . After posting the story, I noticed that there is no complete content posted.About Half of it is missing. Is there any workaround for this, or do I have to go for another…
Basim Sherif
  • 5,384
  • 7
  • 48
  • 90
0
votes
0 answers

Methods in DialogListener attached to Facebook.authorize() not being called in android app when fb app installed in device

I have the following activity connecting facebook @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_facebook); mFacebook =…
0
votes
1 answer

Login Approach with Android Facebook 3.0 SDK

While going through the sample program for Facebook Login, I came across SessionLoginSample's LoginUsingActvity.java …
ganesh
  • 1,247
  • 6
  • 24
  • 46
0
votes
0 answers

Facebook 3.0 Sdk open authorized app dialog on every request

In Facebook 2.5 graph API whenever you post a publish request you just have to call the request method like this - Util.parseJson(facebook.request("me/photos", parameters,"POST")); Facebook will automatically publish the photo (or…
Mihir
  • 2,064
  • 2
  • 21
  • 28
0
votes
2 answers

Problems with facebook login for android application

We are using for our android application Facebook SDK version 3.0.1 For Facebook login I used this tutorial : https://developers.facebook.com/docs/howtos/androidsdk/3.0/login-with-facebook/ Many of my users have problems to get in to our application…
0
votes
2 answers

Creating a class for Facebook SDK 3.0 on Android

Is it possible to create a class to encapsulate the Android SDK on android? i.e - I don't want to clutter my activity with all the FB sessions and stuff, I want to have a class that I can call and it will do the job. For example, FacebookSDK sdk =…
Roman
  • 4,443
  • 14
  • 56
  • 81
0
votes
1 answer

Android and Facebook SDK

I'm using Facebook SDK in Android. I'm trying to create an app that uses facebook without having facebook SDK reside in some Activity or Fragment. i.e - I have a button that after I click it, I want to allow to share some image. I got it to open the…
Roman
  • 4,443
  • 14
  • 56
  • 81
0
votes
2 answers

How to post a message in all social websites using social auth in android?

I used socialauth library share button example for posting message on all social websites wall. But it worked only for linkedin.It doesn't work for facebook,twitter etc... It authenticated but isn't posting on wall. Please can any one help me.
suman
  • 75
  • 3
  • 8