[twitter-dev] error 401 failed oauth_signature and token / javascript - qml

2011-04-14 Thread galeyte
Hi, I'm trying to code a javascript-qml based twitter client. I'm using oauth javascript library, advised by twitter dev page and hosted on google code. (http://oauth.googlecode.com/svn/code/ javascript/) I've been trying to get the request token from twitter by doing what's said on twiter dev

[twitter-dev] Re: error 401 failed oauth_signature and token / javascript - qml

2011-04-15 Thread galeyte
I don't have a 401 anymore but i recieve a you are being redirected page, so i can't get my request_token here is my code : function getSignature() { var accessor = { consumerSecret: consumer_secret, tokenSecret: oauth_token_secret }; var message = { method: POST,

[twitter-dev] failed to validate oauth signature and token

2011-04-15 Thread galeyte
Hi again ! I'm trying to develop a desktop-application javascript based. I'm actually trying to get the request_token from twitter. I'm using OAuth js library, and after testing their examples, i'm trying to do the same thing as

[twitter-dev] Re: failed to validate oauth signature and token

2011-04-15 Thread galeyte
%26oauth_timestamp %3D1302881089%26oauth_version%3D1.0 and this is the signature : signature: uC+AkOdUVj8fpiKL+GVLlM0QmAE= I guess the problem is in the signature but i can't figure where. On Apr 15, 4:28 pm, galeyte gaetan...@gmail.com wrote: Hi again ! I'm trying to develop a desktop-application

[twitter-dev] Re: error 401 failed oauth_signature and token / javascript - qml

2011-04-18 Thread galeyte
, but nothing has happened, stille the same failed to validate oauth signature or token So i'd be wvery grateful for a little help... On 15 avr, 13:51, galeyte gaetan...@gmail.com wrote: I don't have a 401 anymore but i recieve a you are being redirected page, so i can't get my request_token here

[twitter-dev] Re: error 401 failed oauth_signature and token / javascript - qml

2011-04-19 Thread galeyte
@themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Fri, Apr 15, 2011 at 4:51 AM, galeyte gaetan...@gmail.com wrote: I don't have a 401 anymore but i recieve a you are being redirected page, so i can't get my request_token here is my code : function

[twitter-dev] Re: error 401 failed oauth_signature and token / javascript - qml

2011-04-19 Thread galeyte
, 11:08, galeyte gaetan...@gmail.com wrote: Hi, Thanks for answering my question. I've tried a lot of things to reach oauth/request_token, and i've tried : request_maker.open(POST, https://api.twitter.com/oauth/ request_token) but nothing has changed ! here is my new code : function

[twitter-dev] Re: error 401 failed oauth_signature and token / javascript - qml

2011-04-19 Thread galeyte
], oauth_signature_method=HMAC-SHA1, oauth_version=1.0, oauth_signature=ik0d0OV6JzLxQ/yeddowfSQCQgg= On 19 avr, 14:44, galeyte gaetan...@gmail.com wrote: Ok so i've stopped using OAuth javascript library Here is my new code : function getSignature() {     var nonce = OAuth.nonce(31);     var time

[twitter-dev] Re: error 401 failed oauth_signature and token / javascript - qml

2011-04-19 Thread galeyte
composite signing key : first : consumer_secret + + oauth_token_secret second: consumer_secret + but it did not change anything. On Apr 19, 3:47 pm, galeyte gaetan...@gmail.com wrote: And i stop using OAuth javascript library, and i'm getting the same basestring and signature as oauth library

[twitter-dev] Re: error 401 failed oauth_signature and token / javascript - qml

2011-04-20 Thread galeyte
%2Btaksgof%2BQGFlUwqmw%3D,oauth_version=1.0 I'm still getting the same response whereas the tools i check my work with say my basestring and signature are ok. Thanks. On 19 avr, 18:01, galeyte gaetan...@gmail.com wrote: Hi again, So i've deleted my previous code, and started again to respect

[twitter-dev] Re: error 401 failed oauth_signature and token / javascript - qml

2011-04-21 Thread galeyte
#request-token Best @themattharris On Apr 20, 2011, at 9:10, galeyte gaetan...@gmail.com wrote: Is it possible to have any help ? here is the base string i'm generating : POSThttps%3A%2F%2Fapi.twitter.com%2Foauth %2Frequest_tokenoauth_callback%3Dhttp%253A%252F%252Flocalhost

[twitter-dev] mentions 401 / could not authenticate you

2011-04-29 Thread galeyte
Hi, I'm developing a qml/js based application for twitter. I can connect, get my timeline, even post twitt but i've got 401 Could not authenticate you problem when i call https://api.twitter.com/1/statuses/mentions.json. I'm doing the same request as i do when i'm getting my timeline, using the

[twitter-dev] Re: mentions 401 / could not authenticate you

2011-04-29 Thread galeyte
And my application is in desktop mode On Apr 29, 6:41 pm, galeyte gaetan...@gmail.com wrote: I don't use any oauth library, i just a sha1 one. here is my code for mentions : var parameters = [oauth_consumer_key=+consumer_key, oauth_nonce=+nonce, oauth_signature_method

[twitter-dev] Re: mentions 401 / could not authenticate you

2011-04-29 Thread galeyte
(signature)+, oauth_version=+oauth_version; On Apr 29, 6:43 pm, galeyte gaetan...@gmail.com wrote: And my application is in desktop mode On Apr 29, 6:41 pm, galeyte gaetan...@gmail.com wrote: I don't use any oauth library, i just a sha1 one. here is my code for mentions : var

[twitter-dev] Re: mentions 401 / could not authenticate you

2011-04-29 Thread galeyte
(signature)+, oauth_version=+oauth_version; On Apr 29, 6:43 pm, galeyte gaetan...@gmail.com wrote: And my application is in desktop mode On Apr 29, 6:41 pm, galeyte gaetan...@gmail.com wrote: I don't use any oauth library, i just a sha1 one. here is my code for mentions : var

[twitter-dev] direct messages / conversations

2011-05-11 Thread galeyte
Hi, I'm building a qml/js app. I'm now getting direct messages and i'm wondering if there's any way to get direct messages by sender screen names or id. IBy now i'm requesting /dirtect_messages.json and /direct_messages/ sent.json and merging the results together to build a tree and i would

[twitter-dev] Re: direct messages / conversations

2011-05-12 Thread galeyte
... So i guess there's no other way ? On May 11, 5:58 pm, galeyte gaetan...@gmail.com wrote: Hi, I'm building a qml/js app. I'm now getting direct messages and i'm wondering if there's any way to get direct messages by sender screen names or id. IBy now i'm requesting /dirtect_messages.json

[twitter-dev] incorrect signature with get parameters

2011-05-24 Thread galeyte
Hi again ! I'me still working on my javascript twitter client. At this time, every request i make using POST method work perfectly, but i'm experiencing some trouble using GET parameters with oauth. Here is my code to retweet a message : var parameters = [oauth_consumer_key=+consumer_key,

[twitter-dev] Re: incorrect signature with get parameters

2011-05-24 Thread galeyte
I've tried using POST and GET method. And i've seen the htts: mistake, but doesn't change anything. :( On May 24, 2:25 pm, galeyte gaetan...@gmail.com wrote: Hi again ! I'me still working on my javascript twitter client. At this time, every request i make using POST method work perfectly

[twitter-dev] Re: direct messages / conversations

2011-05-24 Thread galeyte
for. As Taylor says, you need build this up for yourself as best you can using the sent / received DMs endpoints. On May 12, 10:19 am, galeyte gaetan...@gmail.com wrote: ... So i guess there's no other way ? On May 11, 5:58 pm, galeyte gaetan...@gmail.com wrote: Hi, I'm building a qml/js

[twitter-dev] Re: incorrect signature with get parameters

2011-05-25 Thread galeyte
endpoint to ReTweet a tweet is /1/statuses/retweet/:id (cfhttp://dev.twitter.com/doc/post/statuses/retweet/:id). Also remove the id part in your parameters. Arnaud / @rno http://twitter.com/rno On Tue, May 24, 2011 at 7:57 AM, galeyte gaetan...@gmail.com wrote: I've tried using POST

[twitter-dev] issue when posting new direct message

2011-07-19 Thread galeyte
Hi, I'm working on a QML/JS based desktop application. I'm using OAuth through authorize url. I'm having issues posting new direct message to followers. It used to work but it's not been working for 2 days now. My application is read / write direct message. I'm getting : {error:You cannot send