Follow and Update status with default message without a "Tweet Box"

27 views
Skip to first unread message

Chun Ku Bot Tanaka

unread,
Dec 22, 2010, 3:05:43 PM12/22/10
to Twitter Anywhere Development
How does one do the following for an authenticated user without
showing the "Tweet Box"?

1) User clicks "Follow @Example and Tell Everyone." button.
2) User authenticates and authorizes.
3) User is now following @Example and has automatically tweeted "I'm
following @Example!"

Eliane

unread,
Jan 3, 2011, 1:17:53 PM1/3/11
to twitter-de...@googlegroups.com
You can use: 

// to tweet
twttr.anywhere(function (T) {
T.Status.update('text message to tweet',{})
}

// to follow
twttr.anywhere(function (T) {
T.User.find('whotofollow').follow();
});

2010/12/22 Chun Ku Bot Tanaka <chun...@gmail.com>

--
Twitter @Anywhere documentation and resources: http://dev.twitter.com/anywhere/begin
@anywhere updates via Twitter: http://twitter.com/anywhere
Change your membership to this group: http://groups.google.com/group/twitter-dev-anywhere?hl=en



--
Eliane Meijomil
******************************************************************************************************************************
RESPEITO AO MEIO AMBIENTE E DESPERDÍCIO NÃO COMBINAM. VAI MESMO IMPRIMIR?

Matt Harris

unread,
Jan 3, 2011, 4:37:55 PM1/3/11
to twitter-de...@googlegroups.com
Please remember the Rules of the Road (http://dev.twitter.com/pages/api_terms). Specifically II.1 Don't surprise users.
Tweeting on behalf of a user should only happen with their knowledge and permission.

@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris
Reply all
Reply to author
Forward
0 new messages