[cl-twitter-devel] cl-oauth
Red Daly
reddaly at gmail.com
Sun Jan 31 05:13:37 UTC 2010
Hi Ian,
Ian Eslick <eslick at media.mit.edu> wrote:
> How does one use the new oauth support?
0. To configure a twitter app that uses OAuth, register the app at
https://twitter.com/apps.
1. Generate a twitter.com URI to send the user by calling a
cl-twitter function (oauth-make-twitter-authorization-uri). Send the
user there to log in
2. The user clicks on the URI and then gives you access to their
account. Then the user is redirected to your web site
3. In the redirect uri there is an auth_token GET parameter (e.g.
http://yoursite.com/twitter-rebound?auth_token=xxxx). Pass this into
the cl-twitter oauth-authenticate-user function and it works just like
the usual authenticate-user but with the auth_token instead of
username and password. A user object is returned.
The functions I added are described in greater detail in their docstrings.
On Sat, Jan 30, 2010 at 9:59 AM, Ian Eslick <eslick at media.mit.edu> wrote:
> I have 1.0, did they upgrade to 1.1 yet. Perhaps it's a build option where
> ssl support is optional.
>
> I'll check into it.
I do remember that being the case when I first tried out cl-oauth. I
am not the original author of that library, though.
Best,
Red
>
> Sent from my iPhone
>
> On Jan 30, 2010, at 9:17 AM, Red Daly <reddaly at gmail.com> wrote:
>
>> Hi Ian,
>>
>> Thanks for applying the patches!
>>
>> On Fri, Jan 29, 2010 at 11:46 AM, Ian Eslick <eslick at media.mit.edu> wrote:
>>>
>>> I applied your patches and updated the main repo so you can test your
>>> changes (there were some merge conflicts with some general robustness code I
>>> wrote but forgot to push).
>>>
>>> I'm getting an error about no ssl-acceptor in hunchentoot for file
>>> request-adapter in cl-oauth. Is this a latest feature that I should be
>>> depending on?
>>
>>
>> It is possible. I know Hunchentoot upgraded from version .9.x to 1.0
>> in the past year, and the interface changed. Do you have the latest
>> Hunchentoot?
>>
>> Hunchentoot is for the part of cl-oauth for serving, not the consumer
>> portion used in cl-twitter.
>>
>>>
>>> Thank you,
>>> Ian
>>>
>>>
>>
>> Thanks,
>> Red
>
More information about the cl-twitter-devel
mailing list