Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Working with Facebook Authentication in a Development Environment

When working with facebook authentication in a client-side server side mode with OAuth2, is there any way to test it out while working with local development environments for the redirect uris?

Obviously you could specify your IP and route port 80 on that IP to your computer, but is there a more simple way to achieve this?

like image 606
Raiders Avatar asked Jul 16 '11 08:07

Raiders


1 Answers

you shouldn't have any problems developing a facebook app locally.
Just set the url's on facebook settings page to http://localhost/yourapp/ and work as usual.
All the OAuth procedures should work normally.

like image 74
lnetanel Avatar answered Nov 01 '22 04:11

lnetanel