PHPackages                             bwaine/facebook-test-user-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. bwaine/facebook-test-user-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

bwaine/facebook-test-user-client
================================

Guzzle client for interacting with the facebook test users api

09PHP

Since Apr 12Pushed 13y agoCompare

[ Source](https://github.com/benwaine/facebook-test-user-client)[ Packagist](https://packagist.org/packages/bwaine/facebook-test-user-client)[ RSS](/packages/bwaine-facebook-test-user-client/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#Facebook Test User Client

This tool provides a wrapper for the Facebook Test User API. With it you can read, create, update and delete the test users of your application. You can also create friendships between your test users.

While some knowledge of the underlying API is required to use it (notably which optional parameters to pass to the CreateUser method and the work flow required to create friendships) it is envisioned that this client would be used in your own testing frameworks to create higher level interactions.

\##Installation

The client is installed via composer.

Add the following to your composer.json file.

```
{
    "require": {
        "bwaine/FacebookTestUserClient": "dev-master"
    }
}
```

Run *php composer.phar install* or *php composer.phar update*.

\##Usage

Actions are performed against the Facebook Test user API by creating an instance of the client and using it to create 'commands'. Commands are then executed and the responses automatically parsed into something which resembles a php array.

```
