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

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.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: