[twitter-dev] Re: tweeting with oauth

2009-09-23 Thread ajibanda

I've been using Abraham's library and combined it with your library to
do some logging in and posting using PHP. I'm trying to create
actually a module for joomla that would do some logging and posting at
the same time after clicking a link.

It seems working except for the part that it returns an extra result
XML that is displayed at the end of my display. I actually don't know
how to get rid of that since I don't know how and where it came from.

I tried to comment out a certain line in my code and i think this one
is causing it (though its just my hyphothesis)

$content = $to->OAuthRequest('http://twitter.com/statuses/update.xml',
array('status' => $linkpath.' - '.$messageThem), 'POST');

Tell me how I can get rid of these? THANKS!!!


On Sep 3, 12:31 pm, jmathai  wrote:
> Could use Abraham or my library.
>
> https://github.com/abraham/twitteroauth/treehttps://github.com/jmathai/twitter-async/tree
>
> I have some blog posts that might help as well.
>
> http://www.jaisenmathai.com/blog/2009/03/31/how-to-quickly-integrate-...http://www.jaisenmathai.com/blog/2009/04/30/letting-your-users-sign-i...
>
> On Sep 2, 1:58 pm, root  wrote:
>
> > Hi,
>
> > Are there any examples of how to post tweet using an oauth token rather 
> > than  username:password? I'm trying to do this in php.
>
> > Thanks


[twitter-dev] Re: tweeting with oauth

2009-09-02 Thread jmathai

Could use Abraham or my library.

https://github.com/abraham/twitteroauth/tree
https://github.com/jmathai/twitter-async/tree

I have some blog posts that might help as well.

http://www.jaisenmathai.com/blog/2009/03/31/how-to-quickly-integrate-with-twitters-oauth-api-using-php/
http://www.jaisenmathai.com/blog/2009/04/30/letting-your-users-sign-in-with-twitter-with-oauth/


On Sep 2, 1:58 pm, root  wrote:
> Hi,
>
> Are there any examples of how to post tweet using an oauth token rather than  
> username:password? I'm trying to do this in php.
>
> Thanks