[twitter-dev] Re: oAuth - xAuth

2010-04-17 Thread aztroboy
So, in a nutshell, this would be useful for Apps such as Seemic/
Tweetdeck/Ubertwitter/Tweetie: you download the app and after the user
sets the User&Password and hit login, the App asks Twitter for the
Access Tokens. From that moment, you may use oAuth methods to update
the user's twitter status.

On Apr 17, 4:37 pm, Abraham Williams <4bra...@gmail.com> wrote:
> Keep in mind that xAuth usage is restricted and not available for web
> applications.
>
> Access tokens work the same whether they are acquired using using using the
> standard OAuth flow of getting a request token, sending the user to
> Twitter.com, and exchanging the request token for an access token or the
> xAuth flow of directly exchanging password for access token.
>
> XAuth works by passing a users screen_name and password directly to the
> access_token endpoint without an accompanying request token.
>
> Abraham
>
>
>
> On Sat, Apr 17, 2010 at 13:07, aztroboy  wrote:
> > Thank you Abraham. I would also like to know if I'm right here:
> > imagine a "signin with twitter" + register website for a twitterfeed-
> > like App. Basically xAuth needs the user credentials to ask
> >http://api.twitter.com/oauth/access_tokenand retrieve the Access
> > Tokens. So, would this replace the "request tokens" that would
> > redirect the user to twitter and then back to the app (oAuth)?. Will I
> > still be able to use the previous oAuth methods (I'm using a java
> > library) with the tokens that I receive with the xAuth registration?
>
> > Thanks!
>
> > On Apr 17, 1:18 pm, Abraham Williams <4bra...@gmail.com> wrote:
> > > XAuth adds a method for exchanging credentials to the existing OAuth
> > > methods. Without Oauth xAuth would not work so no.
>
> > > Abraham
>
> > > On Sat, Apr 17, 2010 at 10:28, aztroboy  wrote:
> > > > I would like to know if oAuth is still going to be accepted and used
> > > > or if it's goinf to be replaced by xAuth?
>
> > > > --
> > > > Subscription settings:
> > > >http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>
> > > --
> > > Abraham Williams | Developer for hire |http://abrah.am
> > > PoseurTech Labs | Projects |http://labs.poseurtech.com
> > > This email is: [ ] shareable [x] ask first [ ] private.
>
> --
> Abraham Williams | Developer for hire |http://abrah.am
> PoseurTech Labs | Projects |http://labs.poseurtech.com
> This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: oAuth - xAuth

2010-04-17 Thread aztroboy
Thank you Abraham. I would also like to know if I'm right here:
imagine a "signin with twitter" + register website for a twitterfeed-
like App. Basically xAuth needs the user credentials to ask
http://api.twitter.com/oauth/access_token and retrieve the Access
Tokens. So, would this replace the "request tokens" that would
redirect the user to twitter and then back to the app (oAuth)?. Will I
still be able to use the previous oAuth methods (I'm using a java
library) with the tokens that I receive with the xAuth registration?

Thanks!


On Apr 17, 1:18 pm, Abraham Williams <4bra...@gmail.com> wrote:
> XAuth adds a method for exchanging credentials to the existing OAuth
> methods. Without Oauth xAuth would not work so no.
>
> Abraham
>
> On Sat, Apr 17, 2010 at 10:28, aztroboy  wrote:
> > I would like to know if oAuth is still going to be accepted and used
> > or if it's goinf to be replaced by xAuth?
>
> > --
> > Subscription settings:
> >http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>
> --
> Abraham Williams | Developer for hire |http://abrah.am
> PoseurTech Labs | Projects |http://labs.poseurtech.com
> This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] oAuth - xAuth

2010-04-17 Thread aztroboy
I would like to know if oAuth is still going to be accepted and used
or if it's goinf to be replaced by xAuth?


-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] @Anywhere + Access Tokens

2010-04-17 Thread aztroboy
Hi! I just managed to use @Anywhere on a website for authentication.
Now, I would like to know how do I get the Access Token and the Token
Secret with @Anywhere. I've successfully made the "signin with
Twitter" example. However after I've got the user information, I don't
know any method that can give me his access tokens. Is there some way
to do it?

thank you in advance.



-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: Twitter PHP + CentOS

2009-11-27 Thread aztroboy
It seems that I can't send imgs, anyways, here are the screenshots:

http:// img16. imageshack . us /img16/7901/curl.png
http:// img38. imageshack. us/img38/4926/curl2.png


On 25 nov, 20:55, Michael Steuer  wrote:
> Create a page that prints out phpinfo(). See if the curl module is  
> active in your php
>
> On Nov 25, 2009, at 5:19 PM, aztroboy  wrote:
>
> > Thank you for your reply,
>
> > [r...@twirelezz ~]# php -version
> > PHP 5.1.6 (cli) (built: Apr  7 2009 08:00:04)
> > Copyright (c) 1997-2006 The PHP Group
> > Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
>
> > Not bad, now I updated PHP to its lastest version:
>
> > [r...@twirelezz ~]# php -v
> > PHP 5.3.1 (cli) (built: Nov 20 2009 17:51:14)
> > Copyright (c) 1997-2009 The PHP Group
> > Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
>
> > However, I'm getting the same response: twitter won't give me the
> > auth_token :( (or at least, it's giving me a null response)
>
> > On 25 nov, 18:36, jmathai  wrote:
> >> Check the versions of software you're using. CentOS likes to make you
> >> jump through hoops in order to get newer software.
>
> >> Namely, check your PHP version.
>
> >> On Nov 25, 9:08 am, aztroboy  wrote:
>
> >>> Hello there! I'm using a PHP Twitter OAuth library  
> >>> (twitter.abrah.am),
> >>> and it works perfect on Windows: the php script looks asks twitter  
> >>> for
> >>> an auth token. However, as soon as I put the same script on CentOS
> >>> (with its default httpd service), it won't give any auth tokens at
> >>> all.
>
> >>> The script uses cURL to get the token from twitter. I've used cURL
> >>> (curlwww.google.com) and it works fine in console.
>
> >>> What could be going wrong here? Is there something I should add of
> >>> change first in order to receive the tokens? By the way, I got the
> >>> CentOS default FW set allowing traffic on port 80 and SSH only.
>
> >>> I would like to ask for a hint about what should I do, I'm kinda
> >>> newbie on CentOS.
>
> >>> thank you in advance


[twitter-dev] Re: Twitter PHP + CentOS

2009-11-27 Thread aztroboy
Hi Michael! Thank you for answering!

Did so, it says it is enabled.


Now, I also noticed that in the beggining there's also a '--without
curl' statement.


Such a newbie question, but: would that affect in some way?


Thank you again


On 25 nov, 20:55, Michael Steuer  wrote:
> Create a page that prints out phpinfo(). See if the curl module is  
> active in your php
>
> On Nov 25, 2009, at 5:19 PM, aztroboy  wrote:
>
> > Thank you for your reply,
>
> > [r...@twirelezz ~]# php -version
> > PHP 5.1.6 (cli) (built: Apr  7 2009 08:00:04)
> > Copyright (c) 1997-2006 The PHP Group
> > Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
>
> > Not bad, now I updated PHP to its lastest version:
>
> > [r...@twirelezz ~]# php -v
> > PHP 5.3.1 (cli) (built: Nov 20 2009 17:51:14)
> > Copyright (c) 1997-2009 The PHP Group
> > Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
>
> > However, I'm getting the same response: twitter won't give me the
> > auth_token :( (or at least, it's giving me a null response)
>
> > On 25 nov, 18:36, jmathai  wrote:
> >> Check the versions of software you're using. CentOS likes to make you
> >> jump through hoops in order to get newer software.
>
> >> Namely, check your PHP version.
>
> >> On Nov 25, 9:08 am, aztroboy  wrote:
>
> >>> Hello there! I'm using a PHP Twitter OAuth library  
> >>> (twitter.abrah.am),
> >>> and it works perfect on Windows: the php script looks asks twitter  
> >>> for
> >>> an auth token. However, as soon as I put the same script on CentOS
> >>> (with its default httpd service), it won't give any auth tokens at
> >>> all.
>
> >>> The script uses cURL to get the token from twitter. I've used cURL
> >>> (curlwww.google.com) and it works fine in console.
>
> >>> What could be going wrong here? Is there something I should add of
> >>> change first in order to receive the tokens? By the way, I got the
> >>> CentOS default FW set allowing traffic on port 80 and SSH only.
>
> >>> I would like to ask for a hint about what should I do, I'm kinda
> >>> newbie on CentOS.
>
> >>> thank you in advance


[twitter-dev] Re: Twitter PHP + CentOS

2009-11-25 Thread aztroboy
Thank you for your reply,

[r...@twirelezz ~]# php -version
PHP 5.1.6 (cli) (built: Apr  7 2009 08:00:04)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies


Not bad, now I updated PHP to its lastest version:

[r...@twirelezz ~]# php -v
PHP 5.3.1 (cli) (built: Nov 20 2009 17:51:14)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies


However, I'm getting the same response: twitter won't give me the
auth_token :( (or at least, it's giving me a null response)

On 25 nov, 18:36, jmathai  wrote:
> Check the versions of software you're using. CentOS likes to make you
> jump through hoops in order to get newer software.
>
> Namely, check your PHP version.
>
> On Nov 25, 9:08 am, aztroboy  wrote:
>
> > Hello there! I'm using a PHP Twitter OAuth library (twitter.abrah.am),
> > and it works perfect on Windows: the php script looks asks twitter for
> > an auth token. However, as soon as I put the same script on CentOS
> > (with its default httpd service), it won't give any auth tokens at
> > all.
>
> > The script uses cURL to get the token from twitter. I've used cURL
> > (curlwww.google.com) and it works fine in console.
>
> > What could be going wrong here? Is there something I should add of
> > change first in order to receive the tokens? By the way, I got the
> > CentOS default FW set allowing traffic on port 80 and SSH only.
>
> > I would like to ask for a hint about what should I do, I'm kinda
> > newbie on CentOS.
>
> > thank you in advance


[twitter-dev] Twitter PHP + CentOS

2009-11-25 Thread aztroboy
Hello there! I'm using a PHP Twitter OAuth library (twitter.abrah.am),
and it works perfect on Windows: the php script looks asks twitter for
an auth token. However, as soon as I put the same script on CentOS
(with its default httpd service), it won't give any auth tokens at
all.

The script uses cURL to get the token from twitter. I've used cURL
(curl www.google.com) and it works fine in console.

What could be going wrong here? Is there something I should add of
change first in order to receive the tokens? By the way, I got the
CentOS default FW set allowing traffic on port 80 and SSH only.


I would like to ask for a hint about what should I do, I'm kinda
newbie on CentOS.




thank you in advance


[twitter-dev] J2ME twitter client?

2009-10-26 Thread aztroboy

Hello! I would like to know if there's some simple method to receive
updates only with J2ME.

I've looked for solutions, but since J2ME lacks of lots of libraries,
there's always a problem regarding some library that isn't included,
thus making it impossible to compile... For instance, LoliTwitter is
an open source J2ME app, but as soon as I get the .java files and
import them directly to, say, my Netbeans project, it would prompt
compiling errors.

I guess there should be an easy solution based on the HTML/XML basics.


I would really appreciate any help, any guidance