users.setInfo

Introduction

Set information about the current user.

Parameters

Name Type Description
picture string The URL to a new profile image
dateofbirth date The user's date of birth in the format dd/mm/yyyy
Please remember the user needs to be an authorized user of your site in order to update the user's profile. Please read the authorization protocol. This requires the set_user_info permission to be set.

Using the PHP Library

<?php
$info
=array('picture'=>'http://example.com/picture.gif');
$response=$newhaze->users_setInfo($info);
?>


© 2012 NewHaze   Icons by Pixel Mixer   Help