facebook app: permissions request gives blank page - facebook-javascript-sdk

This is my first post on StackOverflow.
I've been trying to start a facebook app but I had some trouble granting permissions. When I use the example provided on the facebook documentation, it works as expected with the developper's account but not with another account. Using another account, I can enter my credentials but then, instead of a page requesting for permissions, I see a blank page.
Any idea what can be the problem ? I have tried to add a Site-URL in my app's settings but I couldn't make it work so far..
Thanks !

I am trying to figure this one out as well, your question helped since you mentioned that is did work for the developer's account. I tried and added a tester accounts on https://developers.facebook.com/apps/{your app-id}/dashboard/and they work too..
EDIT:
I found the answer thanks to you. See: The developers of this app have not set up this app properly for Facebook Login?

Related

Linkedin login doesnt work SLogin

I have a issue with slogin for Joomla, a plugin to login with ur social media. I already managed to get all the other social media to work but now im stuck with linkedin, I dont get it to work.
it give me the error failed to authentication try it later again.
Im sure the api key and OAuth User Token and both the secrets are filled in like supposed.
Here is a picture of some of te setting most are not filled in because they are not required but maybe i need to fill in one of these to get it work. i tried already some things but they didn't work
If you need more settings or any other information tell me.
Thanks

Facebook Unity SDK login permission request pop up for authorized user

I've followed through the InteractiveConsole and FriendsSmash example in Unity and learnt how to request permissions during login and get the friend list of the user.
But there's one little problem bothering me a lot.
When FB.Login("email,user_birthday", LoginCallback) is called for an authorized user. The user will be redirected to the Facebook page saying "You have already authorized App-Name".
I'm thinking to only call FB.Login("",LoginCallback) to every user, and then use the FB.API to check if the correct permissions exist, and after that call the original FB.Login method. However, this doesn't seem a very wise way to do this to me.
I did a bit of research but still can't seem to find a nice way to solve this. Can anyone please help me out on this?
Thanks.
If you have status=true in your FB.Init(), it should come back with login info if the user is logged in. You can then use FB.API() and do your permissions check.
I had PlayerPrefs.DeleteAll being called for testing purposes. I found that it was removing the Facebook data so it wasn't authorising on initialisation.
Make sure you don't call PlayerPrefs.DeleteAll()

Facebook login with devise for rails doesn't return a real email

I've followed the tutorial on the wiki at devise to enable facebook login using omniauth-facebook gem. It works and signs the user in and even creates an account however theres one issue here. The email address returned on facebook login looks kinda like:
email="app+5qhaf12fo9.2qucvl4nju.1fcb0eaa3df4187d46d0394cf11d664e#proxymail.facebook.com"
I dont think this is how it should be working though - why isnt it returning the right email address here? Please do help.
I'm having the same issue today, but my app was working fine until then. So, I'm not sure if it was a change by Facebook API or something else.
It looks like that Facebook provides a choice to users hide their e-mail from third parties (http://www.ampercent.com/avoid-sharing-email-address-facebook-games-apps/9685/), but that's strange because I didn't use that option and I'm still having this behavior.
Edit: Testing with another facebook account, it seems to be working as expected, returning the facebook user's email.

status page empty

I'm trying to display my Facebook status on my personal website. I tried this great tutorial http://johndoesdesign.com/blog/2011/php/adding-a-facebook-news-status-feed-to-a-website
The code work great for a couple of Facebook page that I own. But for a specific FB Page I get to step 4 and then get nothing.
{
“data”: [
]
}
Not sure what I’m doing wrong? Any thoughts
The Facebook Page is http://facebook.com/KINGDOM.Gentlemans.Club
(remove space after http://)
The Facebook Page_ID is
114357805248420
Example
https://graph.facebook.com/114357805248420/feed?access_token=???????
Does someone know why I get a blank data page?
Thank you
Marc
I can't find your page on Facebook (over 21 from the USA), so your problem is one of two things:
Your ID and page username are wrong. I should be able to see your page at facebook.com/USERNAME or facebook.com/PAGE_OR_USER_ID. I can't see it at either of these from the information in your original post.
You've got country and/or age restrictions on your page. If that's the case, your generic App access token isn't going to work. To show the feed of a restricted page on a website, Facebook requires you use the access token of a user who has permission to see your page. This prevents your restricted content from being shown to people who shouldn't be looking at it. If you don't have any restrictions on your site, then you don't need an access token to view the results.
BTW, don't EVER post real access tokens on SO. Anyone can harvest and use them. You should reset your KingomFeed app access token NOW.

visiting users Facebook ID w/out authorization?

I have a native (FBML) Facebook Application. I do not want to push the application visitors through the authorization process, however I do want to know their Facebook ID.
Is it possible to find the visiting users Facebook ID without requiring them to "Authorize" my Application?
Before, I said it couldn't be done - but it can.
http://developers.facebook.com/docs/authentication/canvas
Read that, it's excellent. You need to decode the Base64 string and check the signature is correct, but other than that it gets you the user id among other stuff (like a temporary access token for graph.facebook.com)
REMEMBER : You need to change the settings in the Migrations tab for the information to come through! It's a vital step, but can be overlooked...
Hope this helps :)
Stuart