HI Peter, I'm glad you have this working. Just to explain the @anywhere JS-API isn't documented because it's not supported by Twitter. This is because the JS-API is considered part of the internals of @anywhere, which means it could change without notice at anytime.
Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Tue, Feb 8, 2011 at 8:41 AM, Peter MacRobert <originalp...@gmail.com>wrote: > Hi Jim > > That worked for me - thanks for posting. The @anywhere api is largely > undocumented and I was also confused by this syntax! > > Ta, > > Pete > > > On Jan 20, 10:37 pm, Jim Spath <jsp...@pangeamedia.com> wrote: > > NM, I solved my own problem, the correct syntax is indeed: > > > > T.User.find( name_to_follow ).follow(); > > > > On Jan 20, 5:08 pm, Jim Spath <jsp...@pangeamedia.com> wrote: > > > > > > > > > > > > > > > > > I'm trying to use twitter anywhere to initiate a follow, but it's not > > > behaving as expected? > > > > > I'm trying to do: > > > > > T.User.current().follow( name_to_follow ); > > > > > Is this not how it works? Should I actually be doing this: > > > > > T.User.find( name_to_follow ).follow(); > > > > > Thanks! > > > Jim > > -- > Twitter developer documentation and resources: http://dev.twitter.com/doc > API updates via Twitter: http://twitter.com/twitterapi > Issues/Enhancements Tracker: > http://code.google.com/p/twitter-api/issues/list > Change your membership to this group: > http://groups.google.com/group/twitter-development-talk > -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk