[twitter-dev] Re: xAuth problems

2010-04-29 Thread Fernando Olivares
Got it. The signatureBaseString has to include the parameters, so after the oauth version I was missing the x_auth_mode and the other 2 parameters. Thanks for your help!

[twitter-dev] Re: xAuth problems

2010-04-29 Thread Fernando Olivares
Also, here's my signature string: POST&https%3A%2F%2Fapi.twitter.com%2Foauth %2Faccess_token&oauth_consumer_key%3DjbEiZQ85zjOamkhVRTclnA %26oauth_nonce%3DE23ADF41-F137-4E33- BC51-00AEB7C95439%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1272598628%26oauth_version%3D1.0 Here's how it

[twitter-dev] Re: Basic Auth Deprecation

2010-04-29 Thread mcfnord
I think I know the answer to this question (YES), but I wanna clarify: Everywhere in the docs that I see curl followed by credentials, if the topic includes REST, that's an API that I will not be using curl for, because curl doesn't use oauth, so it cannot authenticate. i'll certainly know in 30 d

[twitter-dev] Re: xAuth problems

2010-04-29 Thread Fernando Olivares
I think I never sent my answer. If I did, please ignore this or I'll delete it myself. Anyway, here's a summary of what I'm doing. - I am using HTTP headers and POST. - I am a bit confused about SSL. If all I have to do to use SSL is use https instead of http, then I'm good. Here's my post Body:

[twitter-dev] Consumer Keys vs IP Address and Domain Name

2010-04-29 Thread raj
Does a consumer need new keys from twitter if the server ip address changes, even for the same domain name? I recently upgraded my server from my service provider. As a result the ip address of my server changed, even though the domain name is the same. Now Twitter is not servicing my applications

[twitter-dev] Re: Incorrect signature when calling update url /1/statuses/update.xml

2010-04-29 Thread Rahul
Taylor, I am presently using scribe java library for OAuth and as you said all spec compliant libraries the signature base string will only contain POST body parameter so does this one. Also I will try to add the header 'Content-Type' to the library and let you know how it goes. Thanks, Rahul

[twitter-dev] Re: Duplicate Statuses in Public Timeline

2010-04-29 Thread mattarnold1977
John, I am using the public timeline for analysis. I haven't examined the streaming API, but it sounds like that's what I need to use. In the mean time I guess I'll just have to ignore the duplicates. Thank you for the response. -Matt On Apr 29, 9:47 am, John Kalucki wrote: > What is your go

[twitter-dev] Re: About update limits

2010-04-29 Thread Dewald Pretorius
I can't think of a use or requirement that would need more than 1,000 tweets per day. Unless you're promoting teeth whitening affiliate links that absolutely must be sent at a rate of one tweet every 30 seconds, because we all know how quickly the teeth of some followers turn yellow. On Apr 29, 8

[twitter-dev] How is the limit of 1500 search results calculated?

2010-04-29 Thread Adam Green
The docs on both the apiwiki and dev.twitter sites say that the search API is limited to 1,500 results through the combination of the rpp and page arguments. There are no details on the time frame for this search, or whether this applies to a single query string. Since you can only get that many re

[twitter-dev] Is there small size follow button?

2010-04-29 Thread paloalto
Follow button in @anywhere api is too large. Is there a way to choose a smaller size?

[twitter-dev] Re: About update limits

2010-04-29 Thread Brian Sutorius
To clarify, statuses/update is not affected by rate-limit whitelisting as it's a POST call and we don't maintain a separate whitelist for boosting the daily tweet limit above 1000. While we do not give out the specifics around the "sub-limits," they *are* administered on a per-account basis and if

[twitter-dev] Fix for handling invalid credentials deployed

2010-04-29 Thread Mark McBride
Until recently, setting bad credentials when making a call to an unauthenticated endpoint would result in a 200 (and the response body). However repeated calls with bad credentials would lock out the account. We recently started returning an error message indicating the account was locked out. T

[twitter-dev] An odd scenario I can't solve

2010-04-29 Thread Matt McGee
Hi everyone. Hope you'll be kind to a non-programmer here. :-) I think I have an unusual circumstance involving the use of @anywhere on my web site. The site in question is called @U2. Yep, been using the @ symbol on our site since 1998 and it's all over the place. The specific problem I'm having

Re: [twitter-dev] xAuth problems

2010-04-29 Thread Taylor Singletary
Hi Fernando, Happy to help you out. Common issues when trying to get xAuth to work: - You must be using HTTP headers for the OAuth Authorization - You must be using POST as your method - You must be using SSL - Your POST body must contain the x_auth_* parameters as standard application/x-

Re: [twitter-dev] xAuth problems

2010-04-29 Thread Cameron Kaiser
> I'm having constant 401 errors when trying xAuth. My application has > already been accepted and its permissions granted and refreshed. > Any ideas what the problem is? Post your sig base, if you have it. xAuth is working fine over here. What are you using to do your oAuth signatures? -- -

[twitter-dev] xAuth problems

2010-04-29 Thread Fernando Olivares
Hello everyone, I'm having constant 401 errors when trying xAuth. My application has already been accepted and its permissions granted and refreshed. Any ideas what the problem is?

[twitter-dev] Re: API call to turn on location-based tweets?

2010-04-29 Thread Ken
just what we needed! thanks On Apr 29, 11:23 pm, Abraham Williams <4bra...@gmail.com> wrote: > https://twitter.com/account/geo > > On Thu, Apr 29, 2010 at 14:17, Ken wrote: > > > > there > > > is also a mobile optimized page with just that checkbox on twitter.comthat > > > you could use too. > >

Re: [twitter-dev] twitter oauth

2010-04-29 Thread Lil Peck
For those of us who use simple Classic ASP scripts and Xhttp to autmatically update statuses for our websites (my site automatically updates its twitter status whenever someone posts a new ad), or for those who use PHP curl for similar things, why not bypass Oauth altogether, and instead of depreca

Re: [twitter-dev] Re: Incorrect signature when calling update url /1/statuses/update.xml

2010-04-29 Thread Taylor Singletary
Whether it matters before creating your signature or not depends entirely on the OAuth library you are using. In spec-compliant OAuth libraries, the signature base string will only contain POST body parameters when they are of the application/x-www-form-urlencoded type -- most OAuth libraries need

Re: [twitter-dev] Re: API call to turn on location-based tweets?

2010-04-29 Thread Abraham Williams
https://twitter.com/account/geo On Thu, Apr 29, 2010 at 14:17, Ken wrote: > > > there > > is also a mobile optimized page with just that checkbox on twitter.comthat > > you could use too. > > > > could be useful.. what's the URL? > > thanks > > Ken > -- Abraham Williams | Developer for hire

[twitter-dev] Re: Incorrect signature when calling update url /1/statuses/update.xml

2010-04-29 Thread Rahul
So what are trying to say is that i should explicitly add Content-type header in the message going out and that too before creating the signature? Thanks, Rahul On Apr 29, 4:58 pm, Taylor Singletary wrote: > Since you're sending a status, you should be setting a Content-Type header > to indicate

[twitter-dev] Re: API call to turn on location-based tweets?

2010-04-29 Thread Ken
> there > is also a mobile optimized page with just that checkbox on twitter.com that > you could use too. > could be useful.. what's the URL? thanks Ken

Re: [twitter-dev] Re: Incorrect signature when calling update url /1/statuses/update.xml

2010-04-29 Thread Taylor Singletary
Since you're sending a status, you should be setting a Content-Type header to indicate the type of payload -- it's best never to assume that a HTTP server or a HTTP library will know how to understand a payload without being explicitly told what kind of payload that is. The signature might be mis-c

Re: [twitter-dev] API call to turn on location-based tweets?

2010-04-29 Thread Raffi Krikorian
unfortunately, no. you could send the user to the settings page, and there is also a mobile optimized page with just that checkbox on twitter.com that you could use too. On Thu, Apr 29, 2010 at 11:56 AM, sabernar wrote: > Is there an API call where I can turn on an auth'd user's location > sett

[twitter-dev] Re: Avatar change - JSON issue

2010-04-29 Thread howard
This seems to be a good thread to ask about a roadmap issue about avatar handling, because it brings up the issue of timeline accuracy with respect to the avatar. If you use a mobile user agent to view twitter (I used iPhone 3.0) you will see an interesting layout difference with respect to avatar

[twitter-dev] Re: Incorrect signature when calling update url /1/statuses/update.xml

2010-04-29 Thread Rahul
Hello, To answer your questions. The following is the body response i receive back /1/statuses/update.xml Incorrect signature Also, I am not setting any content type header at this point & I am using "POST" only for token negotiation. and have not tried any get restricted resource yet. I

Re: [twitter-dev] Re: Incorrect signature when calling update url /1/statuses/update.xml

2010-04-29 Thread Taylor Singletary
Hi Rahul, I'm trying to think of other reasons. We might be throwing the invalid signature error in a case where the signature is not in fact invalid. How about requests are not of the type POST? Have you had a GET (other than OAuth token negotiation steps) work for you? When you were doing the t

[twitter-dev] Re: Incorrect signature when calling update url /1/statuses/update.xml

2010-04-29 Thread Rahul
Taylor, A quick update on this. I tried generating the signature from my library and the page mentioned below they both seems tbe exactly the same. http://hueniverse.com/2008/10/beginners-guide-to-oauth-part-iv-signing-requests/ What else can be the reason and how come twitter is responding

[twitter-dev] Re: Incorrect signature when calling update url /1/statuses/update.xml

2010-04-29 Thread Rahul
Any Clues or suggestions ? Thanks, Rahul On Apr 29, 1:19 pm, Rahul wrote: > Taylor, > > Thanks for taking a look at it. and to answer your question yes I do > pass the status in the signature basetring. > > Also below is my string which i pass to the below mentioned toSign > variable. > > toSign

Re: [twitter-dev] API Suggestion - Add Meta Data to twitter links...

2010-04-29 Thread Abraham Williams
Twitter Annotations have been announced. Lets you add lots of metadata to statuses. http://groups.google.com/group/twitter-development-talk/msg/e6394e433b6582c5 Abraham On Thu, Apr 29, 2010 at 11:39, mishagray wrote: > One thought that I have had, is that 3rd party developers can't ADD > any m

[twitter-dev] Is there a popup sized or small dimensions version of the oauth login page?

2010-04-29 Thread app
My twitter application is a web application in a tiny widget without a lot of height or width, forwarding the user to the default oauth login form on Twitter is an undesirable user experience give that the existing page does not fit in the widgets dimensions. Facebook allows developers to provide a

[twitter-dev] Re: Trouble with OAuth Consumer example in Java

2010-04-29 Thread Thom Nichols
Hi Taylor, Thanks for your quick response. So I did notice the ampersand at the end of the consumer secret (normally it's between the consumer secret and the token secret, right?) The HMAC_SHA1 class that I'm attempting to use in my above example does that (line 69 of HMAC_SHA1.java), and in my

[twitter-dev] API call to turn on location-based tweets?

2010-04-29 Thread sabernar
Is there an API call where I can turn on an auth'd user's location setting? I'm referring to the setting "Add a location to your tweets". In my app, I want to give the users a choice on whether they can attach their location to their tweet, but it only works if the user has that setting in the pr

[twitter-dev] API Suggestion - Add Meta Data to twitter links...

2010-04-29 Thread mishagray
One thought that I have had, is that 3rd party developers can't ADD any more detail to Twitter posts, than what is contained inside the 120 characters, except for maybe location data. However with the growth of embedding LINKS inside of tweets, would it make sense to develop a Twitter XML Meta dat

Re: [twitter-dev] Re: Search API - from:xxx not returning @ replies

2010-04-29 Thread Abraham Williams
Probably related to this: http://groups.google.com/group/twitter-development-talk/msg/3af17ba93d66abbf On Thu, Apr 29, 2010 at 11:52, mikawhite wrote: > Comcastbonnie confirms this is not unusual: > > http://twitter.com/ComcastBonnie/statuses/13083585494 > > > That this error happens for some an

[twitter-dev] Re: Search API - from:xxx not returning @ replies

2010-04-29 Thread mikawhite
Comcastbonnie confirms this is not unusual: http://twitter.com/ComcastBonnie/statuses/13083585494 That this error happens for some and not others is not surprising. With new focus on the Search API this type of issue can be addressed :)

Re: [twitter-dev] Search API - from:xxx not returning @ replies

2010-04-29 Thread Abraham Williams
The API worked for me. http://hurl.it/hurls/b038fc2feab35f899dad30dc3d30de8b310b8520/016284e356b27667be31737e2aeb7d6593ea87dc On Thu, Apr 29, 2010 at 11:39, mikawhite wrote: > > Thursday 2010.04.29 - 11:33am PDT > > Search API : No posted @ replies are found > > I tried > > from:comcastbonnie >

[twitter-dev] Search API - from:xxx not returning @ replies

2010-04-29 Thread mikawhite
Thursday 2010.04.29 - 11:33am PDT Search API : No posted @ replies are found I tried from:comcastbonnie from:al3x from:raffi Search web is OK.

Re: [twitter-dev] What is the best way to find all the replies to a tweet?

2010-04-29 Thread Abraham Williams
There is no quicker way other then maybe using the Streaming API but you will not get any historical data from the Stream. Abraham On Thu, Apr 29, 2010 at 00:07, Dushyant wrote: > I can think of only one efficient way which is to use the status > mentions. Is there any other quicker way? > > ht

Re: [twitter-dev] Re: xAuth Approval?

2010-04-29 Thread Abraham Williams
On Thu, Apr 29, 2010 at 03:17, Ivo wrote: > Also I can't find the word "Browser" in "Twitter Client", and what's > so secure about the Browser anyway? There's no reason to trust it! > It's just another program, like the Twitter Client of your choice is > too. Or can you make Mozilla responsible i

[twitter-dev] Re: Is /users/show broken or is it just me?

2010-04-29 Thread Ryan Rosario
Hi Mark, My code has been running for 2 days so far without this happening. If it happens again I will get you a new set of IDs and cursors. R. On Apr 27, 10:38 pm, Mark McBride wrote: > And... now this user works.  Can you still reproduce this issue?  If > so, can you get me a new set of user

Re: [twitter-dev] Rate limit status with authentication credentials for authenticated user account.

2010-04-29 Thread Abraham Williams
http://dev.twitter.com/doc/get/account/rate_limit_status You should avoid using username/password to authenticate as you will just have to update the code in June when BasicAuth is removed. Abraham On Thu, Apr 29, 2010 at 03:58, Rushikesh

[twitter-dev] Re: Incorrect signature when calling update url /1/statuses/update.xml

2010-04-29 Thread Rahul
Taylor, Thanks for taking a look at it. and to answer your question yes I do pass the status in the signature basetring. Also below is my string which i pass to the below mentioned toSign variable. toSign: POST&https%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses %2Fupdate.xml&oauth_consumer_key%xxx

Re: [twitter-dev] Incorrect signature when calling update url /1/statuses/update.xml

2010-04-29 Thread Taylor Singletary
Hi Rahul, When you are POSTing to statuses/update.xml -- are you including the status that you are posting in your signature base string? As a URL-encoded parameter, it should be included in both your POST body and the signature base string (but not in the HTTP authorization header). Taylor Singl

[twitter-dev] Incorrect signature when calling update url /1/statuses/update.xml

2010-04-29 Thread Rahul
Folks, I have been trying this and have already spent lot of time on this but what i don't understand is how is getting the access token working and post to update is not working when i am using the same signature generation method for both the requests. Here is my complete scenario. 1. fetch the

[twitter-dev] how do I put Twitter on my site in flash?

2010-04-29 Thread JAIMESKT
I have a flash website, but I do not know how to view messages in the twitter page on my site, someone could help me with this

Re: [twitter-dev] Re: one application authentication

2010-04-29 Thread Taylor Singletary
Hi Abava, There's a feature now to get your access token for any app you have registered. You can find this by navigating to one of your application detail pages on http://dev.twitter.com/apps and clicking on the "My Token" link. Then you can use the access token and secret given to you in your ow

[twitter-dev] Re: Geolocation bug?

2010-04-29 Thread Ken
Here is the error from clicking on a neighborhood link, copied from Firebug: I.geometry is null http://a1.twimg.com/a/1272477713/javascripts/geov1.js?1272481439 Line 1

Re: [twitter-dev] Trouble with OAuth Consumer example in Java

2010-04-29 Thread Taylor Singletary
Hi Thom, I like your approach. I think there are two things possibly wrong in your implementation. The first: Your signing key needs to have the "&" character at the end, even when there's no additional oauth_token_secret in the request. Instead, of your signing key being "MCD8BKwGdgPHvAuvgvz4EQ

[twitter-dev] Geolocation bug?

2010-04-29 Thread Ken
Hey sorry to report a bug here.. (I did finally find http://twitter.com/HELP via Google, but there's no confirmation that the report was received. Upon submission of the bug report I was redirected to http://twitter.com/help/start.) Anyway, it is sort of a developer thing, concerning geolocated

[twitter-dev] Trouble with OAuth Consumer example in Java

2010-04-29 Thread Thom Nichols
So I'm trying to implement an OAuth consumer* and running into some trouble. As a sanity check I'm trying to replicate the example provided in the dev documentation (http://dev.twitter.com/pages/ auth#request-token). I'm stuck when generating the signature for the request. That is, if I use the

Re: [twitter-dev] Iphone search option question

2010-04-29 Thread Taylor Singletary
Today, the Search API is accessible on http://search.twitter.com and doesn't require OAuth. You identify yourself by setting a HTTP User-Agent with the HTTP library you use to perform searches. You'll be issuing requests like http://search.twitter.com/search.json?q=twitter Then consuming the outp

Re: [twitter-dev] Re: server app publishing twitter status updates with oauth?

2010-04-29 Thread Lil Peck
Squeaky wheel here again. Some of us have been asking for oauth examples for our single user web apps (currently basic auth) that automatically post updates via either php curl or classic asp xhttp. While we're all trying to wrap our heads around oauth, it seems to me that there certainly must be l

[twitter-dev] Re: get public replies (or mentions) to following

2010-04-29 Thread Orian Marx (@orian)
You could try requesting an invite here: http://api.replyto.it/ On Apr 28, 11:57 pm, athanhcong wrote: > Hi all, > In my apps, I want to (1)"get all recent official replies (or > mentions) to my following and also the tweet's ids that replies reply > to" OR (2)"get all replies to a tweet" > I fou

Re: [twitter-dev] Re: Invalid / used nonce but only for certain user names?

2010-04-29 Thread Taylor Singletary
We have a weird error condition in the OAuth implementation right now that throws invalid nonce errors when it's not necessarily the issue. We're still tracking what exactly causes this down, but believe that it's not applicable to the OAuth implementation rewrite we'll soon be rolling out. In the

Re: [twitter-dev] Re: server app publishing twitter status updates with oauth?

2010-04-29 Thread Taylor Singletary
Hi Simon, You've figured out all the right answers! Glad to hear. SignPost should work fine for you with Twitter, but I'll just mention that it has some issues with other services with stricter OAuth implementations. Wish you luck in finding your way to OAuth, and we're here to help if you get st

[twitter-dev] Iphone search option question

2010-04-29 Thread dw I
Hi! Im trying to put an twitter-search option (so no sign-in) in my iphone application, for an assignment, but dont understand how to do so. All the resources seem to be for webbased applications.. Can somebody please help me get started?Would be very much appriciated!!! Thanks!

Re: [twitter-dev] 413 errors from streaming api

2010-04-29 Thread John Kalucki
There are several conditions that will result in a 413. You'll get a short text message back with the error code that should describe the problem. Note that the default access role limits you to following just 400 userids. You'll need elevated access to follow more. Yes, please send POST params. U

Re: [twitter-dev] get public replies (or mentions) to following

2010-04-29 Thread Niklas Deutschmann
Hi, In my apps, I want to (1)"get all recent official replies (or mentions) to my following and also the tweet's ids that replies reply to" OR (2)"get all replies to a tweet" Here's a discussion on this feature - won't come very soon, I think: http://code.google.com/p/twitter-api/issues/detai

[twitter-dev] 413 errors from streaming api

2010-04-29 Thread Paul Tarjan
I'm connecting to the streaming API with many userids in the filter param, and quickly went over my URL request length and got HTTP 413. Can I send post params? How else can I get updates from a large set of users in a streaming fashion? Thanks Paul

Re: [twitter-dev] Duplicate Statuses in Public Timeline

2010-04-29 Thread John Kalucki
What is your goal for this application? Are you trying to get a sampling of statuses for analysis, or for occasional casual display? If the former, you should use a sample method on the Streaming API. If the later, please persist in your quest for a reasonably unique result set. The public timelin

Re: [twitter-dev] About update limits

2010-04-29 Thread Raffi Krikorian
the numbers are roughly broken up over the day. and the limit applies to an account. and yes - there is a whitelisting for status/updates -- please e-mail a...@twitter to ask for it. On Thu, Apr 29, 2010 at 5:26 AM, akaii wrote: > This is what the FAQ has to say about status update limits: > >

[twitter-dev] Rate limit status with authentication credentials for authenticated user account.

2010-04-29 Thread Rushikesh Bhanage
Hi there, We are developing an app in which we need little of your help. may I know how to get rate-limit status if we provide authentication credentials of an authenticated user. is it possible if we provide user name and password manually through code instead of twitter OAuth. If it is, how c

[twitter-dev] About update limits

2010-04-29 Thread akaii
This is what the FAQ has to say about status update limits: Updates: 1,000 per day. The daily update limit is further broken down into smaller limits for semi-hourly intervals. Retweets are counted as updates. I'm a little unclear as to what exactly is meant by "further broken down into smaller l

Re: [twitter-dev] Duplicate Statuses in Public Timeline

2010-04-29 Thread Raffi Krikorian
hi matt. are you using since_id on your public timeline calls? On Thu, Apr 29, 2010 at 4:54 AM, mattarnold1977 wrote: > This is the third time I've reported this issue in the last couple of > weeks. I still have not received any word back from Twitter support > regarding this issue. My server

[twitter-dev] Duplicate Statuses in Public Timeline

2010-04-29 Thread mattarnold1977
This is the third time I've reported this issue in the last couple of weeks. I still have not received any word back from Twitter support regarding this issue. My server log is filling up with duplicate status errors coming from the public timeline. I'm waiting to hit the timeline until after th

Re: [twitter-dev] Mobile OAuth Summary

2010-04-29 Thread Raffi Krikorian
hi. i'll follow up on this - do you have a notion of what browsers, what phones, etc. your users are coming from On Thu, Apr 29, 2010 at 1:49 AM, twittme_mobi wrote: > Hello, > > I migrated my mobile web site to OAuth. > Now, I have a lot of users complaining that the OAuth page of twitter > is

[twitter-dev] Re: xAuth Approval?

2010-04-29 Thread Ivo
Well I don't like that.. does anybody here think about user experience? What is a rock solid security model good for, when nobody uses it because it's just cumbersome? As always in life, trade offs need to be made. I could design a black box where nothing would ever get in or out, but this box woul

[twitter-dev] Mobile OAuth Summary

2010-04-29 Thread twittme_mobi
Hello, I migrated my mobile web site to OAuth. Now, I have a lot of users complaining that the OAuth page of twitter is not mobile friendly.Some of them are getting just a blank screen or just cannot open it. My honest question is - this is being discussed many times but where are we with this? A

[twitter-dev] What is the best way to find all the replies to a tweet?

2010-04-29 Thread Dushyant
I can think of only one efficient way which is to use the status mentions. Is there any other quicker way? http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-mentions

[twitter-dev] Re: Accurately accessing favorites

2010-04-29 Thread glenn gillen
> tweet was favorites. So I can't just grab pages of favorites until I > reach the date of the most recent favorite from the week before... > > Is there another way? I was thinking of something like the following to get around it: * retrieve user's latest `favourites_count` from users/lookup * wh