facebookarchive / fbconsole

A micro api client for writing scripts against the Facebook Graph API.
Other
325 stars 74 forks source link

Given URL is not allowed by the Application configuration #23

Closed mrmina closed 11 years ago

mrmina commented 11 years ago

Whenever, I try to use the code example:

import fbconsole

fbconsole.AUTH_SCOPE = ['publish_stream', 'publish_checkins'] fbconsole.authenticate()

It gives the following error: Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

Did the fbconsole url get changed?

pcardune commented 11 years ago

This was a recent subtle change to the validation for auth urls. Using local ip addresses in redirect urls is frowned upon, so I've changed it to use a domain name.