Script to generate test users with random data for Facebook application

I want to test my Facebook application with the maximum 500 test users available. I've had a go at using the interface which facebook provide and another good one called "FacebookTestUserManager", but these create blank user profiles and I want to populate certain parts of the profiles with random information e.g. profile picture, education etc.

I don't think getting this data should be too difficult (I'm thinking a list of options and getting a random number generator to select a choice), but I'm confused as to how I input this information into the accounts and how I run my script.

This http://developers.facebook.com/docs/test_users/ is basically the only resource I can find on the matter, but it is very brief. My questions are:

1) Before I start, are there are any public scripts which already do this?

2) How do I run my script which does this account generation process? I presume it's not written inside my application since I only want it run once!

Answers


How do I run my script which does this account generation process?

Like you run any other script …

I presume it's not written inside my application since I only want it run once!

It does not have to be “inside” of anything, it just has to use your app access token while doing it’s Graph API calls.


I think all of what the document you referred to says should be easily understandable to a developer with a solid basic knowledge about how apps and their interactions with the Grapf API work. Should you not have such knowledge yet … then I don’t see any use in testing an app with 500 test users already.


Need Your Help

.get () requires a callback function error in expressjs even though the syntax is correct

javascript express routes

I'm very new to expressjs and still learning. When I start the server it gives me the error - .get() requires callback function but got a [object undefined]. This error comes due to the following l...

Java CPU-intensive application stalls/hangs when increasing no. of workers. Where is the bottleneck, and how to deduce/ monitor it on a Ubuntu server?

java linux performance multithreading monitoring

I'm running a nightly CPU-intensive Java-application on an Ec2-server (c1.xlarge) which has eight cores, 7.5 GB RAM (running Linux / Ubuntu 9.10 (Karmic Koala) 64 bit).