Questions tagged [facebook-sdk-4.0]

Facebook sdk 4.0 is latest set of API for facebook developers. It has two branches: - Facebook C#/.Net SDK 4.0 - Facebook PHP SDK 4.0 Use apt tag among two.

Facebook sdk 4.0 is latest set of API for facebook developers. It has two branches:

  • Facebook C#/.Net SDK 4.0
  • Facebook PHP SDK 4.0

Use apt tag among two.

1172 questions
26
votes
6 answers

Any Example showing how to login using Facebook SDK 4.0 in Android either by using own button or Facebook Button?

Is there any tutorial or example showing how to login using own Button using Facebook SDK 4.0 in Android? I am not getting anywhere and using facebook developers site it is difficult to understand.Like below when calling FBlogin button I want to…
22
votes
4 answers

Getting user's Personal info from Facebook in iOS

I am quite new to objective-C and iPhone Development environment. I am implementing Facebook login in my app to get User's name, Email and profile Picture. I have successfully implemented login Part and have received name and User ID of the person.…
Simer Sarao
  • 540
  • 1
  • 3
  • 9
21
votes
7 answers

FacebookCallback.onCancel is getting called when trying to login using facebook sdk

I have an Android app and I am trying to use Facebook's SDK (version 4.1.0) to get a token and log in. Here is my code: public class LoginActivity extends Activity { private CallbackManager callbackManager; @Override protected void…
happyhuman
  • 1,541
  • 1
  • 16
  • 30
20
votes
1 answer

FBSDKLoginManager with FBSDKLoginBehaviorWeb failing with "Not Logged In" error

Something must have changed recently on Facebook's servers regarding how they process login requests because this used to be working perfectly and suddenly stopped. (We are using FBSDKLoginManager.loginBehavior = FBSDKLoginBehaviorWeb because of how…
devios1
  • 36,899
  • 45
  • 162
  • 260
20
votes
8 answers

Facebook SDK v4.0 for iOS - FBSDKProfile currentProfile not being set

I've just "upgraded" my Facebook SDK to 4.0 for my iOS app. I've got the log in working okay, however, according to the documentation, I'm now supposed to use FBSDKProfile.currentProfile() to access profile information. However, this value always…
fanfan
  • 504
  • 1
  • 4
  • 13
19
votes
5 answers

Facebook SDK 4.0.1 Login without login button

I'm trying to log in without using login button. I followed facebook tutorial but i can not get it work, always give me NullPointerException. My Manifest:
Ibrahim Disouki
  • 2,642
  • 4
  • 21
  • 52
18
votes
4 answers

iOS facebookSDK get user full details

Iam using the last FBSDK (using swift) // MARK: sign in with facebook func signInWithFacebook() { if (FBSDKAccessToken.currentAccessToken() != nil) { // User is already logged in, do work such as go to next view controller. …
user3703910
  • 624
  • 1
  • 5
  • 25
18
votes
4 answers

FBSDKLoginManager logInWithReadPermissions?

I'm using FBSDKLoginButton to allow to user login using Facebook and using FBSDKLoginButton.readPermissions = @[@"public_profile",@"email",@"user_likes",@"email",@"user_birthday"]; to ask for permissions , but I need one more permission which is…
Omarj
  • 1,151
  • 2
  • 16
  • 43
16
votes
5 answers

SwiftUI Facebook SDK : App ID not found. Add a string value with your app ID for the key FacebookAppID to the Info.plist

I have added the the correct Facebook sdk values into info.plist as the Quick Start guide shows & added the SDK using the package manager, but I still get this error Thread 1: App ID not found. Add a string value with your app ID for the key…
Andrew Jang
  • 161
  • 1
  • 1
  • 4
16
votes
2 answers

Facebook SDK dependency conflict

I am having this error: On getting dependency tree, I found that there is nothing wrong with animated vector drawables but facebook's latest sdk has previous version of support-v4 custom tab. I tried excluding with exclude group command but its not…
16
votes
3 answers

How to get the logged user's email address with Graph Request in Facebook Android sdk 4.0

I'm trying to get the user's email address once he's logged into my Android app with Facebook (sdk 4.0). I've read many posts asking the same thing but I still couldn't make it work. I simply log the user in with the…
splinter123
  • 1,183
  • 1
  • 14
  • 34
16
votes
3 answers

FBSDKShareDialog doesn't share Photo without Facebook App installed, IOS

I am using Facebook SDK 4.0,https://developers.facebook.com/docs/sharing/ios#share_dialog I am using FBSDKShareDialog to share Photo.It does share Photo if user has installed Facebook app, But it fails when user hasn't installed FB App. but they say…
Moaz Saeed
  • 1,006
  • 3
  • 10
  • 23
15
votes
5 answers

How to logout user using Facebook authentication using Swift and iOS?

I've tried searching around but I can't find the answer to my question. I'm playing around with this application from github: https://github.com/Yalantis/Koloda/tree/master/Example I'm using it because I'm doing a project which will use the tile…
Joe
  • 183
  • 1
  • 2
  • 6
14
votes
2 answers

How do we know which graph api version we are using from the SDK

Once in a while, we get this email from Facebook about a graph API is about to be deprecated. We are using both the iOS SDK and Android SDK in our apps.…
Yuchen
  • 30,852
  • 26
  • 164
  • 234
14
votes
6 answers

Google Sign-in conflicts with Facebook login

I'm using Google Sign-in and Facebook Login to provide Google and Facebook login in my app. The problem is, when I'm using them both - Facebook Login Screen (based on Safari View Controller) doesn't dismiss after user logged in. After hours of…
n0_quarter
  • 538
  • 1
  • 10
  • 23
1
2
3
78 79