views:

13

answers:

0

Hi,

I want to let the users to my website post some messages to their Twitter Account. For this, I am using TwitterHelper, a JS Twitter API Wrapper. But I am unable to post any status messages. Can anyone give me some pointers on this?

Code snippet :

<html>
<head>
<script type="text/javascript" src="TwitterHelper.js"></script>

// function to post status message to twitter account
function postOnTwitter(shortURL){
    var twitterClient;

    twitterClient = new TwitterHelper('letsTripp', 'Nokia123', null, 'twitter');
    twitterClient.statuses.update(null, null, null, 'json', 'Testing Trippin', null, null);
}
</head>

related questions