users.register

Introduction

Create a new 'shell' user account, which can only be used by your website. Returns the user's ID, their token and secret, and initialises a 50-year long session.

Parameters

Name Type Description
first_name string The user's first name
last_name string The user's last name
picture string Optional. The user's profile picture URL
dateofbirth string Optional. The user's date of birth in dd/mm/yyyy format

Using the PHP Library

<?php
$options
=array('first_name'=>'Edmund', 'last_name'=>'Gentle', 'date_of_birth'=>'02/12/1992');
$response=$newhaze->api->users_register($options);
?>


© 2012 NewHaze   Icons by Pixel Mixer   Help