Skip to content

Instantly share code, notes, and snippets.

@mmohiudd
Created June 26, 2012 21:52
Show Gist options
  • Save mmohiudd/2999458 to your computer and use it in GitHub Desktop.
Save mmohiudd/2999458 to your computer and use it in GitHub Desktop.
Use batch request to grab and save Facebook test user information
args.batch.push({
method : "GET",
name : "get-users",
relative_url : "/"+app.id+"/accounts/test-users",
omit_response_on_success : false
});
args.batch.push({
method : "GET",
relative_url : "?ids={result=get-users:$.data.*.id}"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment