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

2011-02-17 Thread Adamantus
Thanks Scott. I found the token from that page but I get Could not
authenticate you when I try and use it. Do you happen to know where I
might get some code or tutorial which would explain how to use the
tokens from the site?

-- 
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] Re: Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Abraham Williams
Here is pretty much the simplest  code to post a new status:
https://gist.github.com/564882

Abraham
-
Abraham Williams | Hacker Advocate | abrah.am
@abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.



On Thu, Feb 17, 2011 at 10:53, Adamantus dan.cottre...@gmail.com wrote:

 Hi Abraham.

 I tried to hack your example to use the static tokens but to be honest
 I'm out of my depth. Is there any chance of an example on how to use
 the API without logins?

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


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

2011-02-17 Thread Adamantus
Genius, thanks Abraham that worked great, and so simple.

-- 
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-dev] Re: Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Patrick Kennedy
I'd also like to add that if you want to start *reading* tweets, which
is probably inevitable, you should configure your local test server as
local.dev vice localhost (mapping 127.0.0.1 to local.dev in addition
to localhost).

On Feb 17, 2:17 pm, Adamantus dan.cottre...@gmail.com wrote:
 Genius, thanks Abraham that worked great, and so simple.

-- 
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] Re: Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread ritesh ranjan
Hi Abraham,

Thanks for your explanation in such a very easy way.
I am using the same url https://gist.github.com/564882  and after download
the file, I am just getting only the code of Twitter.php, but it also
requires  the require_once('twitteroauth.php'), so My question is from where
I can find out the 'twitteroauth.php' file, because When I am downloading
this link only twitter.php file is there in a folder. Please check , and
very thanks in advance.

Ritesh

On Fri, Feb 18, 2011 at 12:29 AM, Abraham Williams 4bra...@gmail.comwrote:

 Here is pretty much the simplest  code to post a new status:
 https://gist.github.com/564882


 Abraham
 -
 Abraham Williams | Hacker Advocate | abrah.am
 @abraham https://twitter.com/abraham | github.com/abraham |
 blog.abrah.am
 This email is: [ ] shareable [x] ask first [ ] private.



 On Thu, Feb 17, 2011 at 10:53, Adamantus dan.cottre...@gmail.com wrote:

 Hi Abraham.

 I tried to hack your example to use the static tokens but to be honest
 I'm out of my depth. Is there any chance of an example on how to use
 the API without logins?

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


-- 
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] Re: Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Abraham Williams
Look at the comments at the top of twitter.php.

Abraham
-
Abraham Williams | Hacker Advocate | abrah.am
@abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.



On Thu, Feb 17, 2011 at 12:26, ritesh ranjan riteshranjan...@gmail.comwrote:

 Hi Abraham,

 Thanks for your explanation in such a very easy way.
 I am using the same url https://gist.github.com/564882  and after download
 the file, I am just getting only the code of Twitter.php, but it also
 requires  the require_once('twitteroauth.php'), so My question is from where
 I can find out the 'twitteroauth.php' file, because When I am downloading
 this link only twitter.php file is there in a folder. Please check , and
 very thanks in advance.

 Ritesh

 On Fri, Feb 18, 2011 at 12:29 AM, Abraham Williams 4bra...@gmail.comwrote:

 Here is pretty much the simplest  code to post a new status:
 https://gist.github.com/564882


 Abraham
 -
 Abraham Williams | Hacker Advocate | abrah.am
 @abraham https://twitter.com/abraham | github.com/abraham |
 blog.abrah.am
 This email is: [ ] shareable [x] ask first [ ] private.



 On Thu, Feb 17, 2011 at 10:53, Adamantus dan.cottre...@gmail.com wrote:

 Hi Abraham.

 I tried to hack your example to use the static tokens but to be honest
 I'm out of my depth. Is there any chance of an example on how to use
 the API without logins?

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


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


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

2011-02-17 Thread Dan
This example finally made sense of the whole thing and now I am up and 
running. 

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