[twitter-dev] Re: Seeing weird, malformed HTTP responses? We're on it.

2010-07-19 Thread artesea
Except that I find status.twitter.com is the last place to look for
any information about faults.
We're getting the flak from users for around 3-4 hours before anything
relating to the issue appears on status, and the only official tweets
come from the twitterapi account which none of the users follow.

Ryan

On 20 July, 07:22, Matt Harris  wrote:
> We continue to work on the issues and will be posting updates 
> tohttp://status.twitter.comas we have news. Please check there for the most
> up to date details.
>
> Thanks for your patience and support as we work through these issues.
>
> Best,
> Matt
>
> On Mon, Jul 19, 2010 at 10:08 PM, Jason LaFollette <
>
>
>
>
>
> jason.lafolle...@gmail.com> wrote:
> > Incase it helps anyone investigating...
>
> > users/lookup.json returns a complete response when I access it through
> > a web browser or fiddler.net
>
> > users/lookup.json returns a partial response when I access it
> > programmatically through a .NET WebRequest or through curl from an OSX
> > command line
>
> > I originally thought it might be http request headers, but I've
> > stripped out ever header except Auth within fiddler and I continue to
> > get full responses.
>
> > On Jul 20, 12:59 am, goodtest  wrote:
> > > +1
>
> > > On Jul 19, 9:25 pm, Cameron Kaiser  wrote:
>
> > > > > Any update on these messed up responses? I'm currently seeing users/
> > > > > lookup.json responses get truncated if I request more than a small
> > > > > number of users.
>
> > > > Ditto for direct_messages.json, although the main timeline is a bit
> > better.
>
> > > > --
> > > >  personal:
> >http://www.cameronkaiser.com/--
> > > >   Cameron Kaiser * Floodgap Systems *www.floodgap.com*
> > ckai...@floodgap.com
> > > > -- When you don't know what you're doing, do it neatly.
> > ---
>
> --
>
> Matt Harris
> Developer Advocate, Twitterhttp://twitter.com/themattharris


[twitter-dev] RT (retweet) path trace . . .

2010-07-19 Thread hkimscil
Please pardon my ignorance . . . Is there any way to trace the retweet
paths. Since the Twitter added "a button for retweet", the origins of
any retweeted message becomes the first person who started the tweet
message. But, as I understand, some people retweet "retweeted
messages." Or some retweet "re-retweeted messages". Is there any way
to record that sorts of paths? Thanks!


Re: [twitter-dev] Re: Having problems after OAuth login

2010-07-19 Thread Matt Harris
We are experiencing a number of issues at the moment which are preventing
the API and website from operating correctly. You can read more on this
mailing list thread [1] and stay up to date with progress by checking
http://status.twitter.com

Best,
Matt

1.
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/7d4e73b85f6d9174/6b8629833b3b4ea2#6b8629833b3b4ea2

On Mon, Jul 19, 2010 at 9:46 PM, Adam Loving  wrote:

> I am also currently seeing the "Something is technically wrong."
> response on calls to https://api.twitter.com/oauth/access_token
>
>
>
> On Jul 19, 8:04 pm, akaii  wrote:
> > We're experiencing problems with Twitter's OAuth login. After the
> > "Redirecting you back to your application..." page, we get a 500
> > error:
> >
> > "Internal Server Error
> >
> > The server encountered an internal error or misconfiguration and was
> > unable to complete your request.
> >
> > Please contact the server administrator, y...@example.com and inform
> > them of the time the error occurred, and anything you might have done
> > that may have caused the error.
> >
> > More information about this error may be available in the server error
> > log."
> >
> > Is there anything wrong with Twitter's services at the moment? This
> > started around 12-14 hours prior to this mail (10pm Tokyo time). The
> > API status page indicates nothing is wrong though.
>



-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


Re: [twitter-dev] Re: Seeing weird, malformed HTTP responses? We're on it.

2010-07-19 Thread Matt Harris
We continue to work on the issues and will be posting updates to
http://status.twitter.com as we have news. Please check there for the most
up to date details.

Thanks for your patience and support as we work through these issues.

Best,
Matt


On Mon, Jul 19, 2010 at 10:08 PM, Jason LaFollette <
jason.lafolle...@gmail.com> wrote:

> Incase it helps anyone investigating...
>
> users/lookup.json returns a complete response when I access it through
> a web browser or fiddler.net
>
> users/lookup.json returns a partial response when I access it
> programmatically through a .NET WebRequest or through curl from an OSX
> command line
>
> I originally thought it might be http request headers, but I've
> stripped out ever header except Auth within fiddler and I continue to
> get full responses.
>
> On Jul 20, 12:59 am, goodtest  wrote:
> > +1
> >
> > On Jul 19, 9:25 pm, Cameron Kaiser  wrote:
> >
> >
> >
> > > > Any update on these messed up responses? I'm currently seeing users/
> > > > lookup.json responses get truncated if I request more than a small
> > > > number of users.
> >
> > > Ditto for direct_messages.json, although the main timeline is a bit
> better.
> >
> > > --
> > >  personal:
> http://www.cameronkaiser.com/--
> > >   Cameron Kaiser * Floodgap Systems *www.floodgap.com*
> ckai...@floodgap.com
> > > -- When you don't know what you're doing, do it neatly.
> ---
>



-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


[twitter-dev] What are the valid screenname and password charaters?

2010-07-19 Thread SM
I'd like to test some OAuth code. As part of that I'd like to create
some test accounts with representative screennames and passwords so I
can make sure I do the encoding right.

What characters are valid for screenname and password?


[twitter-dev] Re: Issues with OAuth

2010-07-19 Thread acreadinglist
Add me to the list.

On Jul 19, 7:24 pm, JeremyE  wrote:
> I'm having the same exact issue while developing my app. Internal
> Server Error 500 from Twitter. Trying to get my access token.


[twitter-dev] Re: Seeing weird, malformed HTTP responses? We're on it.

2010-07-19 Thread Jason LaFollette
Incase it helps anyone investigating...

users/lookup.json returns a complete response when I access it through
a web browser or fiddler.net

users/lookup.json returns a partial response when I access it
programmatically through a .NET WebRequest or through curl from an OSX
command line

I originally thought it might be http request headers, but I've
stripped out ever header except Auth within fiddler and I continue to
get full responses.

On Jul 20, 12:59 am, goodtest  wrote:
> +1
>
> On Jul 19, 9:25 pm, Cameron Kaiser  wrote:
>
>
>
> > > Any update on these messed up responses? I'm currently seeing users/
> > > lookup.json responses get truncated if I request more than a small
> > > number of users.
>
> > Ditto for direct_messages.json, although the main timeline is a bit better.
>
> > --
> >  
> > personal:http://www.cameronkaiser.com/--
> >   Cameron Kaiser * Floodgap Systems *www.floodgap.com*ckai...@floodgap.com
> > -- When you don't know what you're doing, do it neatly. 
> > ---


[twitter-dev] Re: Seeing weird, malformed HTTP responses? We're on it.

2010-07-19 Thread Raj
look forward to the fix soon Taylor!

-Raj

On Jul 19, 1:36 pm, Taylor Singletary 
wrote:
> Hi Developers,
>
> Along with a host of other issues we've been keeping you in the loop 
> onhttp://status.twitter.com-- we have another issue that a number of you have
> pointed out:
>
> *Our HTTP responses appear to be insane.*
>
> - We're sending Content-Length twice, with differing numbers -- and
> generally sending duplicate HTTP headers as a whole.
>
> - We're sending the incorrect Content-Type corresponding to the response
> format you are requesting (though the content itself is likely in the format
> you are expecting).
>
> - We're truncating response bodies.
>
> We've got the team looking into this right now. It's too early for an ETA on
> a fix.
>
> Thank you for your patience. This is, admittedly, a pretty weird issue.
>
> Taylor


[twitter-dev] Re: Seeing weird, malformed HTTP responses? We're on it.

2010-07-19 Thread Paul

Hi,

Thanks for the announce, I just wish I'd noticed it 4 hours ago ;(

'Tis indeed bizarre, and sends cURL loopy :)

Good luck!
- Paul


[twitter-dev] Re: Issues with OAuth

2010-07-19 Thread JeremyE
I'm having the same exact issue while developing my app. Internal
Server Error 500 from Twitter. Trying to get my access token.


[twitter-dev] Re: Having problems after OAuth login

2010-07-19 Thread Adam Loving
I am also currently seeing the "Something is technically wrong."
response on calls to https://api.twitter.com/oauth/access_token



On Jul 19, 8:04 pm, akaii  wrote:
> We're experiencing problems with Twitter's OAuth login. After the
> "Redirecting you back to your application..." page, we get a 500
> error:
>
> "Internal Server Error
>
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
>
> Please contact the server administrator, y...@example.com and inform
> them of the time the error occurred, and anything you might have done
> that may have caused the error.
>
> More information about this error may be available in the server error
> log."
>
> Is there anything wrong with Twitter's services at the moment? This
> started around 12-14 hours prior to this mail (10pm Tokyo time). The
> API status page indicates nothing is wrong though.


[twitter-dev] still down

2010-07-19 Thread MeltingIce
Looks like logins have been broken for 11-12 hours now for TwitPic.
On the plus side, our servers are finally getting a breath of fresh
air from the low number of requests :P


[twitter-dev] Re: Issues with OAuth

2010-07-19 Thread Jérôme Gravel-Niquet
Same here.

Worked fine in the morning, I thought my app was set for the day (I
just released a new version) but then when I tried it myself later, I
stumbled on this issue.

It's pretty bad since I was releasing a new version today and was
hoping for it to gain much momentum. I looked for a mistake of my own
for hours before I looked at the Twitter API account. Lesson learned.

Anyways, I hope this gets fixed soon, my app is pretty much unusable
except for about 90 people who logged in successfully before the
problem started occurring.

Jerome.

On 19 juil, 15:53, ap  wrote:
> I've been experiencing OAuth issues with my app today. If I'm already
> logged into twitter, the OAuth redirects to my app just fine. However,
> if I have to land on the authentication page and enter my username and
> password and click submit, I get the following error:
>
> Mon Jul 19 15:40:47 EDT 2010 : Twitter exception:
> TwitterException{message=500:Something is broken.  Please post to the
> group so the Twitter team can investigate.[Some HTML here],
> statusCode=500, retryAfter=0, rateLimitStatus=null}
>
> I'm not sure if this is the group that the message is asking me to
> post in, if not, please let me know the correct group to post to so I
> can get some assistance.
>
> Thanks!


[twitter-dev] Re: Seeing weird, malformed HTTP responses? We're on it.

2010-07-19 Thread goodtest
+1

On Jul 19, 9:25 pm, Cameron Kaiser  wrote:
> > Any update on these messed up responses? I'm currently seeing users/
> > lookup.json responses get truncated if I request more than a small
> > number of users.
>
> Ditto for direct_messages.json, although the main timeline is a bit better.
>
> --
>  personal:http://www.cameronkaiser.com/--
>   Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com
> -- When you don't know what you're doing, do it neatly. 
> ---


Re: [twitter-dev] Re: Seeing weird, malformed HTTP responses? We're on it.

2010-07-19 Thread Cameron Kaiser
> Any update on these messed up responses? I'm currently seeing users/
> lookup.json responses get truncated if I request more than a small
> number of users.

Ditto for direct_messages.json, although the main timeline is a bit better.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- When you don't know what you're doing, do it neatly. ---


[twitter-dev] Re: Seeing weird, malformed HTTP responses? We're on it.

2010-07-19 Thread Hayes Davis
Any update on these messed up responses? I'm currently seeing users/
lookup.json responses get truncated if I request more than a small
number of users.

Hayes

On Jul 19, 4:28 pm, jsleuth  wrote:
> Yes indeed.  It's a weird one.
>
> Thanks for the feedback.
>
> JS
>
> On Jul 19, 4:36 pm, Taylor Singletary 
> wrote:
>
>
>
> > Hi Developers,
>
> > Along with a host of other issues we've been keeping you in the loop 
> > onhttp://status.twitter.com--we have another issue that a number of you have
> > pointed out:
>
> > *Our HTTP responses appear to be insane.*
>
> > - We're sending Content-Length twice, with differing numbers -- and
> > generally sending duplicate HTTP headers as a whole.
>
> > - We're sending the incorrect Content-Type corresponding to the response
> > format you are requesting (though the content itself is likely in the format
> > you are expecting).
>
> > - We're truncating response bodies.
>
> > We've got the team looking into this right now. It's too early for an ETA on
> > a fix.
>
> > Thank you for your patience. This is, admittedly, a pretty weird issue.
>
> > Taylor


[twitter-dev] Having problems after OAuth login

2010-07-19 Thread akaii
We're experiencing problems with Twitter's OAuth login. After the
"Redirecting you back to your application..." page, we get a 500
error:

"Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, y...@example.com and inform
them of the time the error occurred, and anything you might have done
that may have caused the error.

More information about this error may be available in the server error
log."

Is there anything wrong with Twitter's services at the moment? This
started around 12-14 hours prior to this mail (10pm Tokyo time). The
API status page indicates nothing is wrong though.


[twitter-dev] SSL Certificates renewal on Tuesday 20th July

2010-07-19 Thread themattharris
Hey developers,

Many of you have noticed our SSL certificate for api.twitter.com will
expire on 26th July 2010, with mobile.twitter.com and
search.twitter.com soon after. We wanted to give you a heads up that
tomorrow at 2PM PDT (10PM GMT) we plan to upgrade the SSL certificate
on our servers. As our servers are load balanced we expect this to be
unnoticeable to you and your users but, as we will need to restart the
servers there is a chance a user may get a failed request.

The certificate will be from the same vendor as before and be a
wildcard certificate for *.twitter.com. The certificate will be valid
for 2 years but could be changed or upgraded as the need requires.
We'll let you know beforehand if we will be doing that.

Best,
Matt


[twitter-dev] max_id being added to search queries?

2010-07-19 Thread Mark Linsey
Hi all,

I am using the Twitter Search API.  I am finding today that even though I am
not providing a max_id or a since_id, both are being added.  I am getting a
response warning saying that since_id has been adjusted.  I assume max_id is
being adjusted for the same reason.

I am fetching this url:
http://search.twitter.com/search.json?q=qwerpoiu&rpp=100&page=1&result_type=recent&lang=en

and getting this response:
{"results":[],"max_id":18949422775,"since_id":18903514913,"refresh_url":"?since_id=18949422775&q=qwerpoiu","results_per_page":100,"page":1,"completed_in":0.020541,"warning":"adjusted
since_id to 18903514913 due to temporary error","query":"qwerpoiu"}

I was expecting to get this tweet, which does appear on search.twitter.com:
http://twitter.com/mjltest/statuses/18953620545

I assume that these are extra limits put in place today to deal with other
issues in the Twitter API.  Is there any way of getting recent search
results now?

-Mark


[twitter-dev] Re: Issues with OAuth

2010-07-19 Thread kosso
Yup.

it's down. has been for hours.
users of my app can't log in / authenticate their twitter accounts.

If they're already logged in, they're fine. ie: other API calls work.


On Jul 19, 4:02 pm, cyclemenow  wrote:
> I'm unable to use my own app!
>
> The status page implies that everything is up right now (http://
> dev.twitter.com/status).
> I haven't been able to use OAuth almost the entire day.
>
> Does this issue affect everybody?  Are there any workarounds?
>
> -Matthew
>
> On Jul 19, 3:10 pm, CJ  wrote:
>
> > Hi Ap,
>
> > I thought I've broken my software. I had exactly the same error
> > message after my software performed a HTTP GET for "/oauth/
> > access_token?oauth_token=.&oauth_verifier=PIN".
>
> > Hope this issue can be resolved asap.
>
> > CJ
>
> > On Jul 19, 10:04 pm, Tim Davies  wrote:
>
> > > I've also been having this issue solidly for the last 5 hrs.


Re: [twitter-dev] Re: Issues with OAuth

2010-07-19 Thread Fabien Penso
On Tue, Jul 20, 2010 at 1:02 AM, cyclemenow  wrote:
> I'm unable to use my own app!

same here.


[twitter-dev] Re: Issues with OAuth

2010-07-19 Thread cyclemenow
I'm unable to use my own app!

The status page implies that everything is up right now (http://
dev.twitter.com/status).
I haven't been able to use OAuth almost the entire day.

Does this issue affect everybody?  Are there any workarounds?

-Matthew

On Jul 19, 3:10 pm, CJ  wrote:
> Hi Ap,
>
> I thought I've broken my software. I had exactly the same error
> message after my software performed a HTTP GET for "/oauth/
> access_token?oauth_token=.&oauth_verifier=PIN".
>
> Hope this issue can be resolved asap.
>
> CJ
>
> On Jul 19, 10:04 pm, Tim Davies  wrote:
>
>
>
> > I've also been having this issue solidly for the last 5 hrs.


[twitter-dev] Re: Issues with OAuth

2010-07-19 Thread CJ
Hi Ap,

I thought I've broken my software. I had exactly the same error
message after my software performed a HTTP GET for "/oauth/
access_token?oauth_token=.&oauth_verifier=PIN".

Hope this issue can be resolved asap.

CJ

On Jul 19, 10:04 pm, Tim Davies  wrote:
> I've also been having this issue solidly for the last 5 hrs.


Re: [twitter-dev] Re: xauth token exchange failing

2010-07-19 Thread Isaiah Carew
OK, good to know.  Just want to make sure it's not just me.  Misery loves 
company, I guess.  :-P

isaiah
http://twitter.com/isaiah

On Jul 19, 2010, at 2:54 PM, Tim Davies wrote:

> Im getting the same isalah. Twitter are aware of the issue. its during
> handshake for creating new tokens and maybe linked to several other
> OAuth issues that came to attention this morning.
> 
> Im hoping it will be fixed shortly!



[twitter-dev] Re: xauth token exchange failing

2010-07-19 Thread Tim Davies
Im getting the same isalah. Twitter are aware of the issue. its during
handshake for creating new tokens and maybe linked to several other
OAuth issues that came to attention this morning.

Im hoping it will be fixed shortly!


Re: [twitter-dev] xauth token exchange failing

2010-07-19 Thread Isaiah Carew

The status page at: dev.twitter.com/status says things are all go -- but I'm 
still getting 500s during token exchange.

Any updates?

isaiah
http://twitter.com/isaiah

On Jul 19, 2010, at 12:55 PM, Taylor Singletary wrote:

> Hi Isaiah,
> 
> This is related to the same issue you see on status.twitter.com -- it's 
> effecting many user-related write operations (including, for instance, 
> instantiating an access token on behalf of a user). We are working to resolve 
> the issue.
> 
> Taylor
> 
> 
> On Mon, Jul 19, 2010 at 12:10 PM, Isaiah Carew  wrote:
> 
> Hi,
> 
> I'm seeing across the board failure of xAuth token exchange for my app, Kiwi. 
>  The app has not changed for months and is in use by thousands of users.  So 
> I don't think it's something I've done recently.
> 
> Is it related to what I'm seeing on status.twitter.com?
> 
> Is there a way to tell whether the problem is:  twitter, my IP, my app, or my 
> accounts?
> 
> Is there something in the HTTP response tea leaves that can tell me more 
> info?  Currently I'm getting:
> 
> Status = "500 Internal Server Error";
> 
> 
> isaiah
> http://twitter.com/isaiah
> 
> 



[twitter-dev] Re: Seeing weird, malformed HTTP responses? We're on it.

2010-07-19 Thread jsleuth
Yes indeed.  It's a weird one.

Thanks for the feedback.

JS

On Jul 19, 4:36 pm, Taylor Singletary 
wrote:
> Hi Developers,
>
> Along with a host of other issues we've been keeping you in the loop 
> onhttp://status.twitter.com-- we have another issue that a number of you have
> pointed out:
>
> *Our HTTP responses appear to be insane.*
>
> - We're sending Content-Length twice, with differing numbers -- and
> generally sending duplicate HTTP headers as a whole.
>
> - We're sending the incorrect Content-Type corresponding to the response
> format you are requesting (though the content itself is likely in the format
> you are expecting).
>
> - We're truncating response bodies.
>
> We've got the team looking into this right now. It's too early for an ETA on
> a fix.
>
> Thank you for your patience. This is, admittedly, a pretty weird issue.
>
> Taylor


[twitter-dev] Re: Issues with OAuth

2010-07-19 Thread Tim Davies
I've also been having this issue solidly for the last 5 hrs.


Re: [twitter-dev] abruptly cut connections with JSON

2010-07-19 Thread Taylor Singletary
Hi Cameron:

We're looking into this particular instance of API nuttiness:
http://bit.ly/9Z8j9B

No word yet on whether it's directly related to the other issues floating
around at the moment.

Taylor

On Mon, Jul 19, 2010 at 1:30 PM, Cameron Kaiser wrote:

> I'm getting reports from multiple users which I can confirm where the
> server
> starts to reply (correctly) to a signed request, then abruptly drops the
> connection during the transaction -- iow, the server accepts the request
> and
> starts sending a well-formed reply, but then drops it in the middle without
> completely transmitting data. Is this part of the OAuth issues this
> morning?
>
> --
>  personal:
> http://www.cameronkaiser.com/ --
>  Cameron Kaiser * Floodgap Systems * www.floodgap.com *
> ckai...@floodgap.com
> -- The optimum committee has no members. -- Norman Augustine
> --
>


Re: [twitter-dev] statuses/home_timeline.xml returning text/html instead of text/xml

2010-07-19 Thread Bill Jacobson
Request address was 
http://api.twitter.com/1/statuses/home_timeline.json?count=200&since_id=18937297074

Don't know how to get the rest.

Response=

Date: Mon, 19 Jul 2010 19:34:27 GMT
Server: hi
Status: 200 OK
X-Transaction: 1279568067-371-18115
X-Transaction: 1279568067-371-18115
X-RateLimit-Limit: 150
X-RateLimit-Limit: 150
ETag: "436458580446ee43d8d16a7f59188e7e"
ETag: "436458580446ee43d8d16a7f59188e7e"
Last-Modified: Mon, 19 Jul 2010 19:34:27 GMT
Last-Modified: Mon, 19 Jul 2010 19:34:27 GMT
X-RateLimit-Remaining: 143
X-RateLimit-Remaining: 143
X-Runtime: 0.05456
X-Runtime: 0.05456
Content-Type: text/html; charset=utf-8
Content-Length: 46998
Content-Length: 4659
Pragma: no-cache
Pragma: no-cache
X-RateLimit-Class: api
X-RateLimit-Class: api
X-Revision: DEV
X-Revision: DEV
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, 
post-check=0
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, 
post-check=0

X-RateLimit-Reset: 1279570023
X-RateLimit-Reset: 1279570023
Set-Cookie: k=67.176.217.52.1279568067505660; path=/; expires=Mon, 
26-Jul-10 19:34:27 GMT; domain=.twitter.com
Set-Cookie: guest_id=12795680675365717; path=/; expires=Wed, 18 Aug 2010 
19:34:27 GMT

Set-Cookie: lang=en; path=/
Set-Cookie: 
_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCOY7M%252BwpAToHaWQiJWIxNjMxMmM2OWE0Yzg4%250AYzZiYzNkYjczY2IzOWE5NjQyIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--9760890cd67ae21e1415b4f4fd5f04f4a1a4e876; 
domain=.twitter.com; path=/

Vary: Accept-Encoding
Connection: close


On 07/19/2010 02:53 PM, Taylor Singletary wrote:

Hi Everyone,

This sounds very strange. Anyone have any captures of the entire 
request sequence?
  - Your HTTP headers, including acceptance headers, the full URI 
being executed, etc.

  - The full response, including HTTP Headers

(as can be provided without compromising private user / app data)

Thanks!
Taylor


On Mon, Jul 19, 2010 at 12:36 PM, Bill Jacobson > wrote:


I'm expecting 'application/json' and am suddenly getting 'text/html'.


On 07/19/2010 01:58 PM, Rich wrote:

I'm seeing an increase in the home timeline returning a
content-type
of text/html instead of text/xml

The actual body of the request is actually the correct XML
response
but my app checks for the correct HTTP header content-type.

Is anyone else seeing this?





[twitter-dev] Seeing weird, malformed HTTP responses? We're on it.

2010-07-19 Thread Taylor Singletary
Hi Developers,

Along with a host of other issues we've been keeping you in the loop on
http://status.twitter.com -- we have another issue that a number of you have
pointed out:

*Our HTTP responses appear to be insane.*

- We're sending Content-Length twice, with differing numbers -- and
generally sending duplicate HTTP headers as a whole.

- We're sending the incorrect Content-Type corresponding to the response
format you are requesting (though the content itself is likely in the format
you are expecting).

- We're truncating response bodies.

We've got the team looking into this right now. It's too early for an ETA on
a fix.

Thank you for your patience. This is, admittedly, a pretty weird issue.

Taylor


Re: [twitter-dev] friends_ids.json and favorites.json return content truncated to 4659 bytes

2010-07-19 Thread Cameron Kaiser
> Thanks Mark! We're looking into this. It's related in some way to the
> duplicate HTTP headers we are sending and Content-Type/Content-Length
> issues. This is very helpful!

Ah, ignore my last message, I see it's been acknowledged. Thanks, Taylor
and Marc.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- MOVIE IDEA: Blazing E-mail Signatures --


[twitter-dev] abruptly cut connections with JSON

2010-07-19 Thread Cameron Kaiser
I'm getting reports from multiple users which I can confirm where the server
starts to reply (correctly) to a signed request, then abruptly drops the
connection during the transaction -- iow, the server accepts the request and
starts sending a well-formed reply, but then drops it in the middle without
completely transmitting data. Is this part of the OAuth issues this morning?

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- The optimum committee has no members. -- Norman Augustine --


Re: [twitter-dev] friends_ids.json and favorites.json return content truncated to 4659 bytes

2010-07-19 Thread Taylor Singletary
Thanks Mark! We're looking into this. It's related in some way to the
duplicate HTTP headers we are sending and Content-Type/Content-Length
issues. This is very helpful!

Taylor

On Mon, Jul 19, 2010 at 1:19 PM, Marc Mims  wrote:

> $ curl http://api.twitter.com/1/favorites.json?screen_name=semifor |
> xclip
>  % Total% Received % Xferd  Average Speed   TimeTime
> Time  Current
> Dload  Upload   Total   Spent
> Left  Speed
> 100  4659  100  46590 0  13953  0 --:--:-- --:--:--
> --:--:-- 19172
>
>
> $ xclip -o | wc
> 4659
>
> $ xclip -o
>
> [{"favorited":false,"truncated":false,"in_reply_to_screen_name":null,"in_reply_to_user_id":null,"source":" href=\"http://vimtips.mileszs.com\"; rel=\"nofollow\">vimtips a>","created_at":"Fri Jun 11 16:00:08 +
> 2010","coordinates":null,"user":
> {"profile_background_tile":false,"description":"Like VI or VIM?  So do
> I!  Use it more effectively with daily tips. Catch them all at
> http://vimtweets.com
> .","location":"Indiana","statuses_count":361,"profile_sidebar_border_color":"181A1E","profile_image_url":"
> http://a3.twimg.com/profile_images/64545277/vim_logo_normal.png
> ","profile_use_background_image":true,"followers_count":1044,"contributors_enabled":false,"friends_count":23,"screen_name":"vimtips","lang":"en","geo_enabled":false,"created_at":"Mon
> Aug 25 16:47:56 +
> 2008","profile_background_color":"1A1B1F","favourites_count":
>
> 0,"verified":false,"profile_text_color":"66","following":null,"time_zone":"Eastern
> Time (US &
>
> Canada)","protected":false,"profile_link_color":"1f9e10","name":"vimtips","profile_background_image_url":"http://
> s.twimg.com/a/1278188204/images/themes/theme9/bg.gif","url":"http://
> vimtweets.com","id":
>
> 15983724,"notifications":null,"utc_offset":-18000,"profile_sidebar_fill_color":"252429"},"contributors":null,"place":null,"geo":null,"in_reply_to_status_id":null,"id":
> 15938740582,"text":":%s/\\ v(.*\\ n){5}/&\\ r will insert a blank line
> every 5 lines (remove spaces)
> http://is.gd/6PB6n
> "},{"geo":null,"in_reply_to_status_id":null,"in_reply_to_user_id":null,"favorited":false,"source":" href=\"http://www.hootsuite.com\"; rel=\"nofollow\">HootSuite a>","created_at":"Tue Jun 08 22:54:02 +
> 2010","coordinates":null,"user":
> {"profile_sidebar_fill_color":"efefef","description":"We are a student
> run club on the Gonzaga campus that promotes bike awareness, riding,
> and the joy of being on two wheels.","location":"Spokane,
>
> WA","notifications":null,"profile_background_tile":true,"profile_image_url":"http://
> a1.twimg.com/profile_images/466800814/
> gucyclingtwitternew_normal.png","statuses_count":
>
> 942,"profile_sidebar_border_color":"ee","profile_use_background_image":true,"followers_count":
>
> 678,"screen_name":"GonzagaCycling","contributors_enabled":false,"lang":"en","created_at":"Tue
> Jun 09 04:42:11 + 2009","friends_count":
>
> 802,"geo_enabled":true,"profile_background_color":"131516","favourites_count":
>
> 0,"following":null,"verified":false,"profile_text_color":"33","protected":false,"time_zone":"Pacific
> Time (US & Canada)","name":"Gonzaga Cycling
> Club","profile_link_color":"00","url":"http://
> www.gucycling.com","id":45766143,"profile_background_image_url":"
> http://s.twimg.com/a/1278188204/images/themes/theme14/bg.gif
> ","utc_offset":-28800},"contributors":null,"place":null,"id":15738183033,"in_reply_to_screen_name":null,"truncated":false,"text":"Car
> parked in bike lane? Email the info to Spokane PD at
> carparkedinbikel...@spokanepolice.org
> http://ow.ly/1VUFV
> "},{"favorited":false,"truncated":false,"in_reply_to_screen_name":null,"in_reply_to_user_id":null,"source":" href=\"http://friendfeed.com\"; rel=\"nofollow\">FriendFeed a>","created_at":"Sat May 29 00:04:21 +
> 2010","coordinates":null,"user":
> {"profile_background_tile":false,"description":"Social Media Architect
> and Developer --\r\nCEO, SocialToo.com --\r\nI blog at StayNAlive.com
> --\r\nFather, Entrepreneur, Published Author","location":"Salt Lake
> City, UT","statuses_count":
> 23782,"profile_sidebar_border_color":"a8c7f7","profile_image_url":"http://
> a1.twimg.com/profile_images/
>
> 1033692604/29873_10150181968265113_683545112_12516747_3363132_n_normal.jpg","profile_use_background_image":true,"followers_count":
> 25613,"contributors_enabled":false,"friends_count":
>
> 26102,"screen_name":"Jesse","lang":"en","geo_enabled":true,"created_at":"Wed
> Apr 25 02:48:53 +
> 2007","profile_background_color":"022330","favourites_count":
>
> 51,"verified":false,"profile_text_color":"33","following":null,"time_zone":"Mountain
> Time (US &
> Canada)","protected":false,"profile_link_color":"0084B4","name":"Jesse
> Stay","profile_background_image_url":"http://s.twimg.com/a/1278724399/
> images/themes/theme15/bg.png","url":"http://staynalive.com/
> jessestay","id":
>
> 5485192,"notifications":null,"utc_offset":-25200,"profile_sidebar_fill_color":"C0

[twitter-dev] Re: Issues with OAuth

2010-07-19 Thread Shannon Whitley
ap,

I'm experiencing the problem too.  It's good to hear that Taylor et al
are on the case.


[twitter-dev] friends_ids.json and favorites.json return content truncated to 4659 bytes

2010-07-19 Thread Marc Mims
$ curl http://api.twitter.com/1/favorites.json?screen_name=semifor |
xclip
  % Total% Received % Xferd  Average Speed   TimeTime
Time  Current
 Dload  Upload   Total   Spent
Left  Speed
100  4659  100  46590 0  13953  0 --:--:-- --:--:--
--:--:-- 19172


$ xclip -o | wc
4659

$ xclip -o
[{"favorited":false,"truncated":false,"in_reply_to_screen_name":null,"in_reply_to_user_id":null,"source":"http://vimtips.mileszs.com\"; rel=\"nofollow\">vimtips","created_at":"Fri Jun 11 16:00:08 +
2010","coordinates":null,"user":
{"profile_background_tile":false,"description":"Like VI or VIM?  So do
I!  Use it more effectively with daily tips. Catch them all at
http://vimtweets.com.","location":"Indiana","statuses_count":361,"profile_sidebar_border_color":"181A1E","profile_image_url":"http://a3.twimg.com/profile_images/64545277/vim_logo_normal.png","profile_use_background_image":true,"followers_count":1044,"contributors_enabled":false,"friends_count":23,"screen_name":"vimtips","lang":"en","geo_enabled":false,"created_at":"Mon
Aug 25 16:47:56 +
2008","profile_background_color":"1A1B1F","favourites_count":
0,"verified":false,"profile_text_color":"66","following":null,"time_zone":"Eastern
Time (US &
Canada)","protected":false,"profile_link_color":"1f9e10","name":"vimtips","profile_background_image_url":"http://
s.twimg.com/a/1278188204/images/themes/theme9/bg.gif","url":"http://
vimtweets.com","id":
15983724,"notifications":null,"utc_offset":-18000,"profile_sidebar_fill_color":"252429"},"contributors":null,"place":null,"geo":null,"in_reply_to_status_id":null,"id":
15938740582,"text":":%s/\\ v(.*\\ n){5}/&\\ r will insert a blank line
every 5 lines (remove spaces)
http://is.gd/6PB6n"},{"geo":null,"in_reply_to_status_id":null,"in_reply_to_user_id":null,"favorited":false,"source":";http://www.hootsuite.com\"; rel=\"nofollow\">HootSuite","created_at":"Tue Jun 08 22:54:02 +
2010","coordinates":null,"user":
{"profile_sidebar_fill_color":"efefef","description":"We are a student
run club on the Gonzaga campus that promotes bike awareness, riding,
and the joy of being on two wheels.","location":"Spokane,
WA","notifications":null,"profile_background_tile":true,"profile_image_url":"http://
a1.twimg.com/profile_images/466800814/
gucyclingtwitternew_normal.png","statuses_count":
942,"profile_sidebar_border_color":"ee","profile_use_background_image":true,"followers_count":
678,"screen_name":"GonzagaCycling","contributors_enabled":false,"lang":"en","created_at":"Tue
Jun 09 04:42:11 + 2009","friends_count":
802,"geo_enabled":true,"profile_background_color":"131516","favourites_count":
0,"following":null,"verified":false,"profile_text_color":"33","protected":false,"time_zone":"Pacific
Time (US & Canada)","name":"Gonzaga Cycling
Club","profile_link_color":"00","url":"http://
www.gucycling.com","id":45766143,"profile_background_image_url":"http://s.twimg.com/a/1278188204/images/themes/theme14/bg.gif","utc_offset":-28800},"contributors":null,"place":null,"id":15738183033,"in_reply_to_screen_name":null,"truncated":false,"text":"Car
parked in bike lane? Email the info to Spokane PD at
carparkedinbikel...@spokanepolice.org
http://ow.ly/1VUFV"},{"favorited":false,"truncated":false,"in_reply_to_screen_name":null,"in_reply_to_user_id":null,"source":";http://friendfeed.com\"; rel=\"nofollow\">FriendFeed","created_at":"Sat May 29 00:04:21 +
2010","coordinates":null,"user":
{"profile_background_tile":false,"description":"Social Media Architect
and Developer --\r\nCEO, SocialToo.com --\r\nI blog at StayNAlive.com
--\r\nFather, Entrepreneur, Published Author","location":"Salt Lake
City, UT","statuses_count":
23782,"profile_sidebar_border_color":"a8c7f7","profile_image_url":"http://
a1.twimg.com/profile_images/
1033692604/29873_10150181968265113_683545112_12516747_3363132_n_normal.jpg","profile_use_background_image":true,"followers_count":
25613,"contributors_enabled":false,"friends_count":
26102,"screen_name":"Jesse","lang":"en","geo_enabled":true,"created_at":"Wed
Apr 25 02:48:53 +
2007","profile_background_color":"022330","favourites_count":
51,"verified":false,"profile_text_color":"33","following":null,"time_zone":"Mountain
Time (US &
Canada)","protected":false,"profile_link_color":"0084B4","name":"Jesse
Stay","profile_background_image_url":"http://s.twimg.com/a/1278724399/
images/themes/theme15/bg.png","url":"http://staynalive.com/
jessestay","id":
5485192,"notifications":null,"utc_offset":-25200,"profile_sidebar_fill_color":"C0DFEC"},"contributors":null,"place":null,"geo":null,"in_reply_to_status_id":null,"id":
14940747286,"text":"RSA Animate - Drive: The surprising truth about
what motivates us
http://ff.im/-l5LiR"},{"favorited":false,"truncated":false,"contributors":null,"in_reply_to_user_id":null,"in_reply_to_screen_name":null,"source":"web","created_at":"Tue
May 18 16:37:23 + 2010","coordinates":null,"user":
{"profile_use_background_imag



Using Ne

[twitter-dev] Re: statuses/home_timeline.xml returning text/html instead of text/xml

2010-07-19 Thread Rich
Request:

GET /1/statuses/home_timeline.xml?
include_rts=true&count=200&since_id=18936844073 HTTP/1.1
Hostapi.twitter.com
User-Agent  Tweetings/3.1.2 CFNetwork/485.2 Darwin/10.4.0
Authorization   OAuth realm="", oauth_consumer_key="", oauth_token="",
oauth_signature_method="HMAC-SHA1", oauth_signature="",
oauth_timestamp="", oauth_nonce="", oauth_version="1.0"
Accept  */*
Accept-Language en-us
Accept-Encoding gzip, deflate
Cookie  
Pragma  no-cache
Connection  keep-alive

Response (note yes the http headers duplicated are being returned as
duplicated!):

HTTP/1.1 200 OK
DateMon, 19 Jul 2010 20:03:43 GMT
Server  hi
Status  200 OK
X-Transaction   
X-Transaction   
X-RateLimit-Limit   350
X-RateLimit-Limit   350
ETag 
Last-Modified   Mon, 19 Jul 2010 20:03:43 GMT
Last-Modified   Mon, 19 Jul 2010 20:03:43 GMT
X-RateLimit-Remaining   322
X-RateLimit-Remaining   322
X-Runtime   0.08525
X-Runtime   0.08525
Content-Typetext/html; charset=utf-8
Pragma  no-cache
Pragma  no-cache
X-RateLimit-Class   api_identified
X-RateLimit-Class   api_identified
X-Revision  DEV
X-Revision  DEV
Expires Tue, 31 Mar 1981 05:00:00 GMT
Expires Tue, 31 Mar 1981 05:00:00 GMT
Cache-Control   no-cache, no-store, must-revalidate, pre-check=0, post-
check=0
Cache-Control   no-cache, no-store, must-revalidate, pre-check=0, post-
check=0
X-RateLimit-Reset   1279572627
X-RateLimit-Reset   1279572627
Set-Cookie  lang=en; path=/
Set-Cookie  _twitter_sess=; domain=.twitter.com; path=/
VaryAccept-Encoding
Content-Encodinggzip
Content-Length  8431

On Jul 19, 8:53 pm, Taylor Singletary 
wrote:
> Hi Everyone,
>
> This sounds very strange. Anyone have any captures of the entire request
> sequence?
>   - Your HTTP headers, including acceptance headers, the full URI being
> executed, etc.
>   - The full response, including HTTP Headers
>
> (as can be provided without compromising private user / app data)
>
> Thanks!
> Taylor
>
>
>
> On Mon, Jul 19, 2010 at 12:36 PM, Bill Jacobson  wrote:
> > I'm expecting 'application/json' and am suddenly getting 'text/html'.
>
> > On 07/19/2010 01:58 PM, Rich wrote:
>
> >> I'm seeing an increase in the home timeline returning a content-type
> >> of text/html instead of text/xml
>
> >> The actual body of the request is actually the correct XML response
> >> but my app checks for the correct HTTP header content-type.
>
> >> Is anyone else seeing this?


[twitter-dev] Re: xauth token exchange failing

2010-07-19 Thread ap
Isaiah,

I seem to be getting similar errors with regular OAuth requests. If
I'm already logged into twitter and OAuth just needs to redirect, it
works, but if I land on the login page, enter my username and password
and click submit, the redirect breaks with the 500 error.

Ashish

On Jul 19, 3:10 pm, Isaiah Carew  wrote:
> Hi,
>
> I'm seeing across the board failure of xAuth token exchange for my app, Kiwi. 
>  The app has not changed for months and is in use by thousands of users.  So 
> I don't think it's something I've done recently.
>
> Is it related to what I'm seeing on status.twitter.com?
>
> Is there a way to tell whether the problem is:  twitter, my IP, my app, or my 
> accounts?
>
> Is there something in the HTTP response tea leaves that can tell me more 
> info?  Currently I'm getting:
>
>     Status = "500 Internal Server Error";
>
> isaiahhttp://twitter.com/isaiah


Re: [twitter-dev] Issues with OAuth

2010-07-19 Thread Taylor Singletary
Hi Ap,

This is the right place for reporting issues like this -- well, one of the
right places anyway -- we have some issues with OAuth today that are related
to some wider issues related to updating objects associated with users (like
access tokens).

We hope to have this fixed soon!

Thanks,
Taylor

On Mon, Jul 19, 2010 at 12:53 PM, ap  wrote:

> I've been experiencing OAuth issues with my app today. If I'm already
> logged into twitter, the OAuth redirects to my app just fine. However,
> if I have to land on the authentication page and enter my username and
> password and click submit, I get the following error:
>
> Mon Jul 19 15:40:47 EDT 2010 : Twitter exception:
> TwitterException{message=500:Something is broken.  Please post to the
> group so the Twitter team can investigate.[Some HTML here],
> statusCode=500, retryAfter=0, rateLimitStatus=null}
>
> I'm not sure if this is the group that the message is asking me to
> post in, if not, please let me know the correct group to post to so I
> can get some assistance.
>
> Thanks!
>


[twitter-dev] Re: Is Twitter oAuth broken?

2010-07-19 Thread Bob
Thanks for the update Taylor, it's helpful in keeping our users up to
speed.

On Jul 19, 8:54 pm, Taylor Singletary 
wrote:
> The current site issues that are also making updates to profiles, avatars,
> and background images are to blame for the current issues around OAuth
> authentication as well. We're working on relieving the problem.
>
> Taylor
>
> On Mon, Jul 19, 2010 at 12:04 PM, Dossy Shiobara  wrote:
> > Phew!  Thank goodness I still use HTTP Basic Auth ... ;-)
>
> > When's that supposed to be EOL'ed again?  Are we still pretending that
> > it's a good idea?  ;-)
>
> > On 7/19/10 3:00 PM, nischalshetty wrote:
> > > Alright, it is oAuth issues, checked the twitter status here -
> > >http://status.twitter.com/post/832539693/users-cannot-update-profiles
>
> > > -Nischal
>
> > > On Jul 19, 11:55 pm, nischalshetty  wrote:
>
> > >> My apps getting 'user has not given permission' and this is by the
> > >> hundreds! I presume the oAuth API is having issues!
>
> > --
> > Dossy Shiobara              | do...@panoptic.com |http://dossy.org/
> > Panoptic Computer Network   |http://panoptic.com/
> >  "He realized the fastest way to change is to laugh at your own
> >    folly -- then you can let go and quickly move on." (p. 70)


Re: [twitter-dev] xauth token exchange failing

2010-07-19 Thread Taylor Singletary
Hi Isaiah,

This is related to the same issue you see on status.twitter.com -- it's
effecting many user-related write operations (including, for instance,
instantiating an access token on behalf of a user). We are working to
resolve the issue.

Taylor


On Mon, Jul 19, 2010 at 12:10 PM, Isaiah Carew  wrote:

>
> Hi,
>
> I'm seeing across the board failure of xAuth token exchange for my app,
> Kiwi.  The app has not changed for months and is in use by thousands of
> users.  So I don't think it's something I've done recently.
>
> Is it related to what I'm seeing on status.twitter.com?
>
> Is there a way to tell whether the problem is:  twitter, my IP, my app, or
> my accounts?
>
> Is there something in the HTTP response tea leaves that can tell me more
> info?  Currently I'm getting:
>
> Status = "500 Internal Server Error";
>
>
> isaiah
> http://twitter.com/isaiah
>
>


[twitter-dev] Issues with OAuth

2010-07-19 Thread ap
I've been experiencing OAuth issues with my app today. If I'm already
logged into twitter, the OAuth redirects to my app just fine. However,
if I have to land on the authentication page and enter my username and
password and click submit, I get the following error:

Mon Jul 19 15:40:47 EDT 2010 : Twitter exception:
TwitterException{message=500:Something is broken.  Please post to the
group so the Twitter team can investigate.[Some HTML here],
statusCode=500, retryAfter=0, rateLimitStatus=null}

I'm not sure if this is the group that the message is asking me to
post in, if not, please let me know the correct group to post to so I
can get some assistance.

Thanks!


Re: [twitter-dev] Re: Is Twitter oAuth broken?

2010-07-19 Thread Taylor Singletary
The current site issues that are also making updates to profiles, avatars,
and background images are to blame for the current issues around OAuth
authentication as well. We're working on relieving the problem.

Taylor

On Mon, Jul 19, 2010 at 12:04 PM, Dossy Shiobara  wrote:

> Phew!  Thank goodness I still use HTTP Basic Auth ... ;-)
>
> When's that supposed to be EOL'ed again?  Are we still pretending that
> it's a good idea?  ;-)
>
>
> On 7/19/10 3:00 PM, nischalshetty wrote:
> > Alright, it is oAuth issues, checked the twitter status here -
> > http://status.twitter.com/post/832539693/users-cannot-update-profiles
> >
> > -Nischal
> >
> > On Jul 19, 11:55 pm, nischalshetty  wrote:
> >
> >> My apps getting 'user has not given permission' and this is by the
> >> hundreds! I presume the oAuth API is having issues!
> >>
>
> --
> Dossy Shiobara  | do...@panoptic.com | http://dossy.org/
> Panoptic Computer Network   | http://panoptic.com/
>  "He realized the fastest way to change is to laugh at your own
>folly -- then you can let go and quickly move on." (p. 70)
>
>


Re: [twitter-dev] statuses/home_timeline.xml returning text/html instead of text/xml

2010-07-19 Thread Taylor Singletary
Hi Everyone,

This sounds very strange. Anyone have any captures of the entire request
sequence?
  - Your HTTP headers, including acceptance headers, the full URI being
executed, etc.
  - The full response, including HTTP Headers

(as can be provided without compromising private user / app data)

Thanks!
Taylor


On Mon, Jul 19, 2010 at 12:36 PM, Bill Jacobson  wrote:

> I'm expecting 'application/json' and am suddenly getting 'text/html'.
>
>
> On 07/19/2010 01:58 PM, Rich wrote:
>
>> I'm seeing an increase in the home timeline returning a content-type
>> of text/html instead of text/xml
>>
>> The actual body of the request is actually the correct XML response
>> but my app checks for the correct HTTP header content-type.
>>
>> Is anyone else seeing this?
>>
>>
>>
>


Re: [twitter-dev] statuses/home_timeline.xml returning text/html instead of text/xml

2010-07-19 Thread Bill Jacobson

I'm expecting 'application/json' and am suddenly getting 'text/html'.

On 07/19/2010 01:58 PM, Rich wrote:

I'm seeing an increase in the home timeline returning a content-type
of text/html instead of text/xml

The actual body of the request is actually the correct XML response
but my app checks for the correct HTTP header content-type.

Is anyone else seeing this?

   


[twitter-dev] xauth token exchange failing

2010-07-19 Thread Isaiah Carew

Hi,

I'm seeing across the board failure of xAuth token exchange for my app, Kiwi.  
The app has not changed for months and is in use by thousands of users.  So I 
don't think it's something I've done recently.

Is it related to what I'm seeing on status.twitter.com?

Is there a way to tell whether the problem is:  twitter, my IP, my app, or my 
accounts?

Is there something in the HTTP response tea leaves that can tell me more info?  
Currently I'm getting:

Status = "500 Internal Server Error";


isaiah
http://twitter.com/isaiah



Re: [twitter-dev] Re: Is Twitter oAuth broken?

2010-07-19 Thread Dossy Shiobara
Phew!  Thank goodness I still use HTTP Basic Auth ... ;-)

When's that supposed to be EOL'ed again?  Are we still pretending that
it's a good idea?  ;-)


On 7/19/10 3:00 PM, nischalshetty wrote:
> Alright, it is oAuth issues, checked the twitter status here -
> http://status.twitter.com/post/832539693/users-cannot-update-profiles
>
> -Nischal
>
> On Jul 19, 11:55 pm, nischalshetty  wrote:
>   
>> My apps getting 'user has not given permission' and this is by the
>> hundreds! I presume the oAuth API is having issues!
>> 

-- 
Dossy Shiobara  | do...@panoptic.com | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  "He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70) 



[twitter-dev] Re: Is Twitter oAuth broken?

2010-07-19 Thread Bob
It would appear that Twitter oAuth is down across the board.

We are getting 500 errors for all calls to:

http://api.twitter.com/oauth/access_token

Since 18:20 UTC.

Presumably this is what is meant by the update to the issue on the
status blog:

"Update (11:20 PST, 18:20 UTC): oAuth tokens are also affected by
this; we continue to work to resolve the issue."

TwitPic, yFrog, TweetDeck - all similarly effected. Obviously very
frustrating.

Bob

Founder
Twibbon.com

On Jul 19, 8:00 pm, nischalshetty  wrote:
> Alright, it is oAuth issues, checked the twitter status here 
> -http://status.twitter.com/post/832539693/users-cannot-update-profiles
>
> -Nischal
>
> On Jul 19, 11:55 pm, nischalshetty  wrote:
>
> > My apps getting 'user has not given permission' and this is by the
> > hundreds! I presume the oAuth API is having issues!


[twitter-dev] Re: Is Twitter oAuth broken?

2010-07-19 Thread nischalshetty
Alright, it is oAuth issues, checked the twitter status here -
http://status.twitter.com/post/832539693/users-cannot-update-profiles

-Nischal

On Jul 19, 11:55 pm, nischalshetty  wrote:
> My apps getting 'user has not given permission' and this is by the
> hundreds! I presume the oAuth API is having issues!


Re: [twitter-dev] Is Twitter oAuth broken?

2010-07-19 Thread Matthew Terenzio
I'm getting problems on the return as well.

On Mon, Jul 19, 2010 at 2:55 PM, nischalshetty wrote:

> My apps getting 'user has not given permission' and this is by the
> hundreds! I presume the oAuth API is having issues!


[twitter-dev] statuses/home_timeline.xml returning text/html instead of text/xml

2010-07-19 Thread Rich
I'm seeing an increase in the home timeline returning a content-type
of text/html instead of text/xml

The actual body of the request is actually the correct XML response
but my app checks for the correct HTTP header content-type.

Is anyone else seeing this?


[twitter-dev] statuses/home_timeline.xml returning text/html instead of text/xml

2010-07-19 Thread Rich
I'm seeing an increase in the home timeline returning a content-type
of text/html instead of text/xml

The actual body of the request is actually the correct XML response
but my app checks for the correct HTTP header content-type.

Is anyone else seeing this?


[twitter-dev] Is Twitter oAuth broken?

2010-07-19 Thread nischalshetty
My apps getting 'user has not given permission' and this is by the
hundreds! I presume the oAuth API is having issues!


Re: [twitter-dev] Are unauthenticated API calls being counted twice against rate limits?

2010-07-19 Thread Taylor Singletary
Thanks for the further points, Ed!

On Mon, Jul 19, 2010 at 11:09 AM, M. Edward (Ed) Borasky <
zn...@borasky-research.net> wrote:

> This issue seems to have gone away, but I'm seeing other scattered symptoms
> on unauthenticated API rate limits.
>
> 1. 150 calls per "hour" and 150 calls remaining but time remaining much
> less than 3600 seconds - I've seen values as low as 1800 seconds.
> 2. Occasional instances of values *greater* than 3600 for time remaining.
> Largest value I've seen is 3624 seconds.
>
> I haven't dug into the HTTP data yet - if these things come back I will.
>
> --
> M. Edward (Ed) Borasky
> http://borasky-research.net http://twitter.com/znmeb
>
> "A mathematician is a device for turning coffee into theorems." - Paul
> Erdos
>
>
> Quoting Taylor Singletary :
>
>  Hi Ed,
>>
>> Interesting. I'll investigate this.
>>
>> Taylor
>>
>> On Sat, Jul 17, 2010 at 8:17 PM, M. Edward (Ed) Borasky <
>> zn...@borasky-research.net> wrote:
>>
>>  I've got a script that dumps a list of friends and followers for a user.
>>> When I run it authenticated with oAuth, it behaves as expected:
>>>
>>> limit: 350, remaining: 349, seconds_to_go: 3599, ratio: 1.00, sleep: 9.3
>>> follower ids page 1 540 retrieved
>>>  has 540 followers
>>> limit: 350, remaining: 348, seconds_to_go: 3590, ratio: 1.00, sleep: 10.6
>>> friend ids page 1 748 retrieved
>>>  has 748 friends
>>> limit: 350, remaining: 347, seconds_to_go: 3580, ratio: 1.00, sleep: 10.9
>>> followers page 1 100 retrieved
>>> limit: 350, remaining: 346, seconds_to_go: 3569, ratio: 1.00, sleep: 10.1
>>> followers page 2 100 retrieved
>>> limit: 350, remaining: 345, seconds_to_go: 3557, ratio: 1.00, sleep: 8.4
>>> followers page 3 100 retrieved
>>>
>>>
>>> But when I run it unauthenticated, it appears to be spending two calls
>>> for
>>> every one that the script requires when authenticated:
>>>
>>> limit: 150, remaining: 34, seconds_to_go: 840, ratio: 0.97, sleep: 24.0
>>> follower ids page 1 540 retrieved
>>>  has 540 followers
>>> limit: 150, remaining: 32, seconds_to_go: 815, ratio: 0.94, sleep: 47.0
>>> friend ids page 1 748 retrieved
>>>  has 748 friends
>>> limit: 150, remaining: 30, seconds_to_go: 768, ratio: 0.94, sleep: 48.0
>>> followers page 1 100 retrieved
>>> limit: 150, remaining: 28, seconds_to_go: 719, ratio: 0.93, sleep: 47.0
>>> followers page 2 100 retrieved
>>> limit: 150, remaining: 26, seconds_to_go: 671, ratio: 0.93, sleep: 47.0
>>> followers page 3 100 retrieved
>>>
>>>
>>> Is this something left over from when the rate limits were halved?
>>> --
>>> M. Edward (Ed) Borasky
>>> http://borasky-research.net http://twitter.com/znmeb
>>>
>>> "A mathematician is a device for turning coffee into theorems." - Paul
>>> Erdos
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
>
>


Re: [twitter-dev] Are unauthenticated API calls being counted twice against rate limits?

2010-07-19 Thread M. Edward (Ed) Borasky
This issue seems to have gone away, but I'm seeing other scattered  
symptoms on unauthenticated API rate limits.


1. 150 calls per "hour" and 150 calls remaining but time remaining  
much less than 3600 seconds - I've seen values as low as 1800 seconds.
2. Occasional instances of values *greater* than 3600 for time  
remaining. Largest value I've seen is 3624 seconds.


I haven't dug into the HTTP data yet - if these things come back I will.
--
M. Edward (Ed) Borasky
http://borasky-research.net http://twitter.com/znmeb

"A mathematician is a device for turning coffee into theorems." - Paul Erdos


Quoting Taylor Singletary :


Hi Ed,

Interesting. I'll investigate this.

Taylor

On Sat, Jul 17, 2010 at 8:17 PM, M. Edward (Ed) Borasky <
zn...@borasky-research.net> wrote:


I've got a script that dumps a list of friends and followers for a user.
When I run it authenticated with oAuth, it behaves as expected:

limit: 350, remaining: 349, seconds_to_go: 3599, ratio: 1.00, sleep: 9.3
follower ids page 1 540 retrieved
 has 540 followers
limit: 350, remaining: 348, seconds_to_go: 3590, ratio: 1.00, sleep: 10.6
friend ids page 1 748 retrieved
 has 748 friends
limit: 350, remaining: 347, seconds_to_go: 3580, ratio: 1.00, sleep: 10.9
followers page 1 100 retrieved
limit: 350, remaining: 346, seconds_to_go: 3569, ratio: 1.00, sleep: 10.1
followers page 2 100 retrieved
limit: 350, remaining: 345, seconds_to_go: 3557, ratio: 1.00, sleep: 8.4
followers page 3 100 retrieved


But when I run it unauthenticated, it appears to be spending two calls for
every one that the script requires when authenticated:

limit: 150, remaining: 34, seconds_to_go: 840, ratio: 0.97, sleep: 24.0
follower ids page 1 540 retrieved
 has 540 followers
limit: 150, remaining: 32, seconds_to_go: 815, ratio: 0.94, sleep: 47.0
friend ids page 1 748 retrieved
 has 748 friends
limit: 150, remaining: 30, seconds_to_go: 768, ratio: 0.94, sleep: 48.0
followers page 1 100 retrieved
limit: 150, remaining: 28, seconds_to_go: 719, ratio: 0.93, sleep: 47.0
followers page 2 100 retrieved
limit: 150, remaining: 26, seconds_to_go: 671, ratio: 0.93, sleep: 47.0
followers page 3 100 retrieved


Is this something left over from when the rate limits were halved?
--
M. Edward (Ed) Borasky
http://borasky-research.net http://twitter.com/znmeb

"A mathematician is a device for turning coffee into theorems." - Paul
Erdos














[twitter-dev] twurl and statuses/user_timeline.json does not seem to recognize the id parameter

2010-07-19 Thread ssriram
Hi,

I'm looking to fetch the user_timeline for various twitter users.

Testing it with twurl it seems that 'once authenticated' the id
parameter is not recognized and all calls to /statuses/
user_timeline.json with id=foo return only the authenticated users
timeline.

Testing it in an unauthenticated manner works. BUT since I plan on
calling this from a google appengine server, I presume since it is an
unauthenticated call it would be rate-limited by IP address and given
that the IP address is a google appengine one it would most likely be
rate-limited.

The other option is to grab the rss feed and not use the api call.

What would the appropriate/recommended way of proceeding be?

Thanks
S. Sriram


[twitter-dev] Re: OAuth, Stream API, desktop apps, general question

2010-07-19 Thread dalm
Thanks!

User-Stream-Implementation-Suggestions is a gem of a document.



On Jul 19, 12:42 pm, John Kalucki  wrote:
> Desktop apps should be on User Streams, not on stream.twitter.com:
>
> http://apiwiki.twitter.com/ChirpUserStreams
http://apiwiki.twitter.com/User-Stream-Implementation-Suggestions
>
> You should keep connections open as long as is practical and reduce
> connection churn to a minimum.
>
> -John Kaluckihttp://twitter.com/jkalucki
> Infrastructure, Twitter Inc.
>
>
>
> On Mon, Jul 19, 2010 at 8:22 AM, dalm  wrote:
> > I've been studying APIs and testing with toy apps; technically, it's
> > all working fine.
>
> > My questions, regarding a desktop app that I hope to distribute:
>
> > 1) OAuth is obviously required for status updates (api.twitter.com/
> > POST), but what about search.twitter.com/GET of public tweets?  Do I
> > still need to use OAuth (e.g., so that twitter can monitor my app's
> > behavior)?
>
> > 2) Same as (1), but for stream.twitter.com/filter ?
>
> > 3) Is it Ok for desktop apps to hold stream.twitter.com connections
> > open for 20 minutes or so, e.g., during a group discussion?
>
> > Thanks


Re: [twitter-dev] OAuth, Stream API, desktop apps, general question

2010-07-19 Thread John Kalucki
Desktop apps should be on User Streams, not on stream.twitter.com:

http://apiwiki.twitter.com/ChirpUserStreams
http://apiwiki.twitter.com/User-Stream-Implementation-Suggestions

You should keep connections open as long as is practical and reduce
connection churn to a minimum.

-John Kalucki
http://twitter.com/jkalucki
Infrastructure, Twitter Inc.



On Mon, Jul 19, 2010 at 8:22 AM, dalm  wrote:

> I've been studying APIs and testing with toy apps; technically, it's
> all working fine.
>
> My questions, regarding a desktop app that I hope to distribute:
>
> 1) OAuth is obviously required for status updates (api.twitter.com/
> POST), but what about search.twitter.com/GET of public tweets?  Do I
> still need to use OAuth (e.g., so that twitter can monitor my app's
> behavior)?
>
> 2) Same as (1), but for stream.twitter.com/filter ?
>
> 3) Is it Ok for desktop apps to hold stream.twitter.com connections
> open for 20 minutes or so, e.g., during a group discussion?
>
> Thanks
>
>
>
>
>


[twitter-dev] create a new app

2010-07-19 Thread Doug at Highground
I cannot create a new app, I get a screen that says "Something is
technically wrong. Thanks for noticing - we're going to fix it up and
have things back to normal soon." How do I get around this error?


Re: [twitter-dev] Are unauthenticated API calls being counted twice against rate limits?

2010-07-19 Thread Taylor Singletary
Hi Ed,

Interesting. I'll investigate this.

Taylor

On Sat, Jul 17, 2010 at 8:17 PM, M. Edward (Ed) Borasky <
zn...@borasky-research.net> wrote:

> I've got a script that dumps a list of friends and followers for a user.
> When I run it authenticated with oAuth, it behaves as expected:
>
> limit: 350, remaining: 349, seconds_to_go: 3599, ratio: 1.00, sleep: 9.3
> follower ids page 1 540 retrieved
>  has 540 followers
> limit: 350, remaining: 348, seconds_to_go: 3590, ratio: 1.00, sleep: 10.6
> friend ids page 1 748 retrieved
>  has 748 friends
> limit: 350, remaining: 347, seconds_to_go: 3580, ratio: 1.00, sleep: 10.9
> followers page 1 100 retrieved
> limit: 350, remaining: 346, seconds_to_go: 3569, ratio: 1.00, sleep: 10.1
> followers page 2 100 retrieved
> limit: 350, remaining: 345, seconds_to_go: 3557, ratio: 1.00, sleep: 8.4
> followers page 3 100 retrieved
>
>
> But when I run it unauthenticated, it appears to be spending two calls for
> every one that the script requires when authenticated:
>
> limit: 150, remaining: 34, seconds_to_go: 840, ratio: 0.97, sleep: 24.0
> follower ids page 1 540 retrieved
>  has 540 followers
> limit: 150, remaining: 32, seconds_to_go: 815, ratio: 0.94, sleep: 47.0
> friend ids page 1 748 retrieved
>  has 748 friends
> limit: 150, remaining: 30, seconds_to_go: 768, ratio: 0.94, sleep: 48.0
> followers page 1 100 retrieved
> limit: 150, remaining: 28, seconds_to_go: 719, ratio: 0.93, sleep: 47.0
> followers page 2 100 retrieved
> limit: 150, remaining: 26, seconds_to_go: 671, ratio: 0.93, sleep: 47.0
> followers page 3 100 retrieved
>
>
> Is this something left over from when the rate limits were halved?
> --
> M. Edward (Ed) Borasky
> http://borasky-research.net http://twitter.com/znmeb
>
> "A mathematician is a device for turning coffee into theorems." - Paul
> Erdos
>
>
>
>
>
>


[twitter-dev] OAuth, Stream API, desktop apps, general question

2010-07-19 Thread dalm
I've been studying APIs and testing with toy apps; technically, it's
all working fine.

My questions, regarding a desktop app that I hope to distribute:

1) OAuth is obviously required for status updates (api.twitter.com/
POST), but what about search.twitter.com/GET of public tweets?  Do I
still need to use OAuth (e.g., so that twitter can monitor my app's
behavior)?

2) Same as (1), but for stream.twitter.com/filter ?

3) Is it Ok for desktop apps to hold stream.twitter.com connections
open for 20 minutes or so, e.g., during a group discussion?

Thanks






Re: [twitter-dev] Re: Twitter backup script

2010-07-19 Thread Pascal Jürgens
Thomas,

last time I heard from the project, they were busy sorting the technical 
details out and still not sure who would even get access. It'll probably be 
open to a selected group of researchers first.

Pascal

On Jul 18, 2010, at 8:16 PM, Tomas Roggero wrote:

> Hi Pascal
> 
> What I'm doing is requesting 150 per hour. I've 43 pages, so in about a week 
> I'll get my "almost full" backup. :D
> 
> (I've wrote a PHP script to do that automatically, of course)
> 
> Does the Congress Library have an API or some ?



[twitter-dev] Re: Home_timeline and retweets

2010-07-19 Thread luisg
Well, that dont solve my problem!

If I use user_timeline I will get only the tweets and the retweets
done by me... I want that, but I want the tweets and the retweets done
by my followers (and the ones I'm following) too.

Open the following options in different tabs in your browser (imagine
your user is called XPTO):
1. login with XPTO account and go to http://twitter.com (this is
home_timeline)
2. access http://twitter.com/XPTO (this is user_timeline)

Can you see the differences now?

Basically I want home_timeline, but with the retweeted_status property
when is a retweet!

Luis


On Jul 8, 9:33 am, Steve <25tol...@gmail.com> wrote:
> Perhaps *I'm* missing something but can't you just use the
> user_timeline for this? It's what I'm doing, and after discovering the
> "include_rts" flag you can get all your own activity in this one
> request.
>
> On a sidenote: the "include_rts" flag is mentioned 
> inhttp://dev.twitter.com/doc/get/statuses/user_timelinebut isn't
> mentioned 
> inhttp://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-user_t...
> which caused me some annoyance as I didn't know the former existed
> until very recently and had been using the latter as my development
> guide.
>
> On Jul 7, 12:55 pm,luisg wrote:
>
> > Hello,
>
> > and thanks for your reply.
> > When I said ridiculous, I don't meant to offend you cause I REALLY
> > appreciate your work. I was just discussing my point of view. Sorry
> > for that.
>
> > About the retweets: Imagine I get my home_timeline. I will get the
> > 'normal' tweets (posted by me via web, for example), the retweets I
> > did and the tweets (and retweets) done by the ones I'm following. The
> > thing is, how can I identify if a element from the home_timeline is a
> > 'normal' tweet or a retweet done by me?
>
> > For example, in the retweets done by the people you are following, you
> > have the retweeted_status and with that I know that is a retweet
> > instead of a 'normal' tweet by him/her. But with my own, I dont know.
>
> > The goal is I want to add the Undo(retweet) in my application. To do
> > the undo I need to know which of those are retweets.
>
> > You understand my problem? Maybe I'm missing something. If so, I'm
> > being ridiculous :)
>
> > Thanks a lot,
>
> > Luis
>
> > On Jul 6, 7:01 am, Raffi Krikorian  wrote:
>
> > > i don't think "ridiculous" is the right term :P  we're constantly evolving
> > > the API to match up with what our developers are trying to do!
>
> > > so - that being said - what are you looking for?  are you trying to figure
> > > out which tweets on the home timeline has the authenticating user 
> > > retweeted?
>
> > > On Mon, Jul 5, 2010 at 2:58 PM,luisg wrote:
> > > > So, instead of 1, now I have to do 2 call (one for the home_timeline
> > > > and another for the retweets_of_me).
>
> > > > I started to understand the 'Tiwtter is over capacity' error!
>
> > > > ...ridiculous...
>
> > > > On Jul 5, 6:17 pm, Thomas Woolway  wrote:
> > > > > I don't think that you're doing anything wrong - it's just a quirk of 
> > > > > the
> > > > > API - you don't get any info in your home timeline on stuff you
> > > > retweeted.
>
> > > > > I think this is because of the condition that you should never see a
> > > > retweet
> > > > > if you would have seen it already in your timeline. This stops you 
> > > > > from
> > > > > seeing the latest popular tweet retweeted 100 times from each of your
> > > > > followers if you follow the person who originally tweeted it. 
> > > > > However, I
> > > > > guess it also stops you seeing that you have retweeted a tweet, as
> > > > > theoretically you've already seen it.
>
> > > > > I think I've made that more complicated than it actually is...
>
> > > > > The only thing that you can do is to get the Home Timeline and then 
> > > > > merge
> > > > > retweets_of_me in over the top.
>
> > > > > Tom
>
> > > > > On Mon, Jul 5, 2010 at 4:03 PM,luisg wrote:
> > > > > > Can somebody help?
>
> > > > > > Maybe I'm doing something wrong.
> > > > > > For example, if account A has Account B as follower and vice-versa,
> > > > > > and if account A retweets tweet XPTO made by account B, shouldn't 
> > > > > > the
> > > > > > tweet XPTO appear with retweet_status property if we request the
> > > > > > home_timeline?
>
> > > > > > Please help,
>
> > > > > > Luis
>
> > > > > > On Jul 3, 4:45 pm,luisg wrote:
> > > > > > > Hello everybody,
>
> > > > > > > I'm having a problem lately with the retweets. In the API
> > > > > > > documentation and about the home_timeline says:
>
> > > > > > > 'Returns the 20 most recent statuses, including retweets, posted 
> > > > > > > by
> > > > > > > the authenticating user and that user's friends. This is the
> > > > > > > equivalent of /timeline/home on the Web.'
>
> > > > > > > The problem is, when I request the home_timeline, none of my 
> > > > > > > tweets
> > > > > > > have the 'retweeted_status' that should be present if it is a
> > > > retweet.
>
> > > > > > > But if I r

Re: [twitter-dev] Get just the IDs for a lists members

2010-07-19 Thread Taylor Singletary
There's no way to get this at this time, but it'd be a good feature to
request on the issue tracker:
http://code.google.com/p/twitter-api/issues/list

On Sun, Jul 18, 2010 at 2:09 PM, Dharmesh  wrote:

> I'm looking to do do some analysis on twitter lists.
>
> I'd like to be able to retrieve the list of all users that are members
> of a list -- but all I need are the User IDs.
>
> Is there a way to get a list of members (up to 5,000) like we can with
> the call followers/ids and friends/ids?
>
> Right now, we can only retrieve 20 members at a time -- which requires
> many API calls for large lists and wastes bandwidth as I don't need
> all the user data.
>
> Thanks.
>


Re: [twitter-dev] How is this a solution?

2010-07-19 Thread Taylor Singletary
We're continuing to experiment with the feasibility of this feature, and SSL
support is one gating factor among a few others. There are future solutions
that we can envision that would obviate the need for this less-than-friendly
model.

Taylor

On Sat, Jul 17, 2010 at 12:35 PM, Abraham Williams <4bra...@gmail.com>wrote:

> There is an open issue for SSL support on dev.twitter.com -
> http://code.google.com/p/twitter-api/issues/detail?id=1665
>
>
> Abraham
> -
> Abraham Williams | Hacker Advocate | http://abrah.am
> @abraham | http://projects.abrah.am | http://blog.abrah.am
> This email is: [ ] shareable [x] ask first [ ] private.
>
>
> On Fri, Jul 16, 2010 at 06:41, Decklin Foster wrote:
>
>> Excerpts from Cameron Kaiser's message of Fri Jul 16 01:00:55 -0400 2010:
>> > Actually, no. The process creates a completely new app key and secret
>> > cloned from the original one. They do not have anything in common with
>> > each other apart from the name and branding (and the user can change it
>> > later; it's just a regular old app key). You can see this in action by
>> > looking at TTYtter, which uses the process. They are not the same key
>> > and secret at all.
>>
>> When was this process turned on? (I just checked out TTYtter and
>> indeed, it works.) I asked for an update a couple weeks ago but I
>> hadn't seen anything here or on the announce list, so I assumed other
>> things had taken priority.
>>
>> --
>> things change.
>> deck...@red-bean.com
>>
>
>


Re: [twitter-dev] Can't add a friend

2010-07-19 Thread Taylor Singletary
We had a brief issue with followings and unfollowings but it's resolved
now: http://status.twitter.com/post/830058364/had-trouble-following-people

Taylor

On Sun, Jul 18, 2010 at 3:02 PM, Fabien Penso  wrote:

> Hi,
>
> I'm trying to add @tweetsellit as a friend from @fabienpenso, can't do
> it whatever what I'm doing. Tried twitter.com, the iphone app, etc.
>
> Is there an issue?
>


Re: [twitter-dev] How to implement tweet functionality in orkut apps.

2010-07-19 Thread Taylor Singletary
P.S. Here's more about the OAuth proxy approach:
http://code.google.com/apis/gadgets/docs/oauth.html

On Mon, Jul 19, 2010 at 7:08 AM, Taylor Singletary <
taylorsinglet...@twitter.com> wrote:

> There are a few ways to go about this, and some are easier than others. The
> easier the solution, the less control you have over the experience provided.
>
> I'll assume your Orkut application is OpenSocial-based. If you have a
> remote server component to your Orkut application, you may find it easiest
> to integrate with the Twitter API from the perspective of your server. You
> would then issue gadgets.io.makeRequest calls to your own servers, which
> would proxy the necessary requests to Twitter. This alleviates the need to
> store any of your API credentials within your gadget spec.
>
> Orkut makes OpenSocial gadget specs publicly available, so you can't use
> any solution that would present your consumer secret directly within the
> gadget spec.
>
> The simplest solution is just to pre-construct a link to Twitter.com with a
> status message pre-populated. This solution also gives you the least amount
> of control. http://twitter.com/?status=something
>
> There is no solution you can use where you'd have the user directly enter
> their login and password into your OpenSocial application.
>
> Another option you can look into, though you'd have some minor security
> concerns, is using @Anywhere within your OpenSocial application. I haven't
> personally tried @Anywhere with OpenSocial, and there are likely some
> technical hurdles you'd have to overcome with targeting the proper IFRAMEs.
>
> Finally, there's another option though I don't know how easy it is to get
> the Google team to do the necessary steps. OpenSocial includes an OAuth
> Proxy that requires you to pre-register your remote service (Twitter)
> credentials with the social network (Orkut) and then use the OAuth proxy to
> communicate without compromising your tokens in a publicly available gadget
> spec.
>
> Taylor
>
> On Mon, Jul 19, 2010 at 12:04 AM, Pyrocks  wrote:
>
>> HI Friends,
>>
>> I am new to this twitter implementation in orkut apps.
>> I have a requirement in my orkut application that i have to do tweet
>> functionality in my application that will posted some message in his
>> twitter profile page from my application.
>>
>> User will give his twitter user id and password  when user click
>> submit button some message has to be posted in his twitter profile
>> from my application.
>>
>> I have no idea about this implementation.I want some help.
>>
>> If any body knows about this please provide some information related
>> to that or any URL.
>>
>> This is immediate requirement in my application. I am expecting
>> response from forum people as soon as possible.
>>
>> Thanks and Regards.
>>
>> Py
>>
>
>


Re: [twitter-dev] How to implement tweet functionality in orkut apps.

2010-07-19 Thread Taylor Singletary
There are a few ways to go about this, and some are easier than others. The
easier the solution, the less control you have over the experience provided.

I'll assume your Orkut application is OpenSocial-based. If you have a remote
server component to your Orkut application, you may find it easiest to
integrate with the Twitter API from the perspective of your server. You
would then issue gadgets.io.makeRequest calls to your own servers, which
would proxy the necessary requests to Twitter. This alleviates the need to
store any of your API credentials within your gadget spec.

Orkut makes OpenSocial gadget specs publicly available, so you can't use any
solution that would present your consumer secret directly within the gadget
spec.

The simplest solution is just to pre-construct a link to Twitter.com with a
status message pre-populated. This solution also gives you the least amount
of control. http://twitter.com/?status=something

There is no solution you can use where you'd have the user directly enter
their login and password into your OpenSocial application.

Another option you can look into, though you'd have some minor security
concerns, is using @Anywhere within your OpenSocial application. I haven't
personally tried @Anywhere with OpenSocial, and there are likely some
technical hurdles you'd have to overcome with targeting the proper IFRAMEs.

Finally, there's another option though I don't know how easy it is to get
the Google team to do the necessary steps. OpenSocial includes an OAuth
Proxy that requires you to pre-register your remote service (Twitter)
credentials with the social network (Orkut) and then use the OAuth proxy to
communicate without compromising your tokens in a publicly available gadget
spec.

Taylor

On Mon, Jul 19, 2010 at 12:04 AM, Pyrocks  wrote:

> HI Friends,
>
> I am new to this twitter implementation in orkut apps.
> I have a requirement in my orkut application that i have to do tweet
> functionality in my application that will posted some message in his
> twitter profile page from my application.
>
> User will give his twitter user id and password  when user click
> submit button some message has to be posted in his twitter profile
> from my application.
>
> I have no idea about this implementation.I want some help.
>
> If any body knows about this please provide some information related
> to that or any URL.
>
> This is immediate requirement in my application. I am expecting
> response from forum people as soon as possible.
>
> Thanks and Regards.
>
> Py
>


Re: [twitter-dev] update_profile_image is returning 200OK but not updating Profile Image

2010-07-19 Thread Taylor Singletary
Thank you for the details, Bob. We're looking into it.

Taylor

On Mon, Jul 19, 2010 at 6:19 AM, Bob  wrote:

> We are again seeing behaviour where update_profile_image is returning
> a 200OK but the image is not updated on Twitter. This happened last
> week and was fixed under Issue 1745:
>
> http://code.google.com/p/twitter-api/issues/detail?id=1745
>
> But it has just reappeared. Behaviour is very slightly different in
> that the previous profile image remains in place rather than becoming
> a broken image.
>
> Request and response shown below.
>
> Thanks,
>
> Bob
>
> Founder
> Twibbon.com
>
>
> --REQUEST: http://api.twitter.com
> POST /1/account/update_profile_image.json HTTP/1.1
> Authorization: OAuth
> oauth_consumer_key="cmrjngkKmoHNaSG1OfWFA",oauth_token="57184902-
>
> BgSM4dVrnqDsPyFXmU2lYwsAzb406dVWMQMU6YwWE",oauth_nonce="81r7llydmekc186w",oauth_timestamp="1279545055",oauth_signature_method="HMAC-
> SHA1",oauth_signature="9MkFOvvVxEmQZcyJUvSEOSF0na4%3D",oauth_version="1.0"
> Content-Type: multipart/form-data; boundary=ab0fd378-4c1f-445f-
> aa8e-45488c90256d
> --ab0fd378-4c1f-445f-aa8e-45488c90256d
> Content-Disposition: file; name="image"; filename="5e55681f-878e-46bd-
> a584-57fcfaf4b52b.png"
> Content-Type: image/png
>
> [FILE DATA][System.Text.Latin1Encoding]
> --ab0fd378-4c1f-445f-aa8e-45488c90256d--
>
> --RESPONSE: http://api.twitter.com/1/account/update_profile_image.json
> HTTP/1.1 200 OK
> Date: Mon, 19 Jul 2010 13:10:55 GMT
> Server: hi
> Status: 200 OK
> X-Transaction: 1279545055-84509-57740
> ETag: "b089d0f3bb2c84ad1283361318917271"
> Last-Modified: Mon, 19 Jul 2010 13:10:55 GMT
> X-Runtime: 0.10970
> Content-Type: application/json; charset=utf-8
> Content-Length: 1340
> Pragma: no-cache
> X-Revision: DEV
> Expires: Tue, 31 Mar 1981 05:00:00 GMT
> Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-
> check=0
> Set-Cookie: k=84.19.234.238.1279545055076066; path=/; expires=Mon, 26-
> Jul-10 13:10:55 GMT; domain=.twitter.com,guest_id=127954505542692657;
> path=/; expires=Wed, 18 Aug 2010 13:10:55 GMT,lang=en;
>
> path=/,_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNQY1OopAToHaWQiJTMyOWI4OGU1MjFmNTg3%250AZTllNzNhOTQxYjVlOGVkNjQ3IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy
> %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--
> da8b247094aedfa91e96f6b9fc02dbc701228e41; domain=.twitter.com; path=/
> Vary: Accept-Encoding
> Connection: close
>
>  {"statuses_count":
>
> 327,"profile_sidebar_border_color":"87bc44","description":"","location":"","profile_use_background_image":true,"followers_count":
> 31,"status":
> {"contributors":null,"coordinates":null,"truncated":false,"source":" href=\"http://twibbon.com\"; rel=\"nofollow\">Twibbon a>","created_at":"Mon Jul 19 13:04:30 +
>
> 2010","geo":null,"in_reply_to_screen_name":null,"favorited":false,"in_reply_to_status_id":null,"place":null,"id":
> 18914185988,"in_reply_to_user_id":null,"text":"Support
> #natsuniji_blue, add a #twibbon to your avatar now! -
> http://twb.ly/9rgeFs
> "},"contributors_enabled":false,"friends_count":30,"geo_enabled":false,"profile_background_color":"9ae4e8","lang":"en","favourites_count":0,"created_at":"Thu
> Jul 16 00:18:19 +
>
> 2009","verified":false,"profile_text_color":"00","follow_request_sent":false,"notifications":false,"time_zone":null,"following":false,"profile_link_color":"ff","protected":false,"profile_background_image_url":"http://
> a1.twimg.com/profile_background_images/123041250/
> df10e21c-5216-4fcb-80f5-e2962b764d6f.jpg","profile_image_url":"http://
> a2.twimg.com/profile_images/1079636046/30f17041-0f8c-4031-b0fd-
> d1bdcf043ad1_normal.png","name":"Bob
> Thomson","profile_sidebar_fill_color":"e0ff92","url":null,"id":
>
> 57184902,"profile_background_tile":false,"utc_offset":null,"screen_name":"jpfette"}
>


Re: [twitter-dev] Selecting most active users to stream from a list

2010-07-19 Thread John Kalucki
The easier and far better thing to do would be to request a higher access
level for follow, and do it all via the Streaming API. This would be less
coding work for you, and less stress on our system.

-John Kalucki
http://twitter.com/jkalucki
Infrastructure, Twitter Inc.


On Mon, Jul 19, 2010 at 5:00 AM, Seth  wrote:

> I'm using tweepy to access statuses/filter. Having standard access, I
> can stream 200 users in my site follow list. I'd like to stream the
> 200 most active users and pick up the rest with scheduled API calls.
>
> I thought I would simply calculate the number of statuses posted
> during the last month for all users in the follow list. I don't know
> of any way to accomplish that. I was thinking about retrieving the the
> status ID from exactly one month ago, but I can't trust my cached
> statuses to represent the absolute beginning of the month. Also, the
> cache is cleared when I modify my strategy for dealing with timelines
> and such.
>
> I am currently following 100 users so this isn't a problem yet. I use
> PHP and MySQL... and a little python.
>


[twitter-dev] update_profile_image is returning 200OK but not updating Profile Image

2010-07-19 Thread Bob
We are again seeing behaviour where update_profile_image is returning
a 200OK but the image is not updated on Twitter. This happened last
week and was fixed under Issue 1745:

http://code.google.com/p/twitter-api/issues/detail?id=1745

But it has just reappeared. Behaviour is very slightly different in
that the previous profile image remains in place rather than becoming
a broken image.

Request and response shown below.

Thanks,

Bob

Founder
Twibbon.com


--REQUEST: http://api.twitter.com
POST /1/account/update_profile_image.json HTTP/1.1
Authorization: OAuth
oauth_consumer_key="cmrjngkKmoHNaSG1OfWFA",oauth_token="57184902-
BgSM4dVrnqDsPyFXmU2lYwsAzb406dVWMQMU6YwWE",oauth_nonce="81r7llydmekc186w",oauth_timestamp="1279545055",oauth_signature_method="HMAC-
SHA1",oauth_signature="9MkFOvvVxEmQZcyJUvSEOSF0na4%3D",oauth_version="1.0"
Content-Type: multipart/form-data; boundary=ab0fd378-4c1f-445f-
aa8e-45488c90256d
--ab0fd378-4c1f-445f-aa8e-45488c90256d
Content-Disposition: file; name="image"; filename="5e55681f-878e-46bd-
a584-57fcfaf4b52b.png"
Content-Type: image/png

[FILE DATA][System.Text.Latin1Encoding]
--ab0fd378-4c1f-445f-aa8e-45488c90256d--

--RESPONSE: http://api.twitter.com/1/account/update_profile_image.json
HTTP/1.1 200 OK
Date: Mon, 19 Jul 2010 13:10:55 GMT
Server: hi
Status: 200 OK
X-Transaction: 1279545055-84509-57740
ETag: "b089d0f3bb2c84ad1283361318917271"
Last-Modified: Mon, 19 Jul 2010 13:10:55 GMT
X-Runtime: 0.10970
Content-Type: application/json; charset=utf-8
Content-Length: 1340
Pragma: no-cache
X-Revision: DEV
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-
check=0
Set-Cookie: k=84.19.234.238.1279545055076066; path=/; expires=Mon, 26-
Jul-10 13:10:55 GMT; domain=.twitter.com,guest_id=127954505542692657;
path=/; expires=Wed, 18 Aug 2010 13:10:55 GMT,lang=en;
path=/,_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNQY1OopAToHaWQiJTMyOWI4OGU1MjFmNTg3%250AZTllNzNhOTQxYjVlOGVkNjQ3IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy
%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--
da8b247094aedfa91e96f6b9fc02dbc701228e41; domain=.twitter.com; path=/
Vary: Accept-Encoding
Connection: close

 {"statuses_count":
327,"profile_sidebar_border_color":"87bc44","description":"","location":"","profile_use_background_image":true,"followers_count":
31,"status":
{"contributors":null,"coordinates":null,"truncated":false,"source":"http://twibbon.com\"; rel=\"nofollow\">Twibbon","created_at":"Mon Jul 19 13:04:30 +
2010","geo":null,"in_reply_to_screen_name":null,"favorited":false,"in_reply_to_status_id":null,"place":null,"id":
18914185988,"in_reply_to_user_id":null,"text":"Support
#natsuniji_blue, add a #twibbon to your avatar now! -
http://twb.ly/9rgeFs"},"contributors_enabled":false,"friends_count":30,"geo_enabled":false,"profile_background_color":"9ae4e8","lang":"en","favourites_count":0,"created_at":"Thu
Jul 16 00:18:19 +
2009","verified":false,"profile_text_color":"00","follow_request_sent":false,"notifications":false,"time_zone":null,"following":false,"profile_link_color":"ff","protected":false,"profile_background_image_url":"http://
a1.twimg.com/profile_background_images/123041250/
df10e21c-5216-4fcb-80f5-e2962b764d6f.jpg","profile_image_url":"http://
a2.twimg.com/profile_images/1079636046/30f17041-0f8c-4031-b0fd-
d1bdcf043ad1_normal.png","name":"Bob
Thomson","profile_sidebar_fill_color":"e0ff92","url":null,"id":
57184902,"profile_background_tile":false,"utc_offset":null,"screen_name":"jpfette"}


[twitter-dev] How to implement tweet functionality in orkut apps.

2010-07-19 Thread Pyrocks
HI Friends,

I am new to this twitter implementation in orkut apps.
I have a requirement in my orkut application that i have to do tweet
functionality in my application that will posted some message in his
twitter profile page from my application.

User will give his twitter user id and password  when user click
submit button some message has to be posted in his twitter profile
from my application.

I have no idea about this implementation.I want some help.

If any body knows about this please provide some information related
to that or any URL.

This is immediate requirement in my application. I am expecting
response from forum people as soon as possible.

Thanks and Regards.

Py


[twitter-dev] Selecting most active users to stream from a list

2010-07-19 Thread Seth
I'm using tweepy to access statuses/filter. Having standard access, I
can stream 200 users in my site follow list. I'd like to stream the
200 most active users and pick up the rest with scheduled API calls.

I thought I would simply calculate the number of statuses posted
during the last month for all users in the follow list. I don't know
of any way to accomplish that. I was thinking about retrieving the the
status ID from exactly one month ago, but I can't trust my cached
statuses to represent the absolute beginning of the month. Also, the
cache is cleared when I modify my strategy for dealing with timelines
and such.

I am currently following 100 users so this isn't a problem yet. I use
PHP and MySQL... and a little python.


Re: [twitter-dev] Re: Twitter backup script

2010-07-19 Thread Tomas Roggero
Hi Pascal

What I'm doing is requesting 150 per hour. I've 43 pages, so in about a week
I'll get my "almost full" backup. :D

(I've wrote a PHP script to do that automatically, of course)

Does the Congress Library have an API or some ?

2010/7/18 Pascal Jürgens 

> Tom,
>
> at least you know that the library of congress has a backup :)
>
> Pascal
>
> On Jul 18, 2010, at 7:07 , Tom Roggero wrote:
>
> > I've tried your script on Mac, it only works for first 3 pages that's
> > weird (i'm running darwin ports for xml functions)...
> > Anyway, tried manually do it through firefox, latest page is 16.
> > That's the limit. But if you have the ID of the previous tweets you
> > could use statuses/SHOW for that ID... the problem is:
> >
> > IF you are backing up your account because you have all your tweet
> > IDs, you will need 1 request per tweet, and maximum is 350 (with HUGE
> > luck) per hour In my case, I got 10k, 3k via REST and 7k left to
> > do... 7 THOUSAND REQUEST???
> >
> > Come on twitter, help us, developers, start thingking on backups, we
> > know you are gonna explode!.
>
>


-- 
Saludos,

Tomás Roggero
http://www.flavors.me/tr


[twitter-dev] rate limited enhance your calm

2010-07-19 Thread hcl9559
I don't like getting this message... one because I don't understand
it.
Searched Twitter, Blackberry and Google.
Seems it's a twitter + blackberry issue.

1) Window pops up after one search in one session that I use once a
day. That means every time I open it!
2) Annoying verbage... makes me want to not use it
3) Impatient... see it again, and I'm tossing the app