Re: [twitter-dev] 502 Bad Gateway when trying to receive xml results

2010-06-15 Thread Rajiv Verma
lolz!! Best Of Luck :)

On Tue, Jun 15, 2010 at 11:28 AM, Tom Fulcher penny.lane.m...@gmail.comwrote:

 Thanks so much for letting me know! That should’ve been my first port of
 call! Check if the fail whale was swimming!



 *From:* twitter-development-talk@googlegroups.com [mailto:
 twitter-development-t...@googlegroups.com] *On Behalf Of *Rajiv Verma™
 *Sent:* Tuesday, 15 June 2010 3:07 PM
 *To:* twitter-development-talk@googlegroups.com
 *Subject:* Re: [twitter-dev] 502 Bad Gateway when trying to receive xml
 results



 For now, Twitter is down since the last couple of hours

 On Tue, Jun 15, 2010 at 10:33 AM, thomen penny.lane.m...@gmail.com
 wrote:

 Hi Guys,
 I've got an asp.net usercontrol to display twitter feeds.

 It requests the xml using this url and then parsing it: http://
 twitter.com/statuses/user_timeline.xml?
 screen_name=INSERTUSERNAMEHEREcount=INSERTPOSTCOUNTHERE;

 ie http://twitter.com/statuses/user_timeline.xml?
 screen_name=ladygagacount=5;

 public ListTwitterStatus GetStatusUpdates(string screenName, int
 count)
 {
string url = String.Format(StatusesUserTimeline, screenName, count);
 //this becomes something like:
 http://twitter.com/statuses/user_timeline.xml?screen_name=ladygagacount=5
string xml = FetchXmlFromUrl(url);

return CreateStatusObjectsFromXml(xml, count);
 }

 protected virtual string FetchXmlFromUrl(string url)
{
using (WebClient client = new WebClient())
using (Stream s = client.OpenRead(url))
using (StreamReader sr = new StreamReader(s))
{
return sr.ReadToEnd();
}
}

 etc etc (if you need more code I can provide)

 Just starting over the weekend on most of our sites we're now getting
 the response: The remote server returned an error: (502) Bad Gateway
 when trying to fetch the xml from the url

 just wondering what would cause the 502???

 the usercontrol is cached so we don't exceed the request limit..




 --
 Thanks  Regards
 Rajiv Verma
 Bangalore
 E-Mail: rajiv@gmail.com
 Ph: +91-92430-12766
 Go Green, Use minimum natural resources!




-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!


Re: [twitter-dev] TwitPic oAuth Echo Help! - PHP

2010-06-15 Thread Rajiv Verma
Might be because Twitter is behaving wired from the last 2 days.

On Tue, Jun 15, 2010 at 5:00 PM, Greg gregory.av...@gmail.com wrote:

 Hello all,

 I've trying to get this to work for the past couple of days - but
 every request to TwitPic returns a 401. I'm signing the requests with
 my ConsumerKey and consumerSecret to Twitter using the verify_account
 API call. Then I'm adding in the Oauth Realm and the OAuth Token as
 part of the header. Can anyone point out what I am doing wrong?

 Code Here: http://pastie.org/1005179

 Thanks again,
 Greg




-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!


Re: [twitter-dev] Fail Whale

2010-06-14 Thread Rajiv Verma
Yes!! Here too...

I am from India FYI

On Tue, Jun 15, 2010 at 10:13 AM, Ron B rbtheron...@gmail.com wrote:

 Anybody else noticing that Twitter appears to be down hard at the
 moment (actually for about 20 mins now)?




-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!


Re: [twitter-dev] 502 Bad Gateway when trying to receive xml results

2010-06-14 Thread Rajiv Verma
For now, Twitter is down since the last couple of hours

On Tue, Jun 15, 2010 at 10:33 AM, thomen penny.lane.m...@gmail.com wrote:

 Hi Guys,
 I've got an asp.net usercontrol to display twitter feeds.

 It requests the xml using this url and then parsing it: http://
 twitter.com/statuses/user_timeline.xml?
 screen_name=INSERTUSERNAMEHEREcount=INSERTPOSTCOUNTHERE;

 ie http://twitter.com/statuses/user_timeline.xml?
 screen_name=ladygagacount=5;

 public ListTwitterStatus GetStatusUpdates(string screenName, int
 count)
 {
string url = String.Format(StatusesUserTimeline, screenName, count);
 //this becomes something like:
 http://twitter.com/statuses/user_timeline.xml?screen_name=ladygagacount=5
string xml = FetchXmlFromUrl(url);

return CreateStatusObjectsFromXml(xml, count);
 }

 protected virtual string FetchXmlFromUrl(string url)
{
using (WebClient client = new WebClient())
using (Stream s = client.OpenRead(url))
using (StreamReader sr = new StreamReader(s))
{
return sr.ReadToEnd();
}
}

 etc etc (if you need more code I can provide)

 Just starting over the weekend on most of our sites we're now getting
 the response: The remote server returned an error: (502) Bad Gateway
 when trying to fetch the xml from the url

 just wondering what would cause the 502???

 the usercontrol is cached so we don't exceed the request limit..




-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!


Re: [twitter-dev] Can a single app support oAuth and xAuth?

2010-04-20 Thread Rajiv Verma
Yes! I am using it.

On Tue, Apr 20, 2010 at 11:52 AM, Raffi Krikorian ra...@twitter.com wrote:

 It is possible, but why are you using xauth?  It seems, as you are in the
 browser already, that you should just use the oauth workflow as is?



 On Apr 19, 2010, at 9:14 PM, YCBM youcannotb...@gmail.com wrote:

  Hi All,

 Can you a single registered oAuth app on Twitter be granted access to
 xAuth as well?

 We have a Firefox addon that let's people tweet the page they're on.
 While we're upgrading our site to support oAuth, we don't want to
 leave our Firefox addon behind.  Is it possible to be granted xAuth
 for authentication with it under the same app name?  Would seem
 confusing to have 2 registered apps, 1 for oAuth and 1 for oAuth w/
 xAuth permissions.

 Is this even possible?

 Best,
 Y


 --
 Subscription settings:
 http://groups.google.com/group/twitter-development-talk/subscribe?hl=en




-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!


Re: [twitter-dev] Annotation details

2010-04-14 Thread Rajiv Verma
From my Twitter Client, which is a desktop one, (rtweetz!), when I tweet  I
have any * *symbol, it simply skips tweeting.y??

On Thu, Apr 15, 2010 at 3:40 AM, Nigel Legg nigel.l...@gmail.com wrote:

 I look forward to reading about this, sounds... intriguing.

 On 14 April 2010 22:50, Raffi Krikorian ra...@twitter.com wrote:

 we will be releasing data in due time!


 On Wed, Apr 14, 2010 at 2:05 PM, James Teters jtet...@gmail.com wrote:

 Just curious if there is any documentation on how annotations will be
 implemented?

 Any ideas on size limitations or restrictions for this meta data?


 --
 To unsubscribe, reply using remove me as the subject.




 --
 Raffi Krikorian
 Twitter Platform Team
 http://twitter.com/raffi





-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!


Re: [twitter-dev] xAuth users?

2010-04-06 Thread Rajiv Verma
Hi,

I am using auth successfully but I am using an implementation of xAuth in
.net  not xAuth directly.

NB.- You need to send a mail to a...@twitter.com and request them to register
your app for  xAuth access.

On Wed, Apr 7, 2010 at 12:58 AM, Cameron Kaiser spec...@floodgap.comwrote:

 Anyone using xAuth successfully? I'm having trouble getting the process to
 accept my requests. I can discuss this off list if you prefer.

 --
  personal:
 http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com *
 ckai...@floodgap.com
 -- Seen on hand dryer: Push button for a message from your congressman.
 -


 --
 To unsubscribe, reply using remove me as the subject.




-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!


Re: [twitter-dev] Error 500 messages

2010-03-26 Thread Rajiv Verma
Yes! And its happening for the last 2-3 days.

May be something is wrong on Twitter's part.

On Fri, Mar 26, 2010 at 9:12 AM, Cory cory.imdi...@gmail.com wrote:

 I'm getting a bunch of Error 500 messages from different API calls
 today - is anyone else experiencing this? It isn't every call, but
 it's a good 1/3 of them. Sometimes a call will succeed, sometimes it
 will fail. The method being called doesn't seem to make a difference.

 I'm using oAuth, not sure if that matters.

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Just stated working

2010-03-26 Thread Rajiv Verma
I am using the Twitterizer Framework.

On Fri, Mar 26, 2010 at 10:55 AM, sardar ahmed sardarahm...@gmail.comwrote:

 Hi , ive just started working on twitter application on c# and using
 Yedda twitter class , can somebody give me a basic simple application
 or somebody tell me what is OutputFormatType.For example in parameters
 of some method what would be OutputFormatType.

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Error 500 messages

2010-03-26 Thread Rajiv Verma
Well!!
Not exactly!! what I was getting is Authentication Failed and
Server Timeout

On Fri, Mar 26, 2010 at 12:11 PM, John Kalucki j...@twitter.com wrote:

 Do these errors coincide with this incident?

 http://status.twitter.com/post/473971477/high-error-rate-and-page-loading-issues

 We threw a lot of 500s during this hour, and the 500s been slightly
 elevated from baseline since that issue was largely resolved. Ops is
 grinding down that error rate as I type.

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



 On Thu, Mar 25, 2010 at 8:42 PM, Cory cory.imdi...@gmail.com wrote:

 I'm getting a bunch of Error 500 messages from different API calls
 today - is anyone else experiencing this? It isn't every call, but
 it's a good 1/3 of them. Sometimes a call will succeed, sometimes it
 will fail. The method being called doesn't seem to make a difference.

 I'm using oAuth, not sure if that matters.

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


  To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Re: Error 500 messages

2010-03-26 Thread Rajiv Verma
The same happened with me too...I thought I messed up something somewhere..

Ne way, hope to see better Twitter API response in the future.

On Sat, Mar 27, 2010 at 2:17 AM, Cory cory.imdi...@gmail.com wrote:

 I think that was it, it's been much better now. I was worried because
 I'm in the middle of development and I thought I broke something!

 On Mar 25, 11:41 pm, John Kalucki j...@twitter.com wrote:
  Do these errors coincide with this incident?
 http://status.twitter.com/post/473971477/high-error-rate-and-page-loa...
 
  We threw a lot of 500s during this hour, and the 500s been slightly
 elevated
  from baseline since that issue was largely resolved. Ops is grinding down
  that error rate as I type.
 
  -John Kaluckihttp://twitter.com/jkalucki
  Infrastructure, Twitter Inc.
 
 
 
  On Thu, Mar 25, 2010 at 8:42 PM, Cory cory.imdi...@gmail.com wrote:
   I'm getting a bunch of Error 500 messages from different API calls
   today - is anyone else experiencing this? It isn't every call, but
   it's a good 1/3 of them. Sometimes a call will succeed, sometimes it
   will fail. The method being called doesn't seem to make a difference.
 
   I'm using oAuth, not sure if that matters.
 
   To unsubscribe from this group, send email to twitter-development-talk+
   unsubscribegooglegroups.com or reply to this email with the words
 REMOVE
   ME as the subject.

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Hi

2010-03-23 Thread Rajiv Verma
Try redirecting to www.twitter.com?status=hi

On Tue, Mar 23, 2010 at 6:35 PM, sudha g sudha.go...@gmail.com wrote:

 Hi,

 how to post a link on twitter in our site using  javascript .

 ex: i will use this twitter button in our own page. then i click
 twitter button and then post our page to twitter profile using HTML
 and VB.Net

 Thanks!

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.