azero0
azero0

Reputation: 2310

create fb user using fb api

I am building a facebook app and for that I need to create a fake fb user for each user that signs up into my app.

Is there an api available for creating facebook users?

Any help is appreciated.

Upvotes: 0

Views: 94

Answers (1)

Oklahomer
Oklahomer

Reputation: 906

For testing purpose you can create test user with API. The document is provided here. By specifying installed=true parameter, your app is authorized by default. It's just easy as below:

curl -X POST \
     -d "installed=true" \
        https://graph.facebook.com/{app-id}/accounts/test-users

Upvotes: 1

Related Questions