Re: [twitter-dev] Re: "Failed to validate oauth signature and token" with xAuth

2010-09-20 Thread Tom van der Woerdt
The only relevant part of my code : $sig = base64_encode(hash_hmac('sha1', $baseString, $key, true)); Key and Base String are visible on the page itself ;-) Tom On Mon, 20 Sep 2010 01:59:14 -0700 (PDT), mlowicki wrote: > When i'm using http://quonos.nl/oauthTester/ for oAuth validation with >

Re: [twitter-dev] Using @Anywhere under SSL

2010-09-20 Thread Tom van der Woerdt
FYI, there's a Mailing List specifically for @Anywhere. The list you mailed to is the API developer list. To answer your question: no, there's no SSL version (yet). Tom On Mon, 20 Sep 2010 02:53:05 -0700 (PDT), Justin wrote: > I would love

Re: [twitter-dev] Streaming API and oAuth

2010-09-20 Thread Tom van der Woerdt
Yes, it does. Tom On Mon, 20 Sep 2010 06:16:03 -0700 (PDT), Joel Clinger wrote: > Hello, > > Does the streaming API still support Basic Auth? > Is there going to be any python module like tweepy that will support > oAuth and the streaming API? > > Thanks. > Joel -- Twitter developer documen

Re: [twitter-dev] newbie question on rate limits

2010-09-20 Thread Tom van der Woerdt
20k per IP is a lot. It means that a server should make more than 5 requests per second to hit the limit, which is a lot. About your options: no idea. Just make sure to use the proper functions and try not to hit the limits? :-) 150 is a lot as well, most Desktop clients don't hit it (didn't, unti

Re: [twitter-dev] get Frienfstimeline after connection with xAuth

2010-09-20 Thread Tom van der Woerdt
Nothing wrong with it. At least not with the syntax. If you are getting a 401 error, please give me (us) more information, like the Base String used to generate the signature. Tom On 9/20/10 5:01 PM, andy wrote: > Hello, > > I have get an successfull request with xAuth. After this I want to ge

Re: [twitter-dev] Publishing shoutbox content as twitter stream

2010-09-20 Thread Tom van der Woerdt
The login procedure is used to generate credentials for the user. Since these credentials don't expire, you can simply use them in your script. In fact, Twitter provides these credentials (for the application owner only) on a page on dev.twitter.com, to make it even easier to implement. Simply use

Re: [twitter-dev] newbie question on rate limits

2010-09-20 Thread Tom van der Woerdt
the big companies manage? For example, twittercounter claims to > have stats on 10 million users...that is a LOT of data. > > On Mon, Sep 20, 2010 at 11:14 AM, Tom van der Woerdt <mailto:i...@tvdw.eu>> wrote: > > 20k per IP is a lot. It means that a server should make

Re: [twitter-dev] newbie question on rate limits

2010-09-20 Thread Tom van der Woerdt
> If I am collecting stats on a bunch of users every hour for example, I > > can only > > collect on 150 users, which is tiny, compared to 140 million users > > Twitter has. > > > > How do the big companies manage? For example, twittercoun

Re: [twitter-dev] newbie question on rate limits

2010-09-20 Thread Tom van der Woerdt
hey have multiple IPs? > > On Mon, Sep 20, 2010 at 11:41 AM, Tom van der Woerdt <mailto:i...@tvdw.eu>> wrote: > > Just don't and you'll be fine :-) Just queue the requests and spread > them over a few hours. It may also help to setup a Twitter acco

Re: [twitter-dev] Authorizing for partial control

2010-09-20 Thread Tom van der Woerdt
Why would a change in a client (after all, twitter.com is a client as well) change your perspective? Tom On 9/20/10 7:10 PM, M. Edward (Ed) Borasky wrote: > Then again, who knows? Maybe when I get #newtwitter my perspective will > change. ;-) > -- Twitter developer documentation and resources

Re: [twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-20 Thread Tom van der Woerdt
Yes, OAuth is the authentication layer. If you are asked for a password, just click cancel (but really, it shouldn't ask you for one). Tom On 9/20/10 8:07 PM, andy wrote: > Hello Tom, > > I get an successfull response with the oauthToken, oauthSecret, > userId, Screenname. > > My basestring to

Re: [twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-20 Thread Tom van der Woerdt
d, since_date, max_id, count, page I have not supplied. > Can there be a problem because in the absence of these? > > On 20 Sep., 20:10, Tom van der Woerdt wrote: >> Yes, OAuth is the authentication layer. If you are asked for a password, >> just click cancel (but really

Re: [twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-20 Thread Tom van der Woerdt
, as it is described in the Twitter > documentation. > > Would in my GET request, the parameters are passed with xauth? > > > > > On 20 Sep., 20:23, Tom van der Woerdt wrote: >> No, that's no problem. >> >> What I *did* just notice is that the par

Re: [twitter-dev] using Excel as client

2010-09-20 Thread Tom van der Woerdt
Hi, I see multiple things that are wrong: * You didn't put quotes around your URL * You shouldn't send OAuth: as an header. The header is Authorization: OAuth . (xml.setRequestHeader "Authorization", "OAuth " & headerstring * You should put quotes around the values in headerstring, and if you h

Re: [twitter-dev] Re: using Excel as client

2010-09-20 Thread Tom van der Woerdt
t same values as are > calculated on your Quonos site. They are also the same as calculated > with the examples given by Twitter. > > This is a tough nut to crack! :-) > > > On Sep 20, 9:06 pm, Tom van der Woerdt wrote: >> Hi, >> >> I see multiple things t

Re: [twitter-dev] Re: using Excel as client

2010-09-20 Thread Tom van der Woerdt
t quotes in the base string. I assume that it only serves > as a way to claculate an oauth signature, which is calculated exactly > as by your website and by twitter. > > Still stuck > > On Sep 21, 12:16 am, Tom van der Woerdt wrote: >> Multiple things: >> * Y

Re: [twitter-dev] Re: using Excel as client

2010-09-20 Thread Tom van der Woerdt
ation haeder as shown above > > > On Sep 21, 12:30 am, Tom van der Woerdt wrote: >> Bad: xml.setRequestHeader "Authorization", "OAuth" & Cells(17, 3) >> Good: xml.setRequestHeader "Authorization", "OAuth " & Cells(17, 3)

Re: [twitter-dev] Re: using Excel as client

2010-09-20 Thread Tom van der Woerdt
er after authorization and oauth. Just > read back and you will see it. > > On Sep 21, 12:42 am, Tom van der Woerdt wrote: >> That Base String looks fine. But what was the thing you showed us a few >> posts back? (Really, it looked like a base string!) >> >> To

Re: [twitter-dev] Re: using Excel as client

2010-09-20 Thread Tom van der Woerdt
Tom On 9/21/10 12:50 AM, Randomness wrote: > This is what you said in your first reply: > > * You should put quotes around the values in headerstring, and if > you > haven't done so already, URLencode the values > > thanks for confusing me...:-) > > On Sep 21

Re: [twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread Tom van der Woerdt
mestamp=1285054407&oauth_token=17312344- > qoIC5BRaaMw63fnP5fCZf8rfTJ73uqIPjjXLtvlJY&oauth_version=1.0&x_auth_mode=client_auth&x_auth_password=infoMantis&x_auth_username=Matapolo request> > Incorrect signature > > > > Can you tell me, what is wrong on my reques

Re: [twitter-dev] Status Updates

2010-09-21 Thread Tom van der Woerdt
As far as I know, that's no problem - a lot of services do that. Just don't make it spammy (sending more than 1 tweet per week to one user without first getting his/her permission, etc) and allow users to opt-out (better even would be opt-in but that wouldn't be good for your service, right?). Tom

Re: [twitter-dev] direct_messages/new.json is not working?

2010-09-21 Thread Tom van der Woerdt
Works fine here. Tom On 9/21/10 7:03 AM, Tzanko wrote: > Hello, > > I am wondering if there is an issue with direct_messages/new? > Regardless of what I POST, I get "Incorrect signature". > > At the same time I am able to successfully POST request to /statuses/ > update.json. I used exactly th

Re: [twitter-dev] XAuth - bad request

2010-09-21 Thread Tom van der Woerdt
First, let me start by saying that xAuth is only an extension to OAuth and that you will have to implement OAuth as well. The problem with your request is that you send all oauth_* parameters as header. That's wrong: the correct syntax is "Authorization: OAuth oauth_nonce="nonce", oauth_signature=

Re: [twitter-dev] Is it possible to use multiple keywords in "Search Widget" ?

2010-09-21 Thread Tom van der Woerdt
"A OR B" (you need to capitalize the OR though) Tom On 9/21/10 4:00 AM, imsc imsc wrote: > Hi, > > Suppose I have two keywords: A and B. Is it possible to search both > keywords? For example, after the search in the result I want to see > the tweets that have only A, only B or both A and B. >

Re: [twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread Tom van der Woerdt
Your Base String seems fine and the parameters in your URL look fine as well. However, like I said: try executing the request with code, not in your browser. That, and I'm not entirely sure about how Twitter's OAuth implementation works. You may have to send the oauth_* parameters in the Authoriza

Re: [twitter-dev] New twitter.com uses an OAuth app called "web"?

2010-09-21 Thread Tom van der Woerdt
There are no OAuth_* parameters when making requests to api.twitter.com. However, I do see a lot of cookies, including auth_token and twitter_sess. I would assume that these are related. It's definitely not OAuth 1.0 :-) Tom On 9/21/10 11:56 AM, Karthik wrote: > Just read from this blog post (h

Re: [twitter-dev] New twitter.com uses an OAuth app called "web"?

2010-09-21 Thread Tom van der Woerdt
Which would mean that OAuth 2.0 is now available for the API? Tom On 9/21/10 3:02 PM, Thomas Woolway wrote: > If it's built on top of @anywhere, it will use OAuth 2.0. > > Tom > > On Tue, Sep 21, 2010 at 11:01 AM, Tom van der Woerdt <mailto:i...@tvdw.eu>> wrote:

Re: [twitter-dev] Send direct Message with xAuth

2010-09-21 Thread Tom van der Woerdt
Again: that's no xAuth, that's OAuth. The issue here: there's no oauth_token present. Tom On 9/21/10 3:11 PM, andy wrote: > Hello I have problems to send a new Direct Message. > > I use xAuth to authentification to Twitter. I get an successful > response with oauth_token and oauth_token_secret

Re: [twitter-dev] Re: Send direct Message with xAuth

2010-09-21 Thread Tom van der Woerdt
xAuth is only for the credentials exchange process. It's not possible to do this with just xAuth. Tom On 9/21/10 3:15 PM, andy wrote: > And how should we proceed with xauth? > > On 21 Sep., 15:14, Tom van der Woerdt wrote: >> Again: that's no xAuth, that's OAuth.

Re: [twitter-dev] statuses/update returns "Incorrect signature" when using in_reply_to_status_id

2010-09-21 Thread Tom van der Woerdt
You most likely forget to include in_reply_to_status_id in your Base String. Tom On 9/21/10 10:38 PM, Tzanko wrote: > Hello, > > When I post to statuses/update with in_reply_to_status_id parameter, I > get "Incorrect signature". > > However, statuses/update works fine when in_reply_to_status_

Re: [twitter-dev] statuses/update returns "Incorrect signature" when using in_reply_to_status_id

2010-09-21 Thread Tom van der Woerdt
http://dev.twitter.com/pages/auth, section "Signing Requests", states : > Then, you take all query parameters and POST body parameters (when the POST > body is of the URL-encoded type, otherwise the POST body is ignored), > including the OAuth parameters necessary for negotiation with the request

Re: [twitter-dev] home_timeline.json returns too less tweets and some aren't visilbe on the web

2010-09-22 Thread Tom van der Woerdt
Actually, count=x tells twitter to get x results from the database, not to return x items. Deleted tweets etc are counted as well: they are in the database but don't get returned. Tom On Sep 22, 2010, at 12:11 PM, mlowicki wrote: > I'm getting data via http://api.twitter.com/1/statuses/home_

Re: [twitter-dev] Problem with my curl remote app

2010-09-22 Thread Tom van der Woerdt
http://dev.twitter.com, big blue bar at the bottom of the screen? Tom PS: Have you been living under a rock? Every major tech blog announced it... (And sorry if I am rude) On 9/22/10 4:52 PM, Daniel Contarini wrote: > This code have been working perfect

Re: [twitter-dev] Weird problem with signature generation

2010-09-22 Thread Tom van der Woerdt
I'd say that your Base64 algorithm is bad. Tom PS: When I generate a signature for the first one, I get "yOahq5m0YjDDjfjxHaXEsW9D+X0=" which matches the Twitter version. On 9/22/10 5:13 PM, Randomness wrote: > As I am testing my application, I am running into a weird problem with > signature ge

Re: [twitter-dev] Re: Problem with my curl remote app

2010-09-22 Thread Tom van der Woerdt
t;>>>>> - >>>>>> Abraham Williams | Hacker Advocate |http://abrah.am >>>>>> @abraham |http://projects.abrah.am|http://blog.abrah.am >>>>>> This email is: [ ] shareable [x] ask first [ ] private. >> >

Re: [twitter-dev] Re: #newtwitter and the API

2010-09-22 Thread Tom van der Woerdt
Which makes me wonder: does the API limit apply to the web version? ^^ Tom On Sep 22, 2010, at 11:55 PM, Robert McGovern wrote: > Regarding: > > On Sep 22, 10:06 pm, Matt Harris wrote: >> important event. With #newtwitter using the API all users will become >> API consumers, providing valuab

Re: [twitter-dev] twitter oAuth 401 Unauthorizd error

2010-09-22 Thread Tom van der Woerdt
There's an oauth_callback in your Base String but not in your POST/Authorization header. Tom On 9/23/10 3:00 AM, bill wrote: > I have been working on a 401 error from twitter oAuth, but I have no > clue. Please see if you can help me > > Thanks > > Log > === > > debug: token is now: > debug:

Re: [twitter-dev] Re: Problem with my curl remote app

2010-09-23 Thread Tom van der Woerdt
Works with 5.3.3 on my server. Tom On 9/23/10 3:02 PM, Daniel Contarini wrote: > is it supposed to work on PHP 5.3.3 ? Or just on php 5.2.x ? > > On 22 set, 17:02, Tom van der Woerdt wrote: >> You'd have to remove all the PHP5 specific code. Really, you should >

Re: [twitter-dev] statuses/retweet/ error

2010-09-25 Thread Tom van der Woerdt
You can't retweet the tweets of private users. Tom On 9/25/10 9:29 PM, jumin wrote: > Hi all, > > My apps use statuses/retweet/ for retweeting and it receives errors > randomly with the message below, > Share sharing is not permissable for this status (Share validations > failed) > It is not re

Re: [twitter-dev] callbacks to localhost work... why?!

2010-09-26 Thread Tom van der Woerdt
The callback isn't done server-side. Instead, it simply tells the browser to visit a certain URL. I personally don't like the usage of the word Callback here. I would say that "Return URL" would be a better word. However, the OAuth spec disagrees. Tom On 9/26/10 10:42 AM, CI-CUBE wrote: > I'm r

[twitter-dev] Re: xauth help for: 'failed to validate oauth signature and token'

2010-09-27 Thread Tom van der Woerdt
Hi Doug, The only thing I can think of is that you aren't sending an Authorization: header that starts with OAuth. Tom On Sep 26, 10:30 pm, Doug wrote: > Hi folks, > > I have been banging my head against the wall trying to figure out why > I keep getting 'failed to validate oauth signature and

Re: [twitter-dev] xAuth - sometimes Error with StatusCode 401, sometimes Response with StatusCode 200

2010-09-27 Thread Tom van der Woerdt
401 is a general HTTP error code. The message is more important. If the message is about an invalid nonce, then you should check the timestamp. If it's about a nonce that had already been used, check the nonce. If it's a signature error, check the code that generates the signature and make sure to

Re: [twitter-dev] Twitter Oauth Realization within an SAP CRM system

2010-09-27 Thread Tom van der Woerdt
Hi, The Base String looks fine, so does the Authorization header and the signature. What is the error you get back? Not just the error number (probably 401), but also the message. Tom On Mon, 27 Sep 2010 02:34:06 -0700 (PDT), Andyiz wrote: > Hello Dev, > - We are creating Twitter demo fro

Re: [twitter-dev] Problem in posting image to Twitter using twitpic

2010-09-27 Thread Tom van der Woerdt
Hi, Code looks fine. Can you show a dump of a request? (Request headers + Request body + Response body) Tom On Mon, 27 Sep 2010 05:38:55 -0700 (PDT), sunil adhyaru wrote: > Hi I am using following code to post image to Twitter using twitpic. > But I am getting server response code 401 for the

Re: [twitter-dev] Authorization Failed

2010-09-27 Thread Tom van der Woerdt
Hi, You should read this page : http://dev.twitter.com/announcements "Basic Auth" is no longer supported since September 1st. You should now use OAuth. Tom On Mon, 27 Sep 2010 04:50:18 -0700 (PDT), Maanu wrote: > Hi, > > I am using Twitterizer.Framework.dll. For my website, I need to post >

Re: [twitter-dev] xAuth problem with using filter streams

2010-09-27 Thread Tom van der Woerdt
Hi, The 403 error can mean a lot of things. Can you give us the error message itself, instead of what Twitter4j gives you? Tom On Mon, 27 Sep 2010 19:03:58 +0900, Shinpei Ohtani wrote: > Hi all, > > I got xAuth problem using filter streams. > My simple code has been doing fine before Septembe

Re: [twitter-dev] not authorized over and over again

2010-09-28 Thread Tom van der Woerdt
If you save those four keys, you should have everything you need to restore the "session". If this does not work for you, make sure that you save the keys properly. For example, you don't want to confuse oauth_token with oauth_consumer_key. Tom On 9/28/10 12:39 AM, eMailaya wrote: > Im developi

Re: [twitter-dev] Re: Problem in posting image to Twitter using twitpic

2010-09-28 Thread Tom van der Woerdt
="c09a1b4b650f4dcb509ae944a4324f5e0ab3b4ac", > oauth_signature_method="HMAC-SHA1", > oauth_consumer_key="pzHxyRZ7Mi8fNW25WTgCw", oauth_version="1.0", > oauth_token="190978834-DomyKA0lL7apnNQt0r52Z2cg0afuwReiPYfYYDUT", > oauth_signature="eDzy1Ed0.000

Re: [twitter-dev] Callback URL for browser application type

2010-09-28 Thread Tom van der Woerdt
You can store them in a session/cookie, or simply ask them once they return. A good way to identify the session/cookie would be to use the temporary token which Twitter gives you on request_token. Tom On 9/28/10 9:30 AM, Ashi wrote: > Hi, > > We are working on an applications using RIA clients

Re: [twitter-dev] Screen_name vs ID for data storage

2010-09-28 Thread Tom van der Woerdt
Yes, it is possible that screen_name gets used by a different user over time. Tom On 9/28/10 10:20 AM, Markanday Singh wrote: > Is it possible that is some user will change his twitter handle, the > older twitter handle might be alloted to some other user??? > > Let me explain you my problem no

Re: [twitter-dev] 403'ed - Help, please

2010-09-28 Thread Tom van der Woerdt
If the 403 is "Administratively Forbidden", then you have been blacklisted. Quoting Taylor : > The best way to inquire about specific blacklisting reasons is by sending an > email to a...@twitter.com from the email address associated with a Twitter > account. Include your IP address(es) and as m

Re: [twitter-dev] Twitter API - Sample PHP Script

2010-09-28 Thread Tom van der Woerdt
You could start with @Abraham's TwitterOAuth library: You don't need the whole code, just the library itself, and these 2 lines : $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET); $connection->post('statuses/upd

Re: [twitter-dev] How to make authentication

2010-09-28 Thread Tom van der Woerdt
Hi, More information about the change to OAuth : http://dev.twitter.com/announcements More information on how to get started : http://dev.twitter.com/pages/auth_overview Depending on your programming skills, you may like to use a library (or not). More info : http://dev.twitter.com/pages/librari

Re: [twitter-dev] Need Help to developing Twitter Client

2010-09-28 Thread Tom van der Woerdt
I have no idea what QT is (QuickTime?), but depending on the programming language and your skills you may like these libraries : http://dev.twitter.com/pages/libraries If there is no library available, you will have to do the OAuth implementation yourself. The API itself is documented at http://d

Re: [twitter-dev] Email Validation Check

2010-09-28 Thread Tom van der Woerdt
No, there is not. Why would it be important? Tom On 9/28/10 7:18 AM, Devin Dixon wrote: > I already know that Twitter does not allow us to retrieve the users > email when using OAuth. So on my site I am developing a feature where > they have to validate their email before logging in. The problem

Re: [twitter-dev] Problem with signature in Perl

2010-09-29 Thread Tom van der Woerdt
Hi, Signature is the SHA1-HMAC hash of the Base String, using your composite key, which is "consumersecret&tokensecret", tokensecret being empty for requests without an user. To help you fix this kind of issues, I'd like to see your Base String. Tom On 9/29/10 11:16 AM, albh wrote: > Hi > > I

Re: [twitter-dev] twitter streams API related question

2010-09-29 Thread Tom van der Woerdt
To be very simple: Streams = future, REST = past If it's 8 AM, you should start your application that uses the Stream API and stop it at around 9:45 AM. Then, for every tweet that comes in, you would check the time and decide to use it or not. With the REST API, you execute some requests at 9:45

Re: [twitter-dev] How to render a hyperlink in the tweet?

2010-09-29 Thread Tom van der Woerdt
Just append "http://www.google.com/"; Tom On 9/29/10 7:55 PM, alto wrote: > If I leave the anchor element as is, e.g. string link = " \"http://www.google.com/\";>GOOGLE"; I receive "The remote server > returned an error: (403) Unauthorized." Fine, it's a script, so it's > dangerous. > > But if

Re: [twitter-dev] twitter streams API question

2010-09-30 Thread Tom van der Woerdt
Filter = all, just like search. Tom On Sep 30, 2010, at 2:24 PM, rakesh wrote: > Hi All - > > Could someone please answer this for me - > > If I use curl to execute the following - > > curl -d @locations http://stream.twitter.com/1/statuses/filter.json - > uAnyTwitterUser:Password > > and

Re: [twitter-dev] Desktop vs web apps

2010-09-30 Thread Tom van der Woerdt
Yes, you can. Tom On 9/30/10 3:21 PM, John Meyer wrote: > Can I use the same tokens that I generated with a desktop application > for a web application, or vice versa? > -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/tw

Re: [twitter-dev] Getting a Twitter User's Profile Image

2010-09-30 Thread Tom van der Woerdt
Every image you load using this method counts as 1 API request. So, yes, that's bad. Tom On 9/30/10 11:48 AM, Jayawi Perera wrote: > Hi all, > > I have a page in which there is a listing of past tweets. In this > page, I want to display the author's profile image next to the tweet. > I've come

Re: [twitter-dev] user_timeline since_id issues

2010-09-30 Thread Tom van der Woerdt
Only the 3200 most recent ones, unless you know the IDs of the tweets. Tom On 9/30/10 5:09 PM, linuslive wrote: > Good morning all! > > Before the OAuth change, I wrote a twitter archiver that would grab my > tweets and dump them into a database. Back then I only had about 1K > tweets so I was

Re: [twitter-dev] Re: URL encoding of status= parameter in #newtwitter

2010-09-30 Thread Tom van der Woerdt
Well, it's not an API issue. ;-) Tom On 9/30/10 9:42 PM, Jonathan Strauss wrote: > @themattharris, Pat's ticket just got rejected for not being an API > issue :-/. See http://code.google.com/p/twitter-api/issues/detail?id=1904 > > I have just filed it (again) via http://twitter.com/help/escalat

Re: [twitter-dev] twitter oauth :geting undefined index: oauth_token_secret in

2010-10-01 Thread Tom van der Woerdt
> $oauth = new TwitterOAuth($consumer_key, $consumer_secret, > $request_token, $request_token_secret); That's wrong. When requesting a token, you don't include the third and fourth parameter. Better: new TwitterOAuth($consumer_key, $consumer_secret); If that doesn't fix the issue, I don't know. I

Re: [twitter-dev] Twitter user's email

2010-10-01 Thread Tom van der Woerdt
No. Tom On 10/1/10 7:32 AM, Imran wrote: > Is there any way to get user's email address using Twitter API? > > > Thanks > > Imran > -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracke

Re: [twitter-dev] "Failed to validate oauth signature and token" in xauth

2010-10-01 Thread Tom van der Woerdt
Using the Base String validator at , I got this : Bad URL encoding! Both key and value in the POST body need to be URL encoded. In this case: "xoan...@seed9.com" is bad Tom On 10/1/10 11:34 AM, Hyeonjong Ryu wrote: > Yes, I know there're already plenty of question

Re: [twitter-dev] Re: Site Streams - Unfollow Events?

2010-10-01 Thread Tom van der Woerdt
Correct. I'd like to add an additional question to this thread: what about list events? The docs say that they get sent, but they don't. http://dev.twitter.com/pages/user_streams Tom On 10/1/10 7:46 PM, Justin wrote: > It sounds like it's the same (NO) for both: > > Friendship Events > Create

Re: [twitter-dev] Re: Site Streams - Unfollow Events?

2010-10-01 Thread Tom van der Woerdt
got an error about Basic Auth. Can anyone verify that there are no list events in the streams, or am I simply going blind? Tom On 10/1/10 10:57 PM, John Kalucki wrote: > List modifications are streamed as social events. The lists themselves > are not streamed. > > -John > >

Re: [twitter-dev] Re: Site Streams - Unfollow Events?

2010-10-01 Thread Tom van der Woerdt
I just tried again (last time I tried is about 12 hours ago) and I am getting the notifications now. Thanks. Tom On 10/1/10 11:05 PM, John Kalucki wrote: > I just verified with curl and it worked fine. > > ? > > -John > > > On Fri, Oct 1, 2010 at 2:02 PM, Tom van

Re: [twitter-dev] updating a status receiving 401 unauthorized

2010-10-02 Thread Tom van der Woerdt
The header looks fine, so I guess it's a signature error. What is your Base String used to make the signature? Tom On 10/2/10 4:20 PM, eMailaya wrote: > hi > > i deleted my app. re-created it (again as read-write) and gave myself > an authorization to use it. now i can receive my statuses and

Re: [twitter-dev] I created one application which was read-only, then i updated it to read-write now i am not able to post tweet..

2010-10-02 Thread Tom van der Woerdt
Credentials that are for read-only apps will not change to read/write credentials, because of security reasons. Either re-create your application, or generate new keys. Tom On 10/2/10 9:54 PM, Markanday Singh wrote: > When posting tweet its says > "Read-only application cannot POST" > > I re-ge

Re: [twitter-dev] (401) Unauthorized

2010-10-05 Thread Tom van der Woerdt
Like the error says: your token is invalid or has expired. Make sure that you are using the correct ones. Tom On 10/5/10 1:20 PM, Trevor Dean wrote: > I am getting an error executing the same code that has been working fine > until today. I am getting an error when attempting to get access tok

Re: [twitter-dev] Adding twitter message

2010-10-05 Thread Tom van der Woerdt
If you simply use time() then you'll get the correct timestamp, assuming that the server's clock is correct. Timezones do not influence time(). Tom On 10/5/10 3:29 PM, Knutsford Software wrote: > PHP has now been upgraded to 5.2 on the server but it is now failing with > > Invalid / used nonce

Re: [twitter-dev] Re: can email be accepted when using OAuth?

2010-10-05 Thread Tom van der Woerdt
Those aren't base strings. Use the OAuth Base String validator @ By the way: I'm not sure about logging in with E-Mail addresses. It may work, and it may not. Tom On 10/5/10 8:27 PM, Gary wrote: > Hi, > > I'm also having this problem. I cannot login using the

Re: [twitter-dev] URL parameters

2010-10-05 Thread Tom van der Woerdt
Just add the parameters to the Base String. Don't add the query to the URL part of the Base String though! The easiest way to check whether your base string is correct or not, is to use the OAuth Base String validation tool at Tom On 10/5/10 11:06 PM, MigueL DíaZ

Re: [twitter-dev] Re: can email be accepted when using OAuth?

2010-10-05 Thread Tom van der Woerdt
t this info? > > Thanks, > Gary > > > On Oct 5, 12:27 pm, Tom van der Woerdt wrote: >> Those aren'tbasestrings. >> >> Use the OAuthBaseString validator @ <http://quonos.nl/oauthTester/> >> >> By the way: I'm not sure about logging in with

Re: [twitter-dev] Tweet button not working with a 'localhost' data-url?

2010-10-06 Thread Tom van der Woerdt
Why would you want to generate a link that would only work for you? Just accept that it will not work and you'll be fine ;-) Tom On 10/6/10 10:29 PM, Olivier K wrote: > Hi, I'm currently testing the tweet button for our website. When I > test the button locally and want to share a link in the fo

Re: [twitter-dev] User Streaming API and use of OAuth from web browser

2010-10-06 Thread Tom van der Woerdt
OAuth 1.0a was made for server to server authentication. It uses secrets for the client, which would make your application vulnerable. So, no, you should not use JavaScript for OAuth. Not before Twitter starts using OAuth 2.0. About the document you are referring to: there are three types of strea

Re: [twitter-dev] User Streaming API and use of OAuth from web browser

2010-10-06 Thread Tom van der Woerdt
I will indeed correct you: rate limits are based on account when using oauth. Tom On Oct 6, 2010, at 11:39 PM, Matthew Terenzio wrote: > > > There would be one more issue which requires mentioning: JavaScript's > "Same-origin policy". You can't make a request directly to the Twitter > API vi

Re: [twitter-dev] Is authentication required to use Streaming API?

2010-10-07 Thread Tom van der Woerdt
Yes, you do. http://stream.twitter.com/statuses/sample.json <-- click it, it will ask for authentication and when you click Cancel, it will give you an error page. Tom On 10/7/10 6:49 PM, D. Smith wrote: > Hello! I want to start using streaming API to monitor all tweets with > certain keywords

Re: [twitter-dev] twitter api throwing lots of technical errors

2010-10-07 Thread Tom van der Woerdt
http://status.twitter.com/post/1263165935/issue-posting-new-tweets Tom On 10/7/10 7:44 PM, Tiago Teresa Teodosio wrote: > Yes, I noticed a lot of 500 error codes in API responses, while trying > to post tweet on behalf of my users, from 2010-10-07 16:41:53 UTC until > 2010-10-07 16:58:25 UTC. >

Re: [twitter-dev] Re: User Streaming API and use of OAuth from web browser

2010-10-07 Thread Tom van der Woerdt
What? Absolutely not. Desktop applications are already an unsafe way of using OAuth, and JavaScript is even worse. You'd be exposing your Client Secret which is against the "rules". Tom On 10/7/10 7:47 PM, Jonathon Hill wrote: > Have you looked at xAuth? It was designed for desktop clients but i

Re: [twitter-dev] Sign up as a developer

2010-10-07 Thread Tom van der Woerdt
http://dev.twitter.com -> Login (using your username and password), create an app and you are ready to go. Tom On 10/7/10 8:18 PM, martinh666 wrote: > Hi > > Anyone know how to sign up as a developer. I've tried the API link > and it takes me to the "Developer sign in" page. My regular > crede

Re: [twitter-dev] Re: Is authentication required to use Streaming API?

2010-10-07 Thread Tom van der Woerdt
Basically: sample will send you 1% of all tweets that are sent. ;-) However: I believe that you will want to use filter.json. Taylor forgot to mention that filter.json is also free to use. Sample URL which uses filter : http://stream.twitter.com/1/statuses/filter.json?track=Twitter Tom On 10/7

Re: [twitter-dev] custom twitter button

2010-10-07 Thread Tom van der Woerdt
Are you even *allowed* to use it? ;-) Tom On 10/7/10 9:33 PM, Abraham Williams wrote: > This his the API Twitter uses. Keep in mind it is not documented or > officially supported and could break at anytime. http://goo.gl/ydfK > > Abraham > - > Abraham Williams | Hacker Advocate | ht

Re: [twitter-dev] Re: Sign up as a developer

2010-10-07 Thread Tom van der Woerdt
you this page". > > I'm wondering if my browser settings are messed up. I also had to > check the "show mixed content" in my IE security options to stop the > pop up warnings about security each time I viewed a page. > > Ta > Martin > > On 7 Oct, 19

Re: [twitter-dev] How to submit a new ticket?

2010-10-08 Thread Tom van der Woerdt
Send an e-mail to a...@twitter.com with your request. Tom On 10/9/10 2:06 AM, Bess Ho wrote: > How to submit a new ticket? to extend xAuth permission on an existing > app id? > > I tried to reach someone in Twitter for 2 weeks but no luck. It's for > the book. > > -- > Bess Ho > UI Architect

Re: [twitter-dev] Re: Twitter API Write Only Authorization

2010-10-11 Thread Tom van der Woerdt
OAuth 2.0 allows a "scope" parameter. Twitter has plans for OAuth 2.0, so I'd assume that they will include this parameter in their OAuth 2.0 update. Just don't count on it anytime soon. Tom On 10/11/10 8:53 PM, Markanday Singh wrote: > Or may be full itemized authorization !! > > On Oct 11, 11

Re: [twitter-dev] HornetQ JMS Integration with twitter versus new authentication

2010-10-12 Thread Tom van der Woerdt
You can simply hardcode the access tokens.. Tom On 10/12/10 5:06 PM, Clebert Suconic wrote: > We have a bridge to support HornetQ (JBoss' newest Messaging Server) > and twitter. > > > The idea was to provide applications the possibility of tweet right > from an enterprise BUS, like being a bot

Re: [twitter-dev] Re: Reminder: Status IDs are changing at 10am PDT/5pm UTC Tuesday 12th October 2010

2010-10-12 Thread Tom van der Woerdt
Actually, the minus one part will be fine as well. Tom On Oct 12, 2010, at 8:10 PM, Jim Chevalier wrote: > Hey Ryan, > > The link that Matt Harris pointed to states: > "...parameters such as max_id and since_id will work as > expected...things like counting Tweets by subtracting status IDs wi

Re: [twitter-dev] Finding undone retweets

2010-10-13 Thread Tom van der Woerdt
Last time I checked the streams documentation, it said that it does not support retweet undo messages yet. You'll have to wait. Tom On 10/14/10 2:17 AM, @CloudMarc wrote: > I need to know when one particular user (myself) undoes a retweet. > I'm happy to get this via streaming API or by polling

Re: [twitter-dev] Incorrect signature while getting home tweets

2010-10-13 Thread Tom van der Woerdt
Don't use xAuth, use OAuth. Leave the x_auth_ stuff and use your oauth_token and oauth_token_secret. Oh, and look at what xAuth actually is. It's no replacement for OAuth. Tom On 10/14/10 5:22 AM, Georgooty varghese wrote: > Dear Twitter, > > I have implemented a twitter client application i

Re: [twitter-dev] Incorrect signature while getting home tweets

2010-10-13 Thread Tom van der Woerdt
I got Incorrect signature. > > Could you please help me.. > > I am waiting for you response. > > On Thu, Oct 14, 2010 at 11:17 AM, Tom van der Woerdt wrote: > Don't use xAuth, use OAuth. Leave the x_auth_ stuff and use your > oauth_token and oauth_token_secret. >

Re: [twitter-dev] Stream API responds with 401 when multiple keywords are used

2010-10-15 Thread Tom van der Woerdt
I'd assume that there would be an error in your signature generation. Make sure that you properly url-encode all values before putting them in your base string. Make sure to encode only the correct ones. If you've checked this and it still does not work, please show us the Base String which you us

Re: [twitter-dev] Oauth issue on iPhone Development - Multiple Users posting to Single Account with No UI

2010-10-15 Thread Tom van der Woerdt
You can simply include the access tokens in the application. You don't need anything else. Tom On 10/15/10 5:43 AM, Anthony wrote: > I have be searching high and low to find out if Oauth will allow some > form of embedding the log-in info for a single account from the > iphone. I was using the b

Re: [twitter-dev] API username and password

2010-10-15 Thread Tom van der Woerdt
The API does not use an username and/or password. Instead, it uses tokens. I have no idea what yola is, but if it does not ask explicitly for these tokens, you will not be able to integrate Twitter without a lot of coding. You can get these tokens at http://dev.twitter.com/ Tom On 10/15/10 6:2

Re: [twitter-dev] Re: Stream API responds with 401 when multiple keywords are used

2010-10-15 Thread Tom van der Woerdt
rror is. > > With thanks. > > -Corey > > On Oct 15, 11:20 pm, Tom van der Woerdt wrote: >> I'd assume that there would be an error in your signature generation. >> Make sure that you properly url-encode all values before putting them in >> your base stri

Re: [twitter-dev] Incorrect signature while getting home tweets

2010-10-16 Thread Tom van der Woerdt
t;> wrote: > > > > Base string look like > > GET&http%3A%2F%2Fapi.twitter.com > > <http://2Fapi.twitter.com>%2F1%2Fstatuses%2Fhome_timeline.json&oauth_consumer_key%3DOmTQVOKDomNbrHuuudS >

Re: [twitter-dev] Total Number of Retweets

2010-10-17 Thread Tom van der Woerdt
Quoting Matt Harris, from an announcement he made : > retweet_count > represents the number of times a status has been retweeted using the Twitter > retweet action. This field is an integer. There will not be a value for this > field when the feature is turned off, or the Tweet was created before

Re: [twitter-dev] Possible to return a year of status data?

2010-10-17 Thread Tom van der Woerdt
The search will only let you go back approximately 5 days. It is not intended to be a long-time search. There are some services on the web which have stored all tweets of the past few years - you may like to use that kind of services instead of the Twitter Search API. Tom On 10/17/10 4:56 PM, T

<    1   2   3   4   5   >