All Questions
24
questions
0
votes
0
answers
121
views
What is the FacebookSession equivalent in FB PHP SDK 5?
I used to use this for retreiving a session back when I used FB PHP SDK 4, but I'm unclear what I need to do for 5.
FacebookSession::setDefaultApplication( FACEBOOK_APP_ID, FACEBOOK_SECRET );
return ...
0
votes
0
answers
681
views
Native PHP session variables are automatically destroy after Facebook PHP login
I am using facebook php sdk 4 for my application. I have added few data on $_SESSION. But those session variables are getting erased after login using FacebookRedirectLoginHelper::getLoginUrl. Here is ...
2
votes
1
answer
1k
views
Using FBSession.FBSessionState values within swift
I'm using FacebookSDK.framework to build an iOS app (in Swift). In order to check for a cached session when entering the app, Facebook Developers Documentation suggests to check the following:
if (...
1
vote
1
answer
1k
views
Use Facebook PHP SDK with Facebook JavaScript SDK 2014
I am using the latest versions of both JavaScript(2.0) and PHP(4.0) Facebook SDKs, together.
My app id and secrect are set up for both. I am also developing locally, if that might be the issue.
MY ...
0
votes
2
answers
701
views
Facebook SDK 4.0 - FacebookSession - Session will not validate
I’m building a FB tab page.
On the main page, I can successfully set up a FacebookSession using the signed_request.
I start a session and store $facebookSession->getToken() in $_SESSION['token'].
$...
0
votes
1
answer
2k
views
Facebook Session null on OnActivityResult
Using the facebook sdk 3.14 for android when i change my password and then try to login into the app, the facebook native app opens and ask me to enter the new password. The problem is that if i put ...
0
votes
1
answer
73
views
Why onCompleted isn't calling in Facebook sdk 3.8 Android
I have a question: I've copied-paste the code from Facebook sdk
and I tried to do the conncation with Facebook. It just doesn't work...
I'm really frustrated and I don't know what else to do.
Please ...
4
votes
2
answers
10k
views
android facebook sdk - set permissions for openActiveSession
I am trying to integrate Facebook SDK to an android app. I got the code from Facebook manual. It uses Session.openActiveSession and then request a graph user. How could I request for more permissions ...
1
vote
0
answers
83
views
Facebook Login PHP: Something weird with my logout
(Sorry if I have redaction and spelling troubles)
Hi guys, I'm new on Facebook SDK and I have a huge problem (I need to solve it before today).
I'm trying to implement a facebook login in this site:
...
4
votes
0
answers
440
views
ios Facebook Log Out completely log out safari keeps data
In the iOS Facebook SDK, when I use
[FBSession.activeSession closeAndClearTokenInformation];
this only closes the token. Then when I open Safari, I can still reach the Facebook account in Safari.
...
1
vote
1
answer
118
views
How to execute a function only at start? Facebook PHP-SDK
i have created a facebook app, it's a site based on PHP and some mySQL functions.
There is a mysql function that consumes a lot of time, and i want that this function is only executed at the ...
0
votes
1
answer
3k
views
Facebook Android SDK 3.0 Login Button does not save my session
I'm trying Facebook Android SDK 3.0 tutorial but I'm facing a problem. When I clicked the login button and logged in using my facebook account, im expecting to see my button's text to change to logout ...
4
votes
1
answer
9k
views
Make a login with facebook using Facebook SDK 3.0
Now,i need to click on a button, and that button to activate the login with facebook alert.
Now, until now, i have used the old code, that works,but is deprecated, so i need to use the new one, which ...
2
votes
0
answers
497
views
Facebook iOS SDK 3.2 Reopen Session Always Fails
Basically I went through this page and implement my Facebook login.
https://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/
Next I tried to reopen the session when user opens ...
0
votes
2
answers
1k
views
Android Facebook sdk Session.OpenRequest(myFragment) is undefined?
For some reason I cannot see the line of code:
session = new Session.OpenRequest(this).setCallBack(statusCallBack)
It gives me an error that Session.OpenRequest(myFragment) is undefined. Does anyone ...