librelist archives

« back to archive

Are you successful with Rauth and Twitter v1.1?

Are you successful with Rauth and Twitter v1.1?

From:
Nguyễn Hồng Quân
Date:
2013-07-10 @ 08:20
Hello

Since Twitter upgraded their API to v1.1, my application breaks. I'm using
Rauth 0.5.5. The endpoints

account/verify_credentials<https://dev.twitter.com/docs/api/1.1/get/account/verify_credentials>
, users/lookup <https://dev.twitter.com/docs/api/1.1/get/users/lookup> for
me is OK but 
friendships/lookup<https://dev.twitter.com/docs/api/1.1/get/friendships/lookup>
failed
with error "Could not authenticate you".

How about you? Is there something I should note when use Rauth to access
Twitter API?

-- 
***********************************************
* Nguyễn Hồng Quân                            *
* Y!M: ng_hquan_vn                            *
* Identi.ca: hongquan                         *
***********************************************

Re: [flask] Are you successful with Rauth and Twitter v1.1?

From:
Max Countryman
Date:
2013-07-10 @ 19:02
Hi,

Could you provide more details? Perhaps some sample code?

Thanks,


Max

> On Jul 10, 2013, at 1:20, Nguyễn Hồng Quân <ng.hong.quan@gmail.com> wrote:
> 
> Hello
> 
> Since Twitter upgraded their API to v1.1, my application breaks. I'm 
using Rauth 0.5.5. The endpoints account/verify_credentials, users/lookup 
for me is OK but friendships/lookup failed with error "Could not 
authenticate you".
> 
> How about you? Is there something I should note when use Rauth to access
Twitter API?
> 
> -- 
> ***********************************************
> * Nguyễn Hồng Quân                            *
> * Y!M: ng_hquan_vn                            *
> * Identi.ca: hongquan                         *
> ***********************************************

Re: [flask] Are you successful with Rauth and Twitter v1.1?

From:
Nguyễn Hồng Quân
Date:
2013-07-11 @ 11:32
Thank you,

Now I found out why.
I put the whole URL + query string, instead of separating the query as
params dict, to the request() function, so it failed.


2013/7/11 Max Countryman <maxc@me.com>

> Hi,
>
> Could you provide more details? Perhaps some sample code?
>
> Thanks,
>
>
> Max
>



-- 
***********************************************
* Nguyễn Hồng Quân                            *
* Y!M: ng_hquan_vn                            *
* Identi.ca: hongquan                         *
***********************************************

Re: [flask] Are you successful with Rauth and Twitter v1.1?

From:
Max Countryman
Date:
2013-07-13 @ 14:22
Great. Is everything working for you now?


> On Jul 11, 2013, at 4:32, Nguyễn Hồng Quân <ng.hong.quan@gmail.com> wrote:
> 
> Thank you,
> 
> Now I found out why.
> I put the whole URL + query string, instead of separating the query as 
params dict, to the request() function, so it failed.
> 
> 
> 2013/7/11 Max Countryman <maxc@me.com>
>> Hi,
>> 
>> Could you provide more details? Perhaps some sample code?
>> 
>> Thanks,
>> 
>> 
>> Max
> 
> 
> 
> -- 
> ***********************************************
> * Nguyễn Hồng Quân                            *
> * Y!M: ng_hquan_vn                            *
> * Identi.ca: hongquan                         *
> ***********************************************

Re: [flask] Are you successful with Rauth and Twitter v1.1?

From:
Nguyễn Hồng Quân
Date:
2013-07-14 @ 08:37
Yes. Everything works now :-)


2013/7/13 Max Countryman <maxc@me.com>

> Great. Is everything working for you now?
>

-- 
***********************************************
* Nguyễn Hồng Quân                            *
* Y!M: ng_hquan_vn                            *
* Identi.ca: hongquan                         *
***********************************************