The Largest Advertising Network on Twitter
Effective, Fast, Easy and Higher ROI
Login  

RevTwt API Instruction

1, Apply for an RevTwt API license. Click here to apply. You will receive a USER ID and an API KEY.
You need to use them to authenticate.
2, "getShortURL": Visit this page to see the detailed instructions on how to use the "getShortURL"
API and the associated parameters.

3, If your computer supports the "cURL" tool, you can use the example we provide on that page
to access the API.Please remember to substitute the data[user] and data[key] parameters with
your USER ID and API KEY.
4, If you are not familiar with cURL, we provide a php library for you to download here. Unzip the
folder and upload the folder to your php server's directory, e.g., in the "DocumentRoot"
directory in an Apache server.
5, Edit the "api_kit_php_example.php" file to enter the long URL to be shortened and assign your
USER ID and API KEY to the "$revtwt_user" and "$revtwt_key" variables in this line:
$res = $apiClient->getShortUrl("http://www.example.com", $revtwt_user, $revtwt_key);
6, Then visit this page, e.g., http://yourdormain.com/api_kit_php_example.php. The API will return
the shortURL to you.See here for a response example.
7, The "getAdLink" and "confirmLink"API work the same way as the "getShortURL". Please read each
API's document page to see its parameters.


© 2009 RevTwt.com      RevTwt is not affiliated with Twitter.                                                                                      About / FAQ / Terms / Privacy / API / Contact
Twitter Advertising and Twitter Marketing Platform( 0.00204396247864 )