[twitter-dev] Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Adamantus
I'm using the Twitter OAuth API to try and submit tweets from my
site's code. I have the example up and running on localhost and
everything works great and I can submit tweets but it goes through a
login stage first.

Is there a way to bypass this? Basically I just want to tweet to my
account using my Twitter account (no user login). The problem seems to
be the authentication where it develops a token from the manual login
and then uses that to authenticate and then use the API.

https://github.com/abraham/twitteroauth/blob/master/DOCUMENTATION

How could you do this manually?

-- 
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


Re: [twitter-dev] Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Scott Wilcox
Use the 'My Access Token' provided in your App page at http://dev.twitter.com 
which will negate the need to go through the OAuth dance.

Scott.

On 17 Feb 2011, at 17:25, Adamantus wrote:

 I'm using the Twitter OAuth API to try and submit tweets from my
 site's code. I have the example up and running on localhost and
 everything works great and I can submit tweets but it goes through a
 login stage first.
 
 Is there a way to bypass this? Basically I just want to tweet to my
 account using my Twitter account (no user login). The problem seems to
 be the authentication where it develops a token from the manual login
 and then uses that to authenticate and then use the API.
 
 https://github.com/abraham/twitteroauth/blob/master/DOCUMENTATION
 
 How could you do this manually?
 
 -- 
 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