[BUG325071] Problem with QOauth::ParamMap

Mehrdad Momeny mehrdad.momeny at gmail.com
Fri Sep 27 02:06:49 UTC 2013


Hi Daniel,
Yes, Just bear in mind any change in helper lib will affect StatusNet as
well. so need to test it there too.

On Fri, Sep 27, 2013 at 4:15 AM, Daniel Kreuter
<daniel.kreuter85 at gmail.com>wrote:

> Hi Mehrdad,
>
> i played around a bit with my code and found the problem. I have to encode
> the comma with %2C and instead of url->addQueryItem I need to call
> url->addEncodedQueryItem and it will work.
>
> I will refine my code this weekend so it will work correct if you have
> more than 100 friends (there is a limit on twitter api for this, which I
> didn't implemented yet).
>
> Am 25.09.2013 um 00:24 schrieb Mehrdad Momeny <mehrdad.momeny at gmail.com>:
>
> Hi Daniel,
>
> Sorry for being so late :/
>
> I have no idea what's wrong in your code, I suggest you checking and
> asking in Twitter's mailing list, I found several solutions there in the
> past.
>
> I have a concern regarding your code, Does this supported in StatusNet
> API!?
> Changes here will affect that as well, I think it would be better to move
> this code into TwitterMicroblog class, if it doesn't.
>
>
> Öhm, I don't know, will check that, otherwise I will have to see how to
> implement this the proper way. The code is in the helperlibs because the
> original (now not working) code was there.
>
>
> Regards,
> Mehrdad
>
>
> On Fri, Sep 20, 2013 at 3:03 AM, Daniel Kreuter <
> daniel.kreuter85 at gmail.com> wrote:
>
>> Hi,
>>
>> when calling [1], I get an "Authentication failure" from twitter, when
>> there
>> is more than one item provided for user_id or screen_name separeted by
>> comma.
>> Providing only one id works fine.
>>
>> What can be wrong?
>>
>> @Mehrdad can you have a look at my code? Maybe there is something wrong
>> with
>> the authentication with oauth? I've attached my current version to this
>> mail.
>>
>> [1]https://dev.twitter.com/docs/api/1.1/get/users/lookup
>>
>> Cheers
>>
>> Daniel
>> _______________________________________________
>> Choqok-devel mailing list
>> Choqok-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/choqok-devel
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/choqok-devel/attachments/20130927/44c1696b/attachment.html>


More information about the Choqok-devel mailing list