Facebook app domain #125

Closed
h1srf opened this Issue Jul 11, 2012 · 6 comments

Projects

None yet

3 participants

@h1srf
h1srf commented Jul 11, 2012

Maybe similar to issue #117

While trying out Singly, Facebook would complain about the redirect_uri :

{
   "error": {
      "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
      "type": "OAuthException",
      "code": 191
   }
}

using a url of: https://api.singly.com/oauth/authorize?client_id=MyClientId&redirect_uri=http://localhost:8080/callback&service=facebook

This continued until I changed my App Domain on my Facebook app page to point to singly.com. If this is indeed required, some info on how to set up Facebook(I think Twitter works the same - and may even be more restrictive) to play nice with Singly should be put into the documentation.

jparkrr commented Jul 11, 2012

Does https://singly.com/api-keys/facebook and https://singly.com/api-keys/twitter cover what you are looking for? These docs are linked from the app management page where you enter your keys, but it's likely that they should be expanded and/or more widely linked.

h1srf commented Jul 11, 2012

Ahh. There it is. I think it might be helpful if they were linked to somewhere in the documentation instead of just on the app management page. Even in that page, it doesn't seem like it is prominent enough and there is no notification to the effect of "When you're setting the callback url in all these services, you need to point it to this Singly url" since I'm guessing almost all these services have similar setups. Already having API keys for the services, I didn't even notice that link.

@h1srf h1srf closed this Jul 11, 2012

Thanks for the feedback, @h1srf. Out of curiosity, can you remember three places you looked in the documentation when you were trying to figure this out? Those are the three places I want to add pointers :)

h1srf commented Jul 11, 2012
  1. The authorization page https://singly.com/authorization
  2. I think that the app management page should have something at the top or something more noticeable notifying users that there needs to be a special setting for the callback url.
  3. I also think in the documentation list on the left side of the api page should have a section on configuring the various services to work with Singly
  4. I also looked at the facebook service page for info but nothing was there either https://singly.com/facebook

Awesome, thank you - we'll get some links up in those places and find some way to feature the docs on our Facebook page.

@kristjan kristjan reopened this Jul 11, 2012
@kristjan kristjan was assigned Aug 29, 2012
@kristjan kristjan closed this Aug 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment