Hi,

I'm playing with the sample Python Facebook app. I followed the instructions 
to get a local version working at http://localhost:5000 and it went fine. 
But it only worked once. After that, whenever I do "foreman start" and 
reload http://localhost:5000, I get:

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not allowed by the 
Application configuration.

 To kill the previous run of the Flask server I just did cntl-C. But even 
logging out of my machine entirely (I'm on OS X) and logging back in made no 
difference. After the first successful run, I can't get it to work again. I 
did not change anything in the source or configuration between the time that 
worked and all subsequent times.

In case it's any help, the end of the console after a failed attempt to load 
localhost:5000 (or 0.0.0.0:5000) reads:

https://www.facebook.com/dialog/oauth?client_id=245332028847030&redirect_uri=https://127.0.0.1:5000/&scope=user_likes,user_photos,user_photo_video_tags
22:16:11 web.1     | 127.0.0.1 - - [23/Sep/2011 22:16:11] "GET / HTTP/1.1" 
302 -

I'm wondering if anyone has any ideas.

Thanks,
Gary

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/heroku/-/L1KNC2rl9gsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to