facebook module |
| |||
I've created the app, got the ID & secret, but when my users click on the FB login button I still keep getting Warning: file_get_contents(https://graph.facebook.com/me?) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /home/danyael/public_html/hometown-directories.com/modules/fblogin/fblogin.php on line 63
|
| |||
FB.login prompts the user to authorize your application. Example FB.login(function(response) { This example shows the correct way to ask for permissions when the Javascript SDK has been initialized with OAuth 2.0 enabled. Without OAuth 2.0, scope should instead be replaced with perms, and response.authResponse replaced with response.session. Remember that all apps must migrate to OAuth 2.0 by October 1, 2011. Best Practices FB.login opens a popup window, and therefore you should only call FB.login when bound to a user driven click. Most browsers block popups, unless they were initiated from a user event, such as a click on a button or a link. Depending on your app's needs, you may need additional permissions from the user. You can request additional permissions at any time by using FB.login and specifying the additional permissions required. Our data indicate that a large number of permissions decreases the conversion rate -- therefore, we advise requesting as few as possible. Parameters Name. Type Description
|
| |||
This example I got from the facebook.com/developers FB Login
|
| |||
anyone else had this happen? FB help section is no help in this case
|