Thanks Slate. I will have to take a look at it. On 20 oct, 19:15, Slate Smith <sl...@slatesmith.com> wrote: > I use @abraham's TwitterOAuth lib with a wrapper class. It's pretty > simple actually. Here is my method: > > public function Tweet($tweet) { > > $parameters = array("status" => $tweet); > $status = $this->connection->post("statuses/update", > $parameters); > $this->Stats("statuses/update", $status, $this->connection- > >http_code, $parameters); > > } > > Where $tweet is a string that you want to ... tweet. > > For now, ignore the third line in the function. > > On Oct 20, 2010, at 1:03 PM, José Luis wrote: > > > Hi, > > > I'm sorry to ask what may seem to be a rather obvious question, but I > > simply haven't been able to find the answer on my own: > > > What is the proper way to tweet from twitter api? I've been looking > > at the documentation and guess that it is from REST API but have found > > no method for it (only for retweeting), the most similar way being the > > Tweet button. I'm just looking for something so that an external web > > page (Facebook application) can tweet when loaded, which is when an > > external event happens. So what is the way for it? > > > -- > > 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