[Answered ]-Django development server with facebook connect

2đź‘Ť

The correct course is to not change your local /etc/host, but to use “http://localhost/” as your Facebook Connect Redirect URL. It is literally what Facebook returns to you, and if you’re doing development locally, it’s what you want.

Ideally, you want two FB application registrations: One for PRODUCTION, and one for DEVELOPMENT. That way both continue to work correctly without interfering with each other. (And maybe a third for BETA (or Staging, or Testing, or whatever you want to call it.))

👤Elf Sternberg

Leave a comment