[twitter-dev] Re: The max length of Profile Image URL and alternative way to get it.

2011-05-13 Thread yama
OK. I got the point.
Api to get profile_image by http://api.twitter.com/1/users/
profile_image/USERID.xml looks perfect.
I will use this statement for DB.
Then, 70 chars would be fine I think.
Like, 50 chars for URL part except USERID + 20 chars for USERID =
varchar 70.

Thanks a lot,
yama


On 5月13日, 午前12:16, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 With something volatile like a URL you shouldn't make any assumptions about
 its length,  -- and in this case, nor should you try to derive any meaning
 out of the various components of the URL path. There is technically no
 maximum length to a URL, so for storage purposes I would reserve yourself
 plenty of characters.

 Speculation: the numeric portion of the path appears to be epoch time in
 seconds, equivalent of: Sun May 02 16:17:07 -0700 2010 

 We do offer an API method to determine the avatar for a user by user_id,
 however you cannot use them to directly render the image -- only to resolve
 a user_id to a avatar URL string. 
 Seehttp://dev.twitter.com/doc/get/users/profile_image/:screen_name

 @episod http://twitter.com/episod - Taylor Singletary







 On Thu, May 12, 2011 at 3:48 AM, yama eternalsun...@gmail.com wrote:
  Hi guys,

  I'm going to store profile image URL to DB.
  This is my image.
  http://a0.twimg.com/profile_images/1272842227/android-
  wallpaper4_2560x1600.png
  But, what is the max length of it?
  and what does the number,  1272842227 mean?

  Also if possible, I'd like to get profile image by userID,
  like, on facebook i can get image by http://graph.facebook.com/USERID/
  picture.
  Is it possible on Twitter also?

  Thank you,
  Yama

  --
  Twitter developer documentation and resources:https://dev.twitter.com/doc
  API updates via Twitter:https://twitter.com/twitterapi
  Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Getting 500 error with my twitter Account

2011-05-13 Thread roberto garcía
I'm Getting a 500 error on my twitter Account @RobbieGN on
everything... on Twitter website I got Blank page, in Tweetdeck,
echofon, ubersocial and twitter for mac I just got 500 internal
error... What do I need to do??

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Update status d returns success response but doesn't show up on web

2011-05-13 Thread SN Testing
when update status with one character d returns success response but
the new status doesn't show up on web; when update status with a or
b or c or e, it shows up on web, so the character d is black
listed?

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Re: Update status d returns success response but doesn't show up on web

2011-05-13 Thread e.p.c.
On May 13, 6:29 am, SN Testing sngtwt...@gmail.com wrote:
 when update status with one character d returns success response but
 the new status doesn't show up on web; when update status with a or
 b or c or e, it shows up on web, so the character d is black
 listed?

d' as the first non-blank byte is the command/code for direct message.

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Re: Getting 500 error with my twitter Account

2011-05-13 Thread Shannon Whitley
It looks like the same error is being reported by other users:

https://code.google.com/p/twitter-api/issues/detail?id=2178

I saw your profile once and received the Fail Whale on a couple of other 
attempts.

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Re: Reducing rate-limited calls to friends/ids

2011-05-13 Thread torncanvas
Any other ideas before I head out to fight the white dragon? :P

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Re: Reducing rate-limited calls to friends/ids

2011-05-13 Thread Taylor Singletary
If you're acting on your own behalf and don't have users, likely you'll
just have to deal with the rate limiting and consider that for you to obtain
all the data you're interested in, it's going to take time -- 24 hours in a
day, 350 requests an hour, 7 days in a week...

Your other best alternative is to provide some form of web-based
authentication (read-only likely being most appropriate), detail the purpose
of your study and explicitly outline what an end-user is agreeing to and ask
users to authenticate your application to act on their behalf. On virtue of
their consent, you could then use their access token to further execute the
requests you're interested in. If you have a circle of friends on Twitter,
you might get the bandwidth you're looking for pretty quickly -- otherwise
you could, for example, ask members of this mailing list to authenticate and
agree to pool resources so to speak as an endorsement of your research.

Taylor

@episod http://twitter.com/episod - Taylor Singletary


On Fri, May 13, 2011 at 10:24 AM, torncanvas torncan...@gmail.com wrote:

 Any other ideas before I head out to fight the white dragon? :P

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] JSON Search Api only returns 1 result for from: criteria.

2011-05-13 Thread myke
When calling the search API, some users only return 1 post entry when
they have many more.

Url:
http://search.twitter.com/search.json?q=from:foxhomeent

Should return 100 tweets, but only shows 1.

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk