Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Twitter Client Library

NotificationsYou must be signed in to change notification settings

miya2000/Twitter-Client-Lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

// oauth.js sha1.js //http://oauth.googlecode.com/svn/code/javascript/var clientInfo = {    name: 'Client Name'}var accessor = {    consumerKey: 'registered consumerKey',    consumerSecret: 'registered consumerSecret'};var client = new Twitter.Client(clientInfo, accessor);client.addEventListener('unauthorized', function(e) {    client.requestToken(function() {        location.href = client.getAuthorizeURL();    });});client.addEventListener('error', function(e) {    //});function verifyClient() {    var pin = document.getElementById('PIN').value;    client.verifyClient(pin, function() {        //    });    return false;}function send() {    var status = document.getElementById('STATUS').value;    var agent = client.createAgent('statuses/update');    agent.params = {        status: status    };    var req = agent.send();    req.onload = function() {        if (client.handleResponseCode(req, agent)) {            //        }    };}function verifyCredential() {    client.verifyCredentials(function(xhr) {        //    });}function timeline() {    var agent = client.createAgent('statuses/friends_timeline');    var req = agent.send();    req.onload = function() {        if (client.handleResponseCode(req, agent)) {            //        }    };}

About

Twitter Client Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp