[twitter-dev] Re: Twitterizer for twitter search

2009-07-10 Thread ggraha01

As far as I know there is not a search function in the Twitterizer
framework.. but you really don't need one.. you can use the search
method in the Twitter API 
http://apiwiki.twitter.com/Twitter-Search-API-Method:-search

Use a simple httpwebrequest and parse the returned XML.. Link to code
to do this just in case you don't know.
http://www.codeproject.com/KB/webservices/HttpWebRequest_Response.aspx

Hope it helps.

On Jun 3, 8:37 pm, timtrading...@gmail.com timtrading...@gmail.com
wrote:
 Is there search function build in with the Twitterizer framework? If
 so, is there any sample application that does it? I found the
 following link which is useful, but it doesn't discuss anything
 regarding searching. Thanks.

 http://www.keylimetie.com/Blog/2009/5/1/Twitterizer-Simplifies-NET-In...


[twitter-dev] Re: Getting tweets from Twitter API

2009-07-10 Thread Kevin Mesiab
The time field returned contains the offset (usually +)
Tue Apr 07 22:52:51 + 2009

On Thu, Jul 9, 2009 at 7:13 PM, praveen kumar
praveen.neteli...@gmail.comwrote:

 Hi,

 If we are getting tweets from Twitter API , User's tweet dates are in which
 timezone. Is it in GMT or else different timezones.


 --
 Regards,
 Praveen Kumar.N




-- 
Kevin Mesiab
CEO, Mesiab Labs L.L.C.

208-447-6016

http://www.mesiablabs.com
http://www.plsadvise.com


[twitter-dev] Re: Changing domains for image hosting

2009-07-10 Thread Toucan

Same here and it's already breaking our app today. We either give
users the browser mixed-ssl error (bad) or re-write to SSL which makes
images spin forever which also seems to break some javascript loads on
FF (also bad). Since Toucan runs inside salesforce, we are always on
SSL for every page.

Can twitter turn on SSL for twimg, even if to buy time while we figure
it out? One day notice really isn't a lot of time to develop a fix and
try to get everyone to re-install their appespecially since for
those of us that must serve every page with SSL, there is no good fix.

We really appreciate your help!
Diane



On Jul 9, 9:47 pm, gotwalt gotw...@gmail.com wrote:
 Any chance you'll enable SSL access of these images? At @cotweet we
 rely on s3's SSL when pages are being served via HTTPS (login, account
 changes, permissions, etc) in order to prevent security zone issues in
 IE. I'd imagine that other web-based clients may face similar issues.

 Aaron


[twitter-dev] Re: Changing domains for image hosting

2009-07-10 Thread Abraham Williams
A temporary fix is to run a proxy on your own SSL domain and pull the photos
through there.

Abraham

On Fri, Jul 10, 2009 at 02:18, Toucan toucan...@gmail.com wrote:


 Same here and it's already breaking our app today. We either give
 users the browser mixed-ssl error (bad) or re-write to SSL which makes
 images spin forever which also seems to break some javascript loads on
 FF (also bad). Since Toucan runs inside salesforce, we are always on
 SSL for every page.

 Can twitter turn on SSL for twimg, even if to buy time while we figure
 it out? One day notice really isn't a lot of time to develop a fix and
 try to get everyone to re-install their appespecially since for
 those of us that must serve every page with SSL, there is no good fix.

 We really appreciate your help!
 Diane



 On Jul 9, 9:47 pm, gotwalt gotw...@gmail.com wrote:
  Any chance you'll enable SSL access of these images? At @cotweet we
  rely on s3's SSL when pages are being served via HTTPS (login, account
  changes, permissions, etc) in order to prevent security zone issues in
  IE. I'd imagine that other web-based clients may face similar issues.
 
  Aaron




-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Re: statuses/friends page count?

2009-07-10 Thread Dmitriy Vyukov

On Jul 6, 9:09 pm, Doug Williams d...@twitter.com wrote:
 You should either page through statuses/friends until you get an empty
 response set or use statuses/show to get the number of friends expected and
 intelligently page to the end of the list.


Ok, thank you, so it's the 'official' method.
But I am still curious, can't all friends on a page be filtered out?


--
Dmitriy V'jukov


[twitter-dev] Error in following response

2009-07-10 Thread @michielb

Hi,

I've looked to see if this has been asked before, maybe I've missed
it, but I notice a problem in the 'following' tag of a user in a
replies stream. This value seems to be incorrect. It is either empty,
true or false at the moment but does not seem to be right in many
cases.

This is a problem, because I want to start making a visual and
functional distinction in my replies stream between people the user
does and does not follow, in order to combat replyspam.

Again I apologize if this is a repost of an existing problem.

Michiel


[twitter-dev] Re: account/rate_limit_status

2009-07-10 Thread Arnaud Meunier

I always heard IP whitelisting was taking precedence to account rate
limits.
What you're describing sounds like the normal behaviour to me.

Arnaud.


On Jul 10, 6:06 am, alan_b ala...@gmail.com wrote:
 I'm making a account/rate_limit_status call using OAuth authenticated
 with a non-whitelisted user, and the server that making the call is
 whitelisted. The call always returned the IP-based rate limit
 information, not the authenticated user info.

 Please try it here with a non-whitelisted 
 accounthttp://alanho.com/twitter_console/

 I searched this group before and found the issue(http://
 code.google.com/p/twitter-api/issues/detail?id=376) related to this
 but it's marked as Fixed. anyone can confirm the re-appearance of
 this issue??


[twitter-dev] Re: Error in following response

2009-07-10 Thread Abraham Williams
The following information in user objects are known to be inaccurate and
have been deprecated:
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/42ba883b9f8e3c6e?tvc=2

Instead check out:
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-friendships-show

Abraham

On Fri, Jul 10, 2009 at 02:44, @michielb m.ber...@nedstat.com wrote:


 Hi,

 I've looked to see if this has been asked before, maybe I've missed
 it, but I notice a problem in the 'following' tag of a user in a
 replies stream. This value seems to be incorrect. It is either empty,
 true or false at the moment but does not seem to be right in many
 cases.

 This is a problem, because I want to start making a visual and
 functional distinction in my replies stream between people the user
 does and does not follow, in order to combat replyspam.

 Again I apologize if this is a repost of an existing problem.

 Michiel




-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Re: Posting with long URLs (more than 140 chars total, before URL is shortened)

2009-07-10 Thread avinash srivastava
Hi,

Just an alternate method to do it - You can do url find and url shortening
with bitly before posting to twitter.

Avinash

On Fri, Jul 10, 2009 at 4:20 PM, TomerN tomerna...@gmail.com wrote:


 I'd like to programatically post updates that may be longer than 140
 chars because they sometime contain long URLs. Those URLs will
 eventually be shortened by twitter - but I can't seem to post such
 updates because the origin is too long. Is there any workaround for
 this?



[twitter-dev] Re: Changing domains for image hosting

2009-07-10 Thread Matt Sanford

Hi all,

I'm working with our ops folks now to get SSL fixed on twimg.com.  
No need for running proxies … we're working on it.


Thanks;
 – Matt Sanford / @mzsanford
 Twitter Dev

On Jul 10, 2009, at 12:42 AM, Abraham Williams wrote:

A temporary fix is to run a proxy on your own SSL domain and pull  
the photos through there.


Abraham

On Fri, Jul 10, 2009 at 02:18, Toucan toucan...@gmail.com wrote:

Same here and it's already breaking our app today. We either give
users the browser mixed-ssl error (bad) or re-write to SSL which makes
images spin forever which also seems to break some javascript loads on
FF (also bad). Since Toucan runs inside salesforce, we are always on
SSL for every page.

Can twitter turn on SSL for twimg, even if to buy time while we figure
it out? One day notice really isn't a lot of time to develop a fix and
try to get everyone to re-install their appespecially since for
those of us that must serve every page with SSL, there is no good fix.

We really appreciate your help!
Diane



On Jul 9, 9:47 pm, gotwalt gotw...@gmail.com wrote:
 Any chance you'll enable SSL access of these images? At @cotweet we
 rely on s3's SSL when pages are being served via HTTPS (login,  
account
 changes, permissions, etc) in order to prevent security zone  
issues in
 IE. I'd imagine that other web-based clients may face similar  
issues.


 Aaron



--
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.




[twitter-dev] Should consumer token be kept secret?

2009-07-10 Thread Grant Emsley

I'm almost ready to release a desktop app using OAuth.  It's written
in Perl, so anyone can read the source.

Should I remove my consumer token and secret and make people get their
own?  Or is it safe to distribute?


[twitter-dev] Re: Should consumer token be kept secret?

2009-07-10 Thread Howard Siegel
There was just a long thread discussing these sorts of security issues.

The thread title is Security Best Practices and is at 
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/45550d6cebf86051#


- h

On Fri, Jul 10, 2009 at 10:05, Grant Emsley grant.ems...@gmail.com wrote:


 I'm almost ready to release a desktop app using OAuth.  It's written
 in Perl, so anyone can read the source.

 Should I remove my consumer token and secret and make people get their
 own?  Or is it safe to distribute?


[twitter-dev] How to Keep Profile Image Urls up to date

2009-07-10 Thread Francis Shanahan

When a user visits my site (tweetarun.com) I make a call to grab their
latest profile data and store their profileImageUrl in my database.
This url is used on my site to display their profile image on a
Members widget which is accessible to all visitors, not just
authenticated twitter users.

If the user changes their profile image on Twitter.com, my site has no
knowledge of this other than the cached Profile Image url is now
broken.

Is there some method I'm missing to keep these image urls up to date?

-fs
http://tweetarun.com


[twitter-dev] Intermittent network failures?

2009-07-10 Thread Jeffrey Greenberg

I'm not sure what these are but I see them often enough to wonder
about the reliability of the network between Twitter and my app.  The
portion of my app the speaks with Twitter runs on Amazon AWS/EC2.  I
see a small  variety of Curl failures that occur throughout the day.
I'm not clear whether these reflect Twitter issues, EC2 issues, or my
app.

I'd appreciate any illumination as to which of these might be Twitter
issues and which are not...

I see 5 different Curl failures and take together with the various
Twitter Api I am using, there 23 different variants all together. Here
they are:

Curl error: 0.  url: 
http://twitter.com/followers/ids.xml?user_id=18057710page=1
Curl error: 0.  url: http://twitter.com/followers/ids.xml?user_id=19966258
Curl error: 0.  url: http://twitter.com/friends/ids.xml?user_id=14080067
Curl error: 0.  url: http://twitter.com/friends/ids.xml?user_id=14623539page=1
Curl error: 0.  url: http://twitter.com/users/show.xml?screen_name=BryanMcKinney
Curl error: 0.  url: http://twitter.com/users/show.xml?user_id=10063932
Curl error: 7. couldn't connect to host url:
http://search.twitter.com/search.json?q=neutrogena%20AND%20ultra%20sheerrpp=100
Curl error: 7. couldn't connect to host url:
http://twitter.com/followers/ids.xml?user_id=11601722page=1
Curl error: 7. couldn't connect to host url:
http://twitter.com/followers/ids.xml?user_id=17825053
Curl error: 7. couldn't connect to host url:
http://twitter.com/friends/ids.xml?user_id=13436432page=1
Curl error: 7. couldn't connect to host url: 
http://twitter.com/friends/ids.xml?user_id=21937700
Curl error: 7. couldn't connect to host url: 
http://twitter.com/users/show.xml?screen_name=L4S7
Curl error: 7. couldn't connect to host url: 
http://twitter.com/users/show.xml?user_id=10108342
Curl error: 18. transfer closed with 150 bytes remaining to read url:
http://twitter.com/users/show.xml?user_id=53631710
Curl error: 26. Failed to open/read local data from file/application
url: http://twitter.com/friendships/create.xml?screen_name=
/* OK this one is obviously a bug in my App  */
Curl error: 26. Failed to open/read local data from file/application
url: http://twitter.com/friendships/create.xml?screen_name=1WineDude
Curl error: 52. Empty reply from server url:
http://search.twitter.com/search.json?page=12max_id=2500368394rpp=100q=stock+market+since%3A2009-07-05
Curl error: 52. Empty reply from server url:
http://twitter.com/followers/ids.xml?user_id=11601722page=1
Curl error: 52. Empty reply from server url:
http://twitter.com/followers/ids.xml?user_id=15476479
Curl error: 52. Empty reply from server url: 
http://twitter.com/friends/ids.xml?user_id=27641196
Curl error: 52. Empty reply from server url:
http://twitter.com/friends/ids.xml?user_id=37113325page=1
Curl error: 52. Empty reply from server url:
http://twitter.com/users/show.xml?screen_name=Cardenas79
Curl error: 52. Empty reply from server url: 
http://twitter.com/users/show.xml?user_id=1233581
~
~


[twitter-dev] Re: Intermittent network failures?

2009-07-10 Thread Matt Sanford

Hi all,

There is currently a back-end issue and our operation folks are  
working on it. Hopefully it will be resolved soon. I'll update you  
when I know more.


Thanks;
 – Matt Sanford / @mzsanford
 Twitter Dev

On Jul 10, 2009, at 11:51 AM, João Pereira wrote:


Hi,

I'm also having some problems working with twitter API since the  
past few hours. Even with the Web interface I'm not able to complete  
a follow action, for example.


It's there anything going on?



On Fri, Jul 10, 2009 at 6:59 PM, Jeffrey Greenberg jeffreygreenb...@gmail.com 
 wrote:


I'm not sure what these are but I see them often enough to wonder
about the reliability of the network between Twitter and my app.  The
portion of my app the speaks with Twitter runs on Amazon AWS/EC2.  I
see a small  variety of Curl failures that occur throughout the day.
I'm not clear whether these reflect Twitter issues, EC2 issues, or my
app.

I'd appreciate any illumination as to which of these might be Twitter
issues and which are not...

I see 5 different Curl failures and take together with the various
Twitter Api I am using, there 23 different variants all together. Here
they are:

Curl error: 0.  url: 
http://twitter.com/followers/ids.xml?user_id=18057710page=1
Curl error: 0.  url: http://twitter.com/followers/ids.xml?user_id=19966258
Curl error: 0.  url: http://twitter.com/friends/ids.xml?user_id=14080067
Curl error: 0.  url: http://twitter.com/friends/ids.xml?user_id=14623539page=1
Curl error: 0.  url: http://twitter.com/users/show.xml?screen_name=BryanMcKinney
Curl error: 0.  url: http://twitter.com/users/show.xml? 
user_id=10063932

Curl error: 7. couldn't connect to host url:
http://search.twitter.com/search.json?q=neutrogena%20AND%20ultra%20sheerrpp=100
Curl error: 7. couldn't connect to host url:
http://twitter.com/followers/ids.xml?user_id=11601722page=1
Curl error: 7. couldn't connect to host url:
http://twitter.com/followers/ids.xml?user_id=17825053
Curl error: 7. couldn't connect to host url:
http://twitter.com/friends/ids.xml?user_id=13436432page=1
Curl error: 7. couldn't connect to host url: 
http://twitter.com/friends/ids.xml?user_id=21937700
Curl error: 7. couldn't connect to host url: 
http://twitter.com/users/show.xml?screen_name=L4S7
Curl error: 7. couldn't connect to host url: 
http://twitter.com/users/show.xml?user_id=10108342
Curl error: 18. transfer closed with 150 bytes remaining to read url:
http://twitter.com/users/show.xml?user_id=53631710
Curl error: 26. Failed to open/read local data from file/application
url: http://twitter.com/friendships/create.xml?screen_name=
/* OK this one is obviously a bug in my App  */
Curl error: 26. Failed to open/read local data from file/application
url: http://twitter.com/friendships/create.xml?screen_name=1WineDude
Curl error: 52. Empty reply from server url:
http://search.twitter.com/search.json?page=12max_id=2500368394rpp=100q=stock+market+since%3A2009-07-05
Curl error: 52. Empty reply from server url:
http://twitter.com/followers/ids.xml?user_id=11601722page=1
Curl error: 52. Empty reply from server url:
http://twitter.com/followers/ids.xml?user_id=15476479
Curl error: 52. Empty reply from server url: 
http://twitter.com/friends/ids.xml?user_id=27641196
Curl error: 52. Empty reply from server url:
http://twitter.com/friends/ids.xml?user_id=37113325page=1
Curl error: 52. Empty reply from server url:
http://twitter.com/users/show.xml?screen_name=Cardenas79
Curl error: 52. Empty reply from server url: 
http://twitter.com/users/show.xml?user_id=1233581
~
~







[twitter-dev] Re: Intermittent network failures?

2009-07-10 Thread João Pereira
Thank you Matt.

On Fri, Jul 10, 2009 at 7:52 PM, Matt Sanford m...@twitter.com wrote:

 Hi all,
 There is currently a back-end issue and our operation folks are working
 on it. Hopefully it will be resolved soon. I'll update you when I know more.

 Thanks;
  – Matt Sanford / @mzsanford
  Twitter Dev

 On Jul 10, 2009, at 11:51 AM, João Pereira wrote:

 Hi,
 I'm also having some problems working with twitter API since the past few
 hours. Even with the Web interface I'm not able to complete a follow action,
 for example.

 It's there anything going on?



 On Fri, Jul 10, 2009 at 6:59 PM, Jeffrey Greenberg 
 jeffreygreenb...@gmail.com wrote:


 I'm not sure what these are but I see them often enough to wonder
 about the reliability of the network between Twitter and my app.  The
 portion of my app the speaks with Twitter runs on Amazon AWS/EC2.  I
 see a small  variety of Curl failures that occur throughout the day.
 I'm not clear whether these reflect Twitter issues, EC2 issues, or my
 app.

 I'd appreciate any illumination as to which of these might be Twitter
 issues and which are not...

 I see 5 different Curl failures and take together with the various
 Twitter Api I am using, there 23 different variants all together. Here
 they are:

 Curl error: 0.  url:
 http://twitter.com/followers/ids.xml?user_id=18057710page=1
 Curl error: 0.  url:
 http://twitter.com/followers/ids.xml?user_id=19966258
 Curl error: 0.  url: http://twitter.com/friends/ids.xml?user_id=14080067
 Curl error: 0.  url:
 http://twitter.com/friends/ids.xml?user_id=14623539page=1
 Curl error: 0.  url:
 http://twitter.com/users/show.xml?screen_name=BryanMcKinney
 Curl error: 0.  url: http://twitter.com/users/show.xml?user_id=10063932
 Curl error: 7. couldn't connect to host url:

 http://search.twitter.com/search.json?q=neutrogena%20AND%20ultra%20sheerrpp=100
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/followers/ids.xml?user_id=11601722page=1
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/followers/ids.xml?user_id=17825053
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/friends/ids.xml?user_id=13436432page=1
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/friends/ids.xml?user_id=21937700
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/users/show.xml?screen_name=L4S7
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/users/show.xml?user_id=10108342
 Curl error: 18. transfer closed with 150 bytes remaining to read url:
 http://twitter.com/users/show.xml?user_id=53631710
 Curl error: 26. Failed to open/read local data from file/application
 url: http://twitter.com/friendships/create.xml?screen_name=
 /* OK this one is obviously a bug in my App  */
 Curl error: 26. Failed to open/read local data from file/application
 url: http://twitter.com/friendships/create.xml?screen_name=1WineDude
 Curl error: 52. Empty reply from server url:

 http://search.twitter.com/search.json?page=12max_id=2500368394rpp=100q=stock+market+since%3A2009-07-05
 Curl error: 52. Empty reply from server url:
 http://twitter.com/followers/ids.xml?user_id=11601722page=1
 Curl error: 52. Empty reply from server url:
 http://twitter.com/followers/ids.xml?user_id=15476479
 Curl error: 52. Empty reply from server url:
 http://twitter.com/friends/ids.xml?user_id=27641196
 Curl error: 52. Empty reply from server url:
 http://twitter.com/friends/ids.xml?user_id=37113325page=1
 Curl error: 52. Empty reply from server url:
 http://twitter.com/users/show.xml?screen_name=Cardenas79
 Curl error: 52. Empty reply from server url:
 http://twitter.com/users/show.xml?user_id=1233581
 ~
 ~








[twitter-dev] Re: Intermittent network failures?

2009-07-10 Thread João Pereira
Hi,
I'm also having some problems working with twitter API since the past few
hours. Even with the Web interface I'm not able to complete a follow action,
for example.

It's there anything going on?



On Fri, Jul 10, 2009 at 6:59 PM, Jeffrey Greenberg 
jeffreygreenb...@gmail.com wrote:


 I'm not sure what these are but I see them often enough to wonder
 about the reliability of the network between Twitter and my app.  The
 portion of my app the speaks with Twitter runs on Amazon AWS/EC2.  I
 see a small  variety of Curl failures that occur throughout the day.
 I'm not clear whether these reflect Twitter issues, EC2 issues, or my
 app.

 I'd appreciate any illumination as to which of these might be Twitter
 issues and which are not...

 I see 5 different Curl failures and take together with the various
 Twitter Api I am using, there 23 different variants all together. Here
 they are:

 Curl error: 0.  url:
 http://twitter.com/followers/ids.xml?user_id=18057710page=1
 Curl error: 0.  url: http://twitter.com/followers/ids.xml?user_id=19966258
 Curl error: 0.  url: http://twitter.com/friends/ids.xml?user_id=14080067
 Curl error: 0.  url:
 http://twitter.com/friends/ids.xml?user_id=14623539page=1
 Curl error: 0.  url:
 http://twitter.com/users/show.xml?screen_name=BryanMcKinney
 Curl error: 0.  url: http://twitter.com/users/show.xml?user_id=10063932
 Curl error: 7. couldn't connect to host url:

 http://search.twitter.com/search.json?q=neutrogena%20AND%20ultra%20sheerrpp=100
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/followers/ids.xml?user_id=11601722page=1
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/followers/ids.xml?user_id=17825053
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/friends/ids.xml?user_id=13436432page=1
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/friends/ids.xml?user_id=21937700
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/users/show.xml?screen_name=L4S7
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/users/show.xml?user_id=10108342
 Curl error: 18. transfer closed with 150 bytes remaining to read url:
 http://twitter.com/users/show.xml?user_id=53631710
 Curl error: 26. Failed to open/read local data from file/application
 url: http://twitter.com/friendships/create.xml?screen_name=
 /* OK this one is obviously a bug in my App  */
 Curl error: 26. Failed to open/read local data from file/application
 url: http://twitter.com/friendships/create.xml?screen_name=1WineDude
 Curl error: 52. Empty reply from server url:

 http://search.twitter.com/search.json?page=12max_id=2500368394rpp=100q=stock+market+since%3A2009-07-05
 Curl error: 52. Empty reply from server url:
 http://twitter.com/followers/ids.xml?user_id=11601722page=1
 Curl error: 52. Empty reply from server url:
 http://twitter.com/followers/ids.xml?user_id=15476479
 Curl error: 52. Empty reply from server url:
 http://twitter.com/friends/ids.xml?user_id=27641196
 Curl error: 52. Empty reply from server url:
 http://twitter.com/friends/ids.xml?user_id=37113325page=1
 Curl error: 52. Empty reply from server url:
 http://twitter.com/users/show.xml?screen_name=Cardenas79
 Curl error: 52. Empty reply from server url:
 http://twitter.com/users/show.xml?user_id=1233581
 ~
 ~



[twitter-dev] Re: Should consumer token be kept secret?

2009-07-10 Thread Grant Emsley

After reading that thread, it seems there is no good solution :(



On Jul 10, 1:17 pm, Howard Siegel hsie...@gmail.com wrote:
 There was just a long thread discussing these sorts of security issues.

 The thread title is Security Best Practices and is at 
 http://groups.google.com/group/twitter-development-talk/browse_thread...



 - h

 On Fri, Jul 10, 2009 at 10:05, Grant Emsley grant.ems...@gmail.com wrote:

  I'm almost ready to release a desktop app using OAuth.  It's written
  in Perl, so anyone can read the source.

  Should I remove my consumer token and secret and make people get their
  own?  Or is it safe to distribute?


[twitter-dev] Re: Intermittent network failures?

2009-07-10 Thread Yu-Shan Fung
Thanks for the update, Matt! We are seeing higher than usual timeouts,
checked status.twitter.com and didn't see anything mentioned.

On Fri, Jul 10, 2009 at 11:52 AM, Matt Sanford m...@twitter.com wrote:

 Hi all,
 There is currently a back-end issue and our operation folks are working
 on it. Hopefully it will be resolved soon. I'll update you when I know more.

   Thanks;
  – Matt Sanford / @mzsanford
  Twitter Dev

 On Jul 10, 2009, at 11:51 AM, João Pereira wrote:

 Hi,
 I'm also having some problems working with twitter API since the past few
 hours. Even with the Web interface I'm not able to complete a follow action,
 for example.

 It's there anything going on?



 On Fri, Jul 10, 2009 at 6:59 PM, Jeffrey Greenberg 
 jeffreygreenb...@gmail.com wrote:


 I'm not sure what these are but I see them often enough to wonder
 about the reliability of the network between Twitter and my app.  The
 portion of my app the speaks with Twitter runs on Amazon AWS/EC2.  I
 see a small  variety of Curl failures that occur throughout the day.
 I'm not clear whether these reflect Twitter issues, EC2 issues, or my
 app.

 I'd appreciate any illumination as to which of these might be Twitter
 issues and which are not...

 I see 5 different Curl failures and take together with the various
 Twitter Api I am using, there 23 different variants all together. Here
 they are:

 Curl error: 0.  url:
 http://twitter.com/followers/ids.xml?user_id=18057710page=1
 Curl error: 0.  url:
 http://twitter.com/followers/ids.xml?user_id=19966258
 Curl error: 0.  url: http://twitter.com/friends/ids.xml?user_id=14080067
 Curl error: 0.  url:
 http://twitter.com/friends/ids.xml?user_id=14623539page=1
 Curl error: 0.  url:
 http://twitter.com/users/show.xml?screen_name=BryanMcKinney
 Curl error: 0.  url: http://twitter.com/users/show.xml?user_id=10063932
 Curl error: 7. couldn't connect to host url:

 http://search.twitter.com/search.json?q=neutrogena%20AND%20ultra%20sheerrpp=100
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/followers/ids.xml?user_id=11601722page=1
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/followers/ids.xml?user_id=17825053
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/friends/ids.xml?user_id=13436432page=1
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/friends/ids.xml?user_id=21937700
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/users/show.xml?screen_name=L4S7
 Curl error: 7. couldn't connect to host url:
 http://twitter.com/users/show.xml?user_id=10108342
 Curl error: 18. transfer closed with 150 bytes remaining to read url:
 http://twitter.com/users/show.xml?user_id=53631710
 Curl error: 26. Failed to open/read local data from file/application
 url: http://twitter.com/friendships/create.xml?screen_name=
 /* OK this one is obviously a bug in my App  */
 Curl error: 26. Failed to open/read local data from file/application
 url: http://twitter.com/friendships/create.xml?screen_name=1WineDude
 Curl error: 52. Empty reply from server url:

 http://search.twitter.com/search.json?page=12max_id=2500368394rpp=100q=stock+market+since%3A2009-07-05
 Curl error: 52. Empty reply from server url:
 http://twitter.com/followers/ids.xml?user_id=11601722page=1
 Curl error: 52. Empty reply from server url:
 http://twitter.com/followers/ids.xml?user_id=15476479
 Curl error: 52. Empty reply from server url:
 http://twitter.com/friends/ids.xml?user_id=27641196
 Curl error: 52. Empty reply from server url:
 http://twitter.com/friends/ids.xml?user_id=37113325page=1
 Curl error: 52. Empty reply from server url:
 http://twitter.com/users/show.xml?screen_name=Cardenas79
 Curl error: 52. Empty reply from server url:
 http://twitter.com/users/show.xml?user_id=1233581
 ~
 ~








-- 
“When nothing seems to help, I go look at a stonecutter hammering away at
his rock perhaps a hundred times without as much as a crack showing in it.
Yet at the hundred and first blow it will split in two, and I know it was
not that blow that did it, but all that had gone before.” — Jacob Riis


[twitter-dev] Blocked Users in the list of users

2009-07-10 Thread João Pereira
Hi,
If I have a user blocked, will it still apears in the list of users
following me?

Thanks,

jp


[twitter-dev] Re: Intermittent network failures?

2009-07-10 Thread Jeffrey Greenberg

Just to say it, this has been going on for weeks

jeffrey
http://www.tweettronics.com


On Jul 10, 11:52 am, Matt Sanford m...@twitter.com wrote:
 Hi all,

      There is currently a back-end issue and our operation folks are  
 working on it. Hopefully it will be resolved soon. I'll update you  
 when I know more.

 Thanks;
   – Matt Sanford / @mzsanford
       Twitter Dev

 On Jul 10, 2009, at 11:51 AM, João Pereira wrote:



  Hi,

  I'm also having some problems working with twitter API since the  
  past few hours. Even with the Web interface I'm not able to complete  
  a follow action, for example.

  It's there anything going on?

  On Fri, Jul 10, 2009 at 6:59 PM, Jeffrey Greenberg 
  jeffreygreenb...@gmail.com
   wrote:

  I'm not sure what these are but I see them often enough to wonder
  about the reliability of the network between Twitter and my app.  The
  portion of my app the speaks with Twitter runs on Amazon AWS/EC2.  I
  see a small  variety of Curl failures that occur throughout the day.
  I'm not clear whether these reflect Twitter issues, EC2 issues, or my
  app.

  I'd appreciate any illumination as to which of these might be Twitter
  issues and which are not...

  I see 5 different Curl failures and take together with the various
  Twitter Api I am using, there 23 different variants all together. Here
  they are:

  Curl error: 0.  
  url:http://twitter.com/followers/ids.xml?user_id=18057710page=1
  Curl error: 0.  url:http://twitter.com/followers/ids.xml?user_id=19966258
  Curl error: 0.  url:http://twitter.com/friends/ids.xml?user_id=14080067
  Curl error: 0.  
  url:http://twitter.com/friends/ids.xml?user_id=14623539page=1
  Curl error: 0.  
  url:http://twitter.com/users/show.xml?screen_name=BryanMcKinney
  Curl error: 0.  url:http://twitter.com/users/show.xml?
  user_id=10063932
  Curl error: 7. couldn't connect to host url:
 http://search.twitter.com/search.json?q=neutrogena%20AND%20ultra%20sh...
  Curl error: 7. couldn't connect to host url:
 http://twitter.com/followers/ids.xml?user_id=11601722page=1
  Curl error: 7. couldn't connect to host url:
 http://twitter.com/followers/ids.xml?user_id=17825053
  Curl error: 7. couldn't connect to host url:
 http://twitter.com/friends/ids.xml?user_id=13436432page=1
  Curl error: 7. couldn't connect to host 
  url:http://twitter.com/friends/ids.xml?user_id=21937700
  Curl error: 7. couldn't connect to host 
  url:http://twitter.com/users/show.xml?screen_name=L4S7
  Curl error: 7. couldn't connect to host 
  url:http://twitter.com/users/show.xml?user_id=10108342
  Curl error: 18. transfer closed with 150 bytes remaining to read url:
 http://twitter.com/users/show.xml?user_id=53631710
  Curl error: 26. Failed to open/read local data from file/application
  url:http://twitter.com/friendships/create.xml?screen_name=
  /* OK this one is obviously a bug in my App  */
  Curl error: 26. Failed to open/read local data from file/application
  url:http://twitter.com/friendships/create.xml?screen_name=1WineDude
  Curl error: 52. Empty reply from server url:
 http://search.twitter.com/search.json?page=12max_id=2500368394rpp=1...
  Curl error: 52. Empty reply from server url:
 http://twitter.com/followers/ids.xml?user_id=11601722page=1
  Curl error: 52. Empty reply from server url:
 http://twitter.com/followers/ids.xml?user_id=15476479
  Curl error: 52. Empty reply from server 
  url:http://twitter.com/friends/ids.xml?user_id=27641196
  Curl error: 52. Empty reply from server url:
 http://twitter.com/friends/ids.xml?user_id=37113325page=1
  Curl error: 52. Empty reply from server url:
 http://twitter.com/users/show.xml?screen_name=Cardenas79
  Curl error: 52. Empty reply from server 
  url:http://twitter.com/users/show.xml?user_id=1233581
  ~
  ~


[twitter-dev] Re: Blocked Users in the list of users

2009-07-10 Thread JDG
It used to, but does not appear to any more.

2009/7/10 João Pereira joaomiguel.pere...@gmail.com

 Hi,
 If I have a user blocked, will it still apears in the list of users
 following me?

 Thanks,

 jp




-- 
Internets. Serious business.


[twitter-dev] Re: Should consumer token be kept secret?

2009-07-10 Thread Cameron Kaiser

 After reading that thread, it seems there is no good solution :(

That is also my conclusion.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- 1-GHz Pentium-III + Java + XSLT == 1-MHz 6502. -- Craig Bruce --


[twitter-dev] Re: Intermittent network failures?

2009-07-10 Thread Dossy Shiobara


On 7/10/09 3:38 PM, Jeffrey Greenberg wrote:

Just to say it, this has been going on for weeks


Actually, months ... at least as far as I've noticed it.

--
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: Intermittent network failures?

2009-07-10 Thread João Pereira
It seems that twitter has gone :) I'll have dinner instead.

On Fri, Jul 10, 2009 at 8:38 PM, Jeffrey Greenberg 
jeffreygreenb...@gmail.com wrote:


 Just to say it, this has been going on for weeks

 jeffrey
 http://www.tweettronics.com


 On Jul 10, 11:52 am, Matt Sanford m...@twitter.com wrote:
  Hi all,
 
   There is currently a back-end issue and our operation folks are
  working on it. Hopefully it will be resolved soon. I'll update you
  when I know more.
 
  Thanks;
– Matt Sanford / @mzsanford
Twitter Dev
 
  On Jul 10, 2009, at 11:51 AM, João Pereira wrote:
 
 
 
   Hi,
 
   I'm also having some problems working with twitter API since the
   past few hours. Even with the Web interface I'm not able to complete
   a follow action, for example.
 
   It's there anything going on?
 
   On Fri, Jul 10, 2009 at 6:59 PM, Jeffrey Greenberg 
 jeffreygreenb...@gmail.com
wrote:
 
   I'm not sure what these are but I see them often enough to wonder
   about the reliability of the network between Twitter and my app.  The
   portion of my app the speaks with Twitter runs on Amazon AWS/EC2.  I
   see a small  variety of Curl failures that occur throughout the day.
   I'm not clear whether these reflect Twitter issues, EC2 issues, or my
   app.
 
   I'd appreciate any illumination as to which of these might be Twitter
   issues and which are not...
 
   I see 5 different Curl failures and take together with the various
   Twitter Api I am using, there 23 different variants all together. Here
   they are:
 
   Curl error: 0.  url:
 http://twitter.com/followers/ids.xml?user_id=18057710page=1
   Curl error: 0.  url:
 http://twitter.com/followers/ids.xml?user_id=19966258
   Curl error: 0.  url:
 http://twitter.com/friends/ids.xml?user_id=14080067
   Curl error: 0.  url:
 http://twitter.com/friends/ids.xml?user_id=14623539page=1
   Curl error: 0.  url:
 http://twitter.com/users/show.xml?screen_name=BryanMcKinney
   Curl error: 0.  url:http://twitter.com/users/show.xml?
   user_id=10063932
   Curl error: 7. couldn't connect to host url:
  http://search.twitter.com/search.json?q=neutrogena%20AND%20ultra%20sh.
 ..
   Curl error: 7. couldn't connect to host url:
  http://twitter.com/followers/ids.xml?user_id=11601722page=1
   Curl error: 7. couldn't connect to host url:
  http://twitter.com/followers/ids.xml?user_id=17825053
   Curl error: 7. couldn't connect to host url:
  http://twitter.com/friends/ids.xml?user_id=13436432page=1
   Curl error: 7. couldn't connect to host url:
 http://twitter.com/friends/ids.xml?user_id=21937700
   Curl error: 7. couldn't connect to host url:
 http://twitter.com/users/show.xml?screen_name=L4S7
   Curl error: 7. couldn't connect to host url:
 http://twitter.com/users/show.xml?user_id=10108342
   Curl error: 18. transfer closed with 150 bytes remaining to read url:
  http://twitter.com/users/show.xml?user_id=53631710
   Curl error: 26. Failed to open/read local data from file/application
   url:http://twitter.com/friendships/create.xml?screen_name=
   /* OK this one is obviously a bug in my App  */
   Curl error: 26. Failed to open/read local data from file/application
   url:http://twitter.com/friendships/create.xml?screen_name=1WineDude
   Curl error: 52. Empty reply from server url:
  http://search.twitter.com/search.json?page=12max_id=2500368394rpp=1.
 ..
   Curl error: 52. Empty reply from server url:
  http://twitter.com/followers/ids.xml?user_id=11601722page=1
   Curl error: 52. Empty reply from server url:
  http://twitter.com/followers/ids.xml?user_id=15476479
   Curl error: 52. Empty reply from server url:
 http://twitter.com/friends/ids.xml?user_id=27641196
   Curl error: 52. Empty reply from server url:
  http://twitter.com/friends/ids.xml?user_id=37113325page=1
   Curl error: 52. Empty reply from server url:
  http://twitter.com/users/show.xml?screen_name=Cardenas79
   Curl error: 52. Empty reply from server url:
 http://twitter.com/users/show.xml?user_id=1233581
   ~
   ~



[twitter-dev] Re: How to Keep Profile Image Urls up to date

2009-07-10 Thread Beier

There is nothing from the API that tells you a user's image has
changed. You can either refresh a user's image every time they login,
or you can create a periodic job to update all your users profile
images

On Jul 10, 10:28 am, Francis Shanahan francisshana...@gmail.com
wrote:
 When a user visits my site (tweetarun.com) I make a call to grab their
 latest profile data and store their profileImageUrl in my database.
 This url is used on my site to display their profile image on a
 Members widget which is accessible to all visitors, not just
 authenticated twitter users.

 If the user changes their profile image on Twitter.com, my site has no
 knowledge of this other than the cached Profile Image url is now
 broken.

 Is there some method I'm missing to keep these image urls up to date?

 -fshttp://tweetarun.com


[twitter-dev] Re: statuses/friends page count?

2009-07-10 Thread Karthik Murugan

It's also possible, that some intermediate pages return empty result
set. Try this, http://twitter.com/statuses/followers.json?id=billcrosbypage=124

This profile has 44K followers and some of the intermediate pages
return empty result sets. Not sure why, but my obvious guess is that
all the followers in this page are suspended.

So, empty result set doesn't mean that you are done with the
traversal. I've modified my scripts to crawl N number of pages, where
N is (number of followers/100). Total number of followers can be
retrieved by users/show

- Karthik

On Jul 6, 11:31 pm, Doug Williams d...@twitter.com wrote:
 Duane,Yes, you will get an empty result set if you step off the end:

 doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD 
 http://twitter.com/statuses/followers.xml?count=100page=43; | grep
 /user | wc -l
 100
 doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD 
 http://twitter.com/statuses/followers.xml?count=100page=44; | grep
 /user | wc -l
 17
 doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD 
 http://twitter.com/statuses/followers.xml?count=100page=45; | grep
 /user | wc -l
 0

 Thanks,
 Doug

 --
 Do you follow me?http://twitter.com/dougw

 On Mon, Jul 6, 2009 at 10:32 AM, Duane Roelands 
 duane.roela...@gmail.comwrote:





  Do you ever get an empty response set?  I was experimenting with the
  pagination and I found that if you request page 20 (for example) for
  someone who only has one page of friends, you simply get the page 1
  response set.

  On Jul 6, 1:09 pm, Doug Williams d...@twitter.com wrote:
   You should either page through statuses/friends until you get an empty
   response set or use statuses/show to get the number of friends expected
  and
   intelligently page to the end of the list.

   Thanks,
   Doug


[twitter-dev] Re: How to Keep Profile Image Urls up to date

2009-07-10 Thread Greg

It's hard to say. For my application (http://tweetsort.com), I have it
updating when the users logins in. It automatically updates their
information based on their last tweet.

I'm not sure if there is a better way - but it works for me.

On Jul 10, 1:28 pm, Francis Shanahan francisshana...@gmail.com
wrote:
 When a user visits my site (tweetarun.com) I make a call to grab their
 latest profile data and store their profileImageUrl in my database.
 This url is used on my site to display their profile image on a
 Members widget which is accessible to all visitors, not just
 authenticated twitter users.

 If the user changes their profile image on Twitter.com, my site has no
 knowledge of this other than the cached Profile Image url is now
 broken.

 Is there some method I'm missing to keep these image urls up to date?

 -fshttp://tweetarun.com


[twitter-dev] twitter application using OAuth

2009-07-10 Thread Haden Pike
Hi all. I wrote an application for the window-eyes screen reader for myself and 
a few other friends. It uses basic authentication. Now I want to have it use 
OAuth, since it will eventually be the only form of authentication for twitter. 
The application is written in VBScript. Does anyone have some code that uses 
OAuth with the twitter api? Preferably in javascript or a language similar.
Thanks for any help.

Haden Pike
Email: haden.p...@gmail.com

[twitter-dev] Re: Changing domains for image hosting

2009-07-10 Thread Doug Williams
All --
We are rolling back the twimg.com change because a number of issues became
apparent when we moved it into production -- one being the lack of SSL
support in the caching layer that many have noted. We do hope to make this
change rather soon, but we have problems to fix before moving forward with
this change.

Updates to come as we learn about them. Thanks for your patience, here.
Twitter devs rock.

Doug



On Fri, Jul 10, 2009 at 9:49 AM, Matt Sanford m...@twitter.com wrote:

 Hi all,
 I'm working with our ops folks now to get SSL fixed on twimg.com. No
 need for running proxies … we're working on it.

 Thanks;
  – Matt Sanford / @mzsanford
  Twitter Dev

 On Jul 10, 2009, at 12:42 AM, Abraham Williams wrote:

 A temporary fix is to run a proxy on your own SSL domain and pull the
 photos through there.

 Abraham

 On Fri, Jul 10, 2009 at 02:18, Toucan toucan...@gmail.com wrote:


 Same here and it's already breaking our app today. We either give
 users the browser mixed-ssl error (bad) or re-write to SSL which makes
 images spin forever which also seems to break some javascript loads on
 FF (also bad). Since Toucan runs inside salesforce, we are always on
 SSL for every page.

 Can twitter turn on SSL for twimg, even if to buy time while we figure
 it out? One day notice really isn't a lot of time to develop a fix and
 try to get everyone to re-install their appespecially since for
 those of us that must serve every page with SSL, there is no good fix.

 We really appreciate your help!
 Diane



 On Jul 9, 9:47 pm, gotwalt gotw...@gmail.com wrote:
  Any chance you'll enable SSL access of these images? At @cotweet we
  rely on s3's SSL when pages are being served via HTTPS (login, account
  changes, permissions, etc) in order to prevent security zone issues in
  IE. I'd imagine that other web-based clients may face similar issues.
 
  Aaron




 --
 Abraham Williams | Community Evangelist | http://web608.org
 Hacker | http://abrah.am | http://twitter.com/abraham
 Project | http://fireeagle.labs.poseurtech.com
 This email is: [ ] blogable [x] ask first [ ] private.





[twitter-dev] Re: twitter application using OAuth

2009-07-10 Thread JDG
There is a Javascript OAuth library out there -- I'm not sure how well it
works. I started working on one myself but couldn't get the hashes to
compute correctly, no matter how hard I tried (and this was with a rather
popular HMAC-SHA1 JS library out there, the same that the JS OAuth library
that exists uses, AFAIK).

On Fri, Jul 10, 2009 at 15:06, Haden Pike haden.p...@gmail.com wrote:

  Hi all. I wrote an application for the window-eyes screen reader for
 myself and a few other friends. It uses basic authentication. Now I want to
 have it use OAuth, since it will eventually be the only form of
 authentication for twitter. The application is written in VBScript. Does
 anyone have some code that uses OAuth with the twitter api? Preferably in
 javascript or a language similar.
 Thanks for any help.

 Haden Pike
 Email: haden.p...@gmail.com




-- 
Internets. Serious business.


[twitter-dev] Streaming API: updating request parameters

2009-07-10 Thread Cary Knoop

Is the following implemented or will it be implemented?

I have two threads, one that writes HTTP post requests to
http://stream.twitter.com/track.json and one thread that reads the
response from this request.  Can I, without breaking the response
stream, update the track parameter list so that I can update my search
query real time without any interruption or the response stream?

So for example:

1. Pass a (http://stream.twitter.com/track.json, track=red)
message to the Posting thread
2. The Response thread will now read the status changes containing the
keyword red
3. Pass a (http://stream.twitter.com/track.json, track=blue)
message to the Posting thread
4. The Response thread will now read the status changes containing the
keyword red



[twitter-dev] Re: Streaming API: updating request parameters

2009-07-10 Thread John Kalucki

This isn't implemented. I don't think we could, either, given our
server framework.

Create a new connection with the updated parameters. As soon as you
receive data from the new connection, close the old connection. Keep
the churn rate low, don't reconnect too often, and you should stay out
of the way of anti-abuse measures.

-John


On Jul 10, 3:58 pm, Cary Knoop carykn...@gmail.com wrote:
 Is the following implemented or will it be implemented?

 I have two threads, one that writes HTTP post requests 
 tohttp://stream.twitter.com/track.jsonand one thread that reads the
 response from this request.  Can I, without breaking the response
 stream, update the track parameter list so that I can update my search
 query real time without any interruption or the response stream?

 So for example:

 1. Pass a (http://stream.twitter.com/track.json, track=red)
 message to the Posting thread
 2. The Response thread will now read the status changes containing the
 keyword red
 3. Pass a (http://stream.twitter.com/track.json, track=blue)
 message to the Posting thread
 4. The Response thread will now read the status changes containing the
 keyword red


[twitter-dev] Re: is there a way to get tweets during a block of time?

2009-07-10 Thread Joe Bowman

Thanks for the reply Doug. I filed a feature request for this. Here's
the link for anyone else interested in this functionality and wanting
to star it. http://code.google.com/p/twitter-api/issues/detail?id=827

On Jul 10, 6:14 pm, Doug Williams d...@twitter.com wrote:
 Joe,
 With the REST API you will need to perform parsing of data based on
 timestamp on the client side. We do not have facility in the API to request
 data since a timestamp. There was a parameter (since) that allowed such a
 search but it was removed a number of months back as you see in the
 changelog.

 The Search API does have since: and until: parameters but these only allow
 specifying granulartiy down to the day. Again, any parsing down to hours
 must be performed on the client side.

 Thanks,
 Doug

 On Fri, Jul 10, 2009 at 9:05 AM, Joe Bowman bowman.jos...@gmail.com wrote:

  An application I'm working on would like to do the following

  Initial page load - pull tweets using friend_timeline for the last 4
  hours
  Get more link - get tweets for 8 hours ago until 4 hours ago

  Looking at the changelog it looks like there once was since and until
  parameters but they've been removed?


[twitter-dev] Re: How to Keep Profile Image Urls up to date

2009-07-10 Thread Francis Shanahan

Right now I update the profile image every time the user comes back to
the site but obviously I'm getting broken images in the meantime.

I'll write a job to update these as JDG has mentioned but it certainly
is not ideal. The biggest problem has been the Green Overlay and
most recently LiveStrong overlay memes.

Not sure why Twitter doesn't just abstract the profile image with some
standard URL scheme.
-fs

On Jul 10, 6:45 pm, JDG ghil...@gmail.com wrote:
 I don't know if twitter's site supports all HTTP calls, but you could make a
 HEAD call to the profile img url you have stored and if you get a 404, could
 make another call to their profile to get the new image url. It's an extra
 HTTP call, sure, but you'd be most liable to get the correct information
 that way.

 Doug / Matt / other Twitter staff member, do you know if the web servers
 that host the images (amazonaws or twimg) support HEAD calls?

 On Fri, Jul 10, 2009 at 11:28, Francis Shanahan
 francisshana...@gmail.comwrote:



  When a user visits my site (tweetarun.com) I make a call to grab their
  latest profile data and store their profileImageUrl in my database.
  This url is used on my site to display their profile image on a
  Members widget which is accessible to all visitors, not just
  authenticated twitter users.

  If the user changes their profile image on Twitter.com, my site has no
  knowledge of this other than the cached Profile Image url is now
  broken.

  Is there some method I'm missing to keep these image urls up to date?

  -fs
 http://tweetarun.com

 --
 Internets. Serious business.


[twitter-dev] Re: How to Keep Profile Image Urls up to date

2009-07-10 Thread JDG
They've mentioned before that they don't want to do this to prevent
harvesting.

On Fri, Jul 10, 2009 at 22:00, Francis Shanahan
francisshana...@gmail.comwrote:


 Right now I update the profile image every time the user comes back to
 the site but obviously I'm getting broken images in the meantime.

 I'll write a job to update these as JDG has mentioned but it certainly
 is not ideal. The biggest problem has been the Green Overlay and
 most recently LiveStrong overlay memes.

 Not sure why Twitter doesn't just abstract the profile image with some
 standard URL scheme.
 -fs

 On Jul 10, 6:45 pm, JDG ghil...@gmail.com wrote:
  I don't know if twitter's site supports all HTTP calls, but you could
 make a
  HEAD call to the profile img url you have stored and if you get a 404,
 could
  make another call to their profile to get the new image url. It's an
 extra
  HTTP call, sure, but you'd be most liable to get the correct information
  that way.
 
  Doug / Matt / other Twitter staff member, do you know if the web servers
  that host the images (amazonaws or twimg) support HEAD calls?
 
  On Fri, Jul 10, 2009 at 11:28, Francis Shanahan
  francisshana...@gmail.comwrote:
 
 
 
   When a user visits my site (tweetarun.com) I make a call to grab their
   latest profile data and store their profileImageUrl in my database.
   This url is used on my site to display their profile image on a
   Members widget which is accessible to all visitors, not just
   authenticated twitter users.
 
   If the user changes their profile image on Twitter.com, my site has no
   knowledge of this other than the cached Profile Image url is now
   broken.
 
   Is there some method I'm missing to keep these image urls up to date?
 
   -fs
  http://tweetarun.com
 
  --
  Internets. Serious business.




-- 
Internets. Serious business.


[twitter-dev] Re: Getting tweets from Twitter API

2009-07-10 Thread praveen kumar
The time field returned contains the offset (usually +).

But when ever i am getting tweets it is giving my system time (GMT+5), I
should change any thing in my code please help me.


-- 
Regards,
Praveen Kumar .N

On Fri, Jul 10, 2009 at 12:39 PM, Kevin Mesiab ke...@mesiablabs.com wrote:

 The time field returned contains the offset (usually +)
 Tue Apr 07 22:52:51 + 2009

 On Thu, Jul 9, 2009 at 7:13 PM, praveen kumar praveen.neteli...@gmail.com
  wrote:

 Hi,

 If we are getting tweets from Twitter API , User's tweet dates are in
 which timezone. Is it in GMT or else different timezones.


 --
 Regards,
 Praveen Kumar.N




 --
 Kevin Mesiab
 CEO, Mesiab Labs L.L.C.

 208-447-6016

 http://www.mesiablabs.com
 http://www.plsadvise.com




[twitter-dev] Getting tweets from Twitter API

2009-07-10 Thread praveen kumar
The time field returned contains the offset (usually +)

What is the meaning of this is it  GMT+0   or  System time. can u please
explain it.


 On Fri, Jul 10, 2009 at 12:39 PM, Kevin Mesiab ke...@mesiablabs.comwrote:

 The time field returned contains the offset (usually +)
 Tue Apr 07 22:52:51 + 2009

 On Thu, Jul 9, 2009 at 7:13 PM, praveen kumar 
 praveen.neteli...@gmail.com wrote:

 Hi,

 If we are getting tweets from Twitter API , User's tweet dates are in
 which timezone. Is it in GMT or else different timezones.


 --
 Regards,
 Praveen Kumar.N




 --
 Kevin Mesiab
 CEO, Mesiab Labs L.L.C.

 208-447-6016

 http://www.mesiablabs.com
 http://www.plsadvise.com





-- 
Regards,
Praveen Kumar .N
Software Engineer
Netelixir e-Marketing Solutions
Hyderabad
www.netelixir.com