Download the PHP package unificationengine/ue-php-sdk without Composer
On this page you can find all versions of the php package unificationengine/ue-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ue-php-sdk
ue-php-sdk
A UnificationEngine client SDK for PHP
Installation Using Composer/Packagist
Usage
Creating User
Listing Users
note: listed users does not have the user_secret listed for security reasons. So, you cant use a user from the list unless you have saved it's key somewhere
Deleting User
Adding a connection to a user
connection_name
must be unique per connection.service
must be the scheme of the connector from the developer portalservice_access_token
has to be valid and working from the provider side$optional_params
should be an array with "key", "value" pair
Listing User connections
Removing a User Connection
Testing a connection
Sending a message using a connection
$app = new UEApp("APP_KEY","APP_SECRET");
//Create a new user
$user = $app->create_user();
//Or use an existing user
$user = new UEUser("USER_KEY","USER_SECRET");
//Add a connection. (throws an error if the connection is not added)
$connection = $user->add_connection("FB","facebook","FACEBOOK_ACCESS_TOKEN");
// | |
// Connection Name ------------------+ |
// Connector Scheme -------------------------+
//Message Options
$options = array(
"receivers" => array(
array(
"name"=>"Page",
"id"=>"283031198486599"
),
array(
"name"=> "Me"
)
),
"message"=>array(
"subject"=>"test",
"body"=> "ABC",
"image"=>"http://politibits.blogs.tuscaloosanews.com/files/2010/07/sanford_big_dummy_navy_shirt.jpg",
"link"=>array(
"uri"=> "http://google.com",
"description"=> "link desc",
"title"=>"link title"
)
)
);
//Send the message and get their uris
$uris = $connection->send_message($options);
print_r($uris);
All versions of ue-php-sdk with dependencies
PHP Build Version
Package Version
Requires
rmccue/requests Version
>=1.0
The package unificationengine/ue-php-sdk contains the following files
Loading the files please wait ....