Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're developing Facebook apps or using Facebook authentication, you pretty much have to have two or more Facebook accounts. The problem is that having more than one account is against Facebook's terms of service, and they don't provide a developer sandbox.


It's advised to create test accounts through the Facebook API: http://developers.facebook.com/docs/test_users/


You can create test accounts through the API. I actually have a terminal script where I just write "fox" and it opens up a new Firefox profile with a new Facebook test user in it.


Care posting or giving a bit more insight?


You can open Firefox on Mac OS X with a certain profile with a command line like:

open -n /Applications/Firefox.app --args -P some_profile -no-remote http://localhost:9011/test_user

The URL is on my dev server, it creates a Facebook test user and then redirects to it. First you get an access token from graph.facebook.com/oauth/access_token, then you use https://graph.facebook.com/APP_ID/accounts/test-users to create an account using the token you just got.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: