This course is archived!
The concepts of OAuth2 we're teaching in this tutorial are still valid, but the course project code is ancient.
06.
OAuth with Facebook
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
9 Comments
Invalid Scopes: publish_actions. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook...
Hey Max A.
Ohh, seems like facebook changed the name (or removed) of that scope
Hello! Is there some library for telegram oAuth2 for symfony?
Hey Roman R.!
Hmm, not that I can see - I googled for
telegram oauth2 leagueto see if there's any package for this. You'll need to use the "generic" provider in the KnpUOAuth2ClientBundle and setup the information manually there. It's not too much work :).Cheers!
Hello,
$userId = $facebook->getUser(); always results in int(0)
Thank you for you help,
Chris
Hey Chris
I think you may have a problem with your facebook credentials or scope, double check that those are valid.
Cheers!
Hi, I followed the tutorial so far and it's great but I need some advice here.
When I try to add my domain (http://192.168.10.10:9001/) to facebook, it won't let me save it and this is the error I get:
App domains must match the domain of the Secure Canvas URL, Mobile Site
URL, Unity Binary URL, Site URL or Secure Page Tab URL. Please correct
these domains
https://i.imgur.com/JVF3G5f...
I get perfectly that I should present the server with the https protocol
Edit: and of course I shouldn't be using a local network ip
But I was wondering if I'm doing something else wrong just in case.
Nevermind, I should have been using localhost and not the IP.
Exactly, and you can even create a test application inside your production application. BTW, pollos.
Cheers!
"Houston: no signs of life"
Start the conversation!