auth.requestToken

Introduction

If you want to allow user accounts, you will need a request token to be able to allow a user to log in. See authorization protocol for more details.

Parameters

Name Type Description
callback string The URL to take the user back to once they have authorized your application
permissions string A comma-delimited list of permissions required

Using the PHP Library

<?php
$permissions
=array('manage_favorites','manage_feed');
$response=$newhaze->api->auth_requestToken($callback,$permissions);
?>


© 2012 NewHaze   Icons by Pixel Mixer   Help