Questions tagged [facebook-sdk-3.14.x]

45 questions
1
vote
0 answers

FacebookDialog.ShareDialogBuilder, error: post no longer available

I am using the Facebook sdk to share a link. the post share is well generated, but when i click on post, nothing happened and a toast is displayed: "this post is no longer available, it may have been removed" it gives me no error, just this toast. i…
drevlav
  • 572
  • 2
  • 6
  • 14
1
vote
2 answers

FBSession must be specified

While trying to use FacebookSDK in an iOS app, I get this message: FBSDKLog: Error for request to endpoint ‘123654789?fields=name,supports_attribution,supports_implicit_sdk_logging,gdpv4_nux_enabled,gdpv4_nux_content': An open FBSession must be…
Michel
  • 10,303
  • 17
  • 82
  • 179
1
vote
1 answer

How to get real time inbox and notifications from Facebook SDK android

I am developing an application that when it opens it get inbox and facebook notifications. I am able to get inbox and notification messages from Facebook in my android application every minute using Alarm Manager. But this consumes a lot of battery…
Dany19
  • 551
  • 9
  • 26
1
vote
2 answers

FBRequestConnection.startWithGraphPath crashes swift

I'm using the Facebook SDK to get users profile data in swift, but calling FBRequestConnection.startWithGraphPath:completionHandler: is crashing swift. I'll leave what I think is the relevant part of the log 1. While type-checking 'profile' at…
André Fratelli
  • 5,920
  • 7
  • 46
  • 87
1
vote
1 answer

Pass GraphUser object from Fragment to another activity

I'm a new android developer using facebook sdk to login in a Fragment. I want to pass the Graphuser object to another activity which user can edit information and sign up to my app. this is my request method: private void makeMeRequest(final Session…
1
vote
0 answers

How do i share authentication token from facebook API between android and Drupal?

I am creating a native android application with Drupal at the backend. I also require the user to be able to login directly through facebook (using facebook android SDK). The authenticated users have special permissions to access certain nodes…
Deepak Sharma
  • 223
  • 2
  • 3
1
vote
0 answers

Prevent to show state change of the Facebook login button

I am using the Facebook login button for authentication and followed pretty much the Facebook Login for Android tutorial. In the onSessionStateChange method I make a Graph API call to retrieve the User ID: Request request =…
Mahoni
  • 7,088
  • 17
  • 58
  • 115
1
vote
1 answer

FB Android-SDK: How to wait until callback of request is completed

I am trying to wait until onCompleted() of my callback function of a Request is finished. However the method get() of the RequestAsyncTask always returns before this is the case. Therefore it comes to problems in the further statements of my…
user3677546
1
vote
0 answers

Session.isOpened() vs SessionStatus.isOpened()

I am confused on when and where to use the session.isOpened() and session.isClosed(). Can anyone please tell me the basic difference between the two and their uses?
Mohammad Areeb Siddiqui
  • 9,795
  • 14
  • 71
  • 113
0
votes
0 answers

Facebook SDK login error from Android app

I got this error from the Google playstore version of my Android app. After adding the key hash in the image in my Facebook developers console, I am getting the same exact error. I'd also like to add that I encountered the same error from one of…
0
votes
1 answer

Facebook SDK Initialization for SDK v3.23.1 to implement App Events for Android

I am trying to follow the instructions at https://developers.facebook.com/docs/app-events/android#legacy-activation in the section "Legacy SDK Initialization". They say that "in the Facebook SDK for Android v4.18, and earlier, the SDK must be…
0
votes
0 answers

like button launch site in unsuitable language

I have an app with a Facebook likeview button, when pressed it launches my Facebook promotional page in English language, but the audience's language is Spanish. How can I set it accordingly?. There's few items that one\ can set in accord to their…
JoeCoolman
  • 512
  • 3
  • 8
  • 27
0
votes
0 answers

re request Facebook permissions with Facebook sdk 3.x in iOS

I am using facebook sdk 3.14 and requesting user forpublic profile, email, user_photos permissions. I am using email for login purpose. If user denies email during login , there is no way to ask it back. But i have seen apps like Airbnb and Zomato…
0
votes
1 answer

Post something in Facebook public group using android studio

I have integrated Facebook sdk with android studio and i can post something on my profile. I want to post something on a public Facebook group. How can i do that?
0
votes
0 answers

objective-c facebook login ,loginViewFetchedUserInfo doesn't bring email

well, I'm working in a simple login with objective-c. The problem is that i can't get email property of user variable. It brings me the id and name. -(void)loginViewFetchedUserInfo:(FBLoginView *)loginView user:(id)user { …
ariel_556
  • 368
  • 1
  • 9