[twitter-dev] Re: Twitter Bulk User Lookup API returning information about unknown users while missing valid users!!

2010-10-11 Thread ashish_0x90
[SOLED]
tks for noticing, but the problem has been solved.
Twitter was just returning user information for screen_names with the
corresponding screen_name changed to CORRECT Case if it' s wrong in
the original request.
So from the pastebin page - http://pastebin.com/VDT7xuCV
 print set([each.screen_name.lower() for each in 
 ret]).issubset(set([each.lower() for each in screen_names]))
  True (Was False if I don't normalize screen_names to lowercase)

On Oct 10, 10:51 pm, ashish_0x90 ashish.nopc...@gmail.com wrote:
 Hi,

 Twitter Bulk User Lookup API (http://apiwiki.twitter.com/Twitter-REST-
 API-Method:-users-lookup) seems to be have given two problems.
 1) Random users which were not part of the screen_names parameter
 passed.
 2) is missing valid existing users from the results.

 I have pasted sample query, and result that I got back here 
 -http://pastebin.com/VDT7xuCV
 Is somebody else also facing similar problem?

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


[twitter-dev] Re: How is the newTwitter getting Replies to this Tweet?

2010-10-11 Thread artesea
Will there been anything in the tweet payload to let us know that it
has replies, or will we need to make requests to the related_results
just to find out?
Sort of thing I was thinking was in the timeline you have a tweet
along the lines of Dear lazy web, where's the best place to go for
pizza in London?, and I was hoping to display 12 replies to this
tweet or someone has replied to this tweet.
Then when clicking on the tweet an extended page would show all the
replies.

Thanks
Ryan

On Sep 21, 12:05 am, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Outstanding. I hadn't even realized this particular API was being made use
 of yet here.

 This, and a number of other interesting new APIs are being documented and
 readied for wider use now. Any little fun bits you find in advance are fair
 game, but until they are documented their behavior, response, and
 availability may fluctuate wildly. Keep in mind that #newtwitter's
 availability is being gradually rolled out primarily in respect to
 scalability, performance  monitoring -- this is also true of the newer
 APIs. Until they are announced, please keep any usage of undocumented APIs
 cautiously low.

 Taylor

 On Mon, Sep 20, 2010 at 3:55 PM, Abraham Williams 4bra...@gmail.com wrote:
  The related_results/show/status_id method is returning replies to a
  status_id.

  Screenshot in the new UI:http://www.flickr.com/photos/4braham/5009432215/

  API call:
 http://app.apigee.com/console/apigee-console-snapshots-128331720_...

  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 Mon, Sep 20, 2010 at 15:30, Taylor Singletary 
  taylorsinglet...@twitter.com wrote:

  Hi Vega,

  #newtwitter uses the same API pattern available to all developers for
  this. When a status contains an in_reply_to_status_id field, then it is
  considered a reply to a preceding status, which is then fetched by
  requesting the particular status referenced by in_reply_to_status_id.

  This is why you'll see that the implementation in #newtwitter doesn't list
  *replies to* the current status, but instead the original status that
  sparked the reply-to. These can be chained but in many cases can never show
  the whole picture easily.

  It would great if we had a statuses/:id/replies method to return all
  statuses that reference the original status -- would be very useful in this
  context.

  Taylor

  On Mon, Sep 20, 2010 at 2:33 PM, Vega edgardo.v...@gmail.com wrote:
   I have heard the new Twitter only uses the api to display information
   if so how does it get Replies to this Tweet?

   Cheers,

   Edgardo

   --
   Twitter developer documentation and resources:
 http://dev.twitter.com/doc
   API updates via Twitter:http://twitter.com/twitterapi
   Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
   Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en

   --
  Twitter developer documentation and resources:http://dev.twitter.com/doc
  API updates via Twitter:http://twitter.com/twitterapi
  Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en

   --
  Twitter developer documentation and resources:http://dev.twitter.com/doc
  API updates via Twitter:http://twitter.com/twitterapi
  Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en

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


[twitter-dev] Response format details?

2010-10-11 Thread Colin Howe
Hi,

I can't find any documentation on the response format for anything
that returns tweets. E.g. http://dev.twitter.com/doc/get/statuses/mentions

Is there any documentation of what the response looks like and what
each field means?


Specifically, I'm looking for information on when in_reply_to_[status|
user]_id are populated and what they are populated with.


Thanks,
Colin

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


[twitter-dev] tweet button and dynamic content

2010-10-11 Thread Mikael Nilsson
I'm using the tweet button on a page where the main content can be
reloaded via Ajax, meaning I need to reparse the HTML for the twitter
link tags in order to generate the buttons.

With Facebook, I can do FB.XFBML.parse() after loading new content. Is
there an equivalent with the Twitter JS API?

Thanks,
Mikael

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


[twitter-dev] Incorrect Signature

2010-10-11 Thread Quasimodo
Working on just a simple update/status problem.

I'm using the PEAR Services_Twitter object. I keep getting incorrect
signature. I'm not sure if my headers are correct.

Here is my header string:

POST /1/statuses/update.json HTTP/1.1
User-Agent: HTTP_Request2/0.5.2 (http://pear.php.net/package/
http_request2) PHP/5.2.14
Authorization: OAuth realm=https://api.twitter.com/;,
oauth_consumer_key=xxx,
oauth_nonce=61ea77d3bc58d23f4cc073c7bb40,
oauth_signature=%2BI99Du4e8ASC4%2BLNR1l3wRqoo6U%3D,
oauth_signature_method=HMAC-SHA1, oauth_timestamp=1286753476,
oauth_token=, oauth_version=1.0
Content-Type: application/x-www-form-urlencoded
Host: api.twitter.com
Accept-Encoding: gzip, deflate
Content-Length: 21

Here is the body

status=dingle%20berry

If someone can put a finger on what I'm doing wrong it would be much
appreciated.

Kudos and Bullion Thanks

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


[twitter-dev] Re: location based search and user location field

2010-10-11 Thread bella
I'm also very interested if there is an update on this.

For me, it doesn't matter whether there is a q parameter or not.
If the geocode pararemter is used, only geotagged tweets are returned.
http://search.twitter.com/search.json?geocode=-35.28204%2C149.12858%2C50.0km

I get the same result when using the Advanced Search form (place:
Canberra, radius: 50km).

Thanks,
Bella


On Oct 10, 6:55 pm, Mack D. Male master...@gmail.com wrote:
 Any update on this? It is still an issue.

 On Oct 7, 9:46 pm, Siim Saarlo siim.saa...@gmail.com wrote:

  Hi,

  Search API with location restriction (geocode parameter) used to
  search through tweets that were geotagged and also tweets that were
  tweeted by user who had set her location in profile settings.
  Seems that currently search API, when both geocode and and q
  parameters are set, only goes through the geotagged tweets. Although
  seems that when only geocode is set, tweets are included by user'
  location field as well.
  I was told (by @twitterapi) that this is temporary situation to be
  fixed soon.

  1) Can anyone suggest when will it probably be fixed? is there
  alternative solution until then?
  2) I would like to try out Streams API' filter method, but it is
  states that this only goes through geotagged tweets. Is there any
  workaround to make frequent location specific searches through
  geotagged tweets and also the ones that are not geotagged?

  Thank you in advance,

  siim

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


[twitter-dev] Posting a Status with already Geocoded Location

2010-10-11 Thread jwalton
I can successfully post a Status Tweet, with a Lat/Long location. That
shows typically as the message followed by from here link.

However I already have the full title and address details of the
location, and would like to be able to post that as well, so that the
message shown on Twitter would be more like from Savoy Ballroom,
London, UK or similar. I do not need, or want, Twitter to do the
reverse-geocoding for me!

I am stuck as to how to do this; I believe that I need to create a
place_id, which I first thought was just a placename text string, but
it seems to be a unique reference id.

I now believe that I will have to:

1) Request Twitter to reverse geocode the Lat/Long.

2) Search the returned list for a best match with my own data (title,
town etc).

Please clarify if there is an easier way!

(I am using Twitterizer2 as my library)

John Walton

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


[twitter-dev] Tweet Problem

2010-10-11 Thread Oppps
Hi i use Twitter Api in C# and send tweet not login to twitter. I
authenticationed my account at Reqister an Aplication page. So i am
really curious about a topic.Can i see someone's tweets who is not my
friend on Twitter? And that user's profile will be private

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


Re: [twitter-dev] Response format details?

2010-10-11 Thread Thomas Mango
Hey, Colin. An easy way to test API calls and see their response is by 
using the console (you need an app registered):

http://dev.twitter.com/console

Or by getting a copy of twurl to use locally:
http://github.com/marcel/twurl

Colin Howe wrote:

Hi,

I can't find any documentation on the response format for anything
that returns tweets. E.g. http://dev.twitter.com/doc/get/statuses/mentions

Is there any documentation of what the response looks like and what
each field means?


Specifically, I'm looking for information on when in_reply_to_[status|
user]_id are populated and what they are populated with.


Thanks,
Colin




--
Thomas Mango
tsma...@gmail.com


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


Re: [twitter-dev] Response format details?

2010-10-11 Thread Taylor Singletary
in_reply_to_status_id is populated when a tweet is a reply to another tweet.
The status_id in this context refers to the tweet being replied to. For this
field to be populated, the reply tweet also must begin with the @username
of the user being replied to.

A @reply in XML:
http://gist.github.com/620548#file_reply.xml

in_reply_to_user_id indicates the @user being mentioned by primary key id,
which never changes for the member though the screen name might.
in_reply_to_user_id may be populated on a @mention (which does not have a
referenced tweet in in_reply_to_status_id).

A @mention in XML:
http://gist.github.com/620548#file_mention.xml

And while Thomas is right that it's great to explore with an API console,
I'd personally recommend that API console at
http://app.apigee.com/console/twitter instead of the one we provide on
dev.twitter.com.

Taylor


On Mon, Oct 11, 2010 at 6:51 AM, Thomas Mango tsma...@gmail.com wrote:

 Hey, Colin. An easy way to test API calls and see their response is by
 using the console (you need an app registered):
 http://dev.twitter.com/console

 Or by getting a copy of twurl to use locally:
 http://github.com/marcel/twurl


 Colin Howe wrote:

 Hi,

 I can't find any documentation on the response format for anything
 that returns tweets. E.g.
 http://dev.twitter.com/doc/get/statuses/mentions

 Is there any documentation of what the response looks like and what
 each field means?


 Specifically, I'm looking for information on when in_reply_to_[status|
 user]_id are populated and what they are populated with.


 Thanks,
 Colin



 --
 Thomas Mango
 tsma...@gmail.com



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


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


Re: [twitter-dev] Tweet Problem

2010-10-11 Thread Taylor Singletary
Not sure if I totally understand your question. An application acting on a
user's behalf can read the tweets of a private (protected) user via the
API, if authenticated as a user who has been allowed to follow the protected
user.

Taylor

On Mon, Oct 11, 2010 at 1:30 AM, Oppps yusuftun...@gmail.com wrote:

 Hi i use Twitter Api in C# and send tweet not login to twitter. I
 authenticationed my account at Reqister an Aplication page. So i am
 really curious about a topic.Can i see someone's tweets who is not my
 friend on Twitter? And that user's profile will be private

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


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


Re: [twitter-dev] Posting a Status with already Geocoded Location

2010-10-11 Thread Taylor Singletary
Hi there,

We're working on a longer guide to working with Places and Geo... in the
meantime, here are the major pieces you need to know:

Finding places before creating them:
* Geo/Place search: http://dev.twitter.com/doc/get/geo/search
* Similar Places Places: http://dev.twitter.com/doc/get/geo/similar_places

Creating Places:
* Place creation: http://dev.twitter.com/doc/post/geo/place

Guidelines:
* Geo Dev guidelines: http://dev.twitter.com/pages/geo_dev_guidelines

Taylor

On Mon, Oct 11, 2010 at 12:10 AM, jwalton jwal...@cix.co.uk wrote:

 I can successfully post a Status Tweet, with a Lat/Long location. That
 shows typically as the message followed by from here link.

 However I already have the full title and address details of the
 location, and would like to be able to post that as well, so that the
 message shown on Twitter would be more like from Savoy Ballroom,
 London, UK or similar. I do not need, or want, Twitter to do the
 reverse-geocoding for me!

 I am stuck as to how to do this; I believe that I need to create a
 place_id, which I first thought was just a placename text string, but
 it seems to be a unique reference id.

 I now believe that I will have to:

 1) Request Twitter to reverse geocode the Lat/Long.

 2) Search the returned list for a best match with my own data (title,
 town etc).

 Please clarify if there is an easier way!

 (I am using Twitterizer2 as my library)

 John Walton

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


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


Re: [twitter-dev] API Erros - Connection reset by peer

2010-10-11 Thread Taylor Singletary
Hi Tiago,

You may have been blacklisted, likely for (highly) repeated requests to a
resource that was throwing you errors -- like account/verify_credentials
with credentials that aren't valid.

In this situation, you'll want to follow up with our API support team by
writing to a...@twitter.com from the email address associated with your
Twitter account. Include details on your IP address, what you may have been
doing that could have triggered the blacklisting, and they'll follow up with
you on taking the necessary steps to rectify.

Thanks,
Taylor

On Mon, Oct 11, 2010 at 2:37 AM, Tiago Teresa Teodosio 
tiago.teodo...@co.sapo.pt wrote:

 Hi!


 I am getting Connection reset by peer for every API call made by my
 applications. My application requests come from IP 213.13.144.4 .

 Is this only my problem, or anyone else is getting all these errors too?


 Regards.

 --
 Tiago Teresa Teodósio
 Equipa de desenvolvimento
 SAPO / Portugal Telecom


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


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


[twitter-dev] Search Home Time Line

2010-10-11 Thread João Paulo Sabino de Moraes
Hi Folks,

I'd like to know if is it already possible to search tweets in the
authenticated user home time line by a search query.

Thanks



-- 
João Paulo S. de Moraes
+55 81 3432 3804
+55 81 9189 3814 (mobile)

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


Re: [twitter-dev] Search Home Time Line

2010-10-11 Thread Taylor Singletary
At this time, there is no way to accomplish this directly via the API.
Instead, you would collect tweets that would appear on home_timeline (either
by REST or a User/Site Stream), then apply searching strategies against the
tweets you have consumed and indexed.

Taylor

2010/10/11 João Paulo Sabino de Moraes jona...@gmail.com

 Hi Folks,

 I'd like to know if is it already possible to search tweets in the
 authenticated user home time line by a search query.

 Thanks



 --
 João Paulo S. de Moraes
 +55 81 3432 3804
 +55 81 9189 3814 (mobile)

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


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


[twitter-dev] Specifying inline media in #newtwitter

2010-10-11 Thread hotlou
After looking through these forums, the twitter dev wiki 
documentation, and elsewhere, it doesn't appear that there's a way to
specify the media that gets displayed inline on #newtwitter.

For embedding video for Facebook share, you include this ( other)
meta tag to specify the media that is displayed:

   meta property=og:video content=video url (.swf only)/

Does a similar method exist for #newtwitter?  I'm specifically
interested in specifying a .swf URL.

Thanks!
hotlou

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


Re: [twitter-dev] Specifying inline media in #newtwitter

2010-10-11 Thread Taylor Singletary
Right now, there's no self-service means to be embedded in #newtwitter. If
you're interested in getting your content onto #newtwitter, please send a
message to contentpartnersh...@twitter.com

Thanks,
Taylor

On Mon, Oct 11, 2010 at 9:16 AM, hotlou hot...@gmail.com wrote:

 After looking through these forums, the twitter dev wiki 
 documentation, and elsewhere, it doesn't appear that there's a way to
 specify the media that gets displayed inline on #newtwitter.

 For embedding video for Facebook share, you include this ( other)
 meta tag to specify the media that is displayed:

   meta property=og:video content=video url (.swf only)/

 Does a similar method exist for #newtwitter?  I'm specifically
 interested in specifying a .swf URL.

 Thanks!
 hotlou

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


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


[twitter-dev] Re: Woe is me, I can't seek what I find (or Search is failing me)

2010-10-11 Thread @IDisposable
 The Location search has been VERY unstable, and uses this typical
 search:http://search.twitter.com/search.atom?rpp=100geocode=38.627522%2C-90...

It's getting worse all the time!

Is this what we can expect going forward?  If so, how can I follow all
20+ people we used to get tweets from on the location search?
I'll happily create an account and manage the lists/follows... but I'm
pretty sure that will get me killed, and it will only be a snapshot
based on current profile location strings that we have...

Sure, I could suck the *-pipe, but without a filter criteria, I'm
going to be seeing all tweets from the entire universe, which seems
hella-wasteful to twitter and me...

Day MentionsLocationEverything
2010-09-13  498546801   53503
2010-09-14  471948110   54589
2010-09-15  477947599   54209
2010-09-16  514347087   54312
2010-09-17  525648363   55581
2010-09-18  488840943   47237
2010-09-19  587146008   53843
2010-09-20  499046219   52826
2010-09-21  49274   55933
2010-09-22  536451567   58999
2010-09-23  686642495   52967
2010-09-24  619141107   50679
2010-09-25  567336321   43950
2010-09-26  678435168   44664
2010-09-27  634632580   42192
2010-09-28  544832528   41792
2010-09-29  603840677   50472
2010-09-30  596438116   47713
2010-10-01  661538360   48302
2010-10-02  561223107   32024
2010-10-03  672822802   33328
2010-10-04  552823990   33491
2010-10-05  511638733   47023
2010-10-06  542739041   47856
2010-10-07  573330855   40742
2010-10-08  6355945922235
2010-10-09  5894835218691
2010-10-10  7240839920861
2010-10-11  4017558713010

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


Re: [twitter-dev] Posting a Status with already Geocoded Location

2010-10-11 Thread M. Edward (Ed) Borasky
OK - you've got an API call to read places and one to create them. How  
about update and delete, eh? Typos suck, businesses move, people get  
pranked, etc. ;-)


--
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 taylorsinglet...@twitter.com:


Hi there,

We're working on a longer guide to working with Places and Geo... in the
meantime, here are the major pieces you need to know:

Finding places before creating them:
* Geo/Place search: http://dev.twitter.com/doc/get/geo/search
* Similar Places Places: http://dev.twitter.com/doc/get/geo/similar_places

Creating Places:
* Place creation: http://dev.twitter.com/doc/post/geo/place

Guidelines:
* Geo Dev guidelines: http://dev.twitter.com/pages/geo_dev_guidelines

Taylor

On Mon, Oct 11, 2010 at 12:10 AM, jwalton jwal...@cix.co.uk wrote:


I can successfully post a Status Tweet, with a Lat/Long location. That
shows typically as the message followed by from here link.

However I already have the full title and address details of the
location, and would like to be able to post that as well, so that the
message shown on Twitter would be more like from Savoy Ballroom,
London, UK or similar. I do not need, or want, Twitter to do the
reverse-geocoding for me!

I am stuck as to how to do this; I believe that I need to create a
place_id, which I first thought was just a placename text string, but
it seems to be a unique reference id.

I now believe that I will have to:

1) Request Twitter to reverse geocode the Lat/Long.

2) Search the returned list for a best match with my own data (title,
town etc).

Please clarify if there is an easier way!

(I am using Twitterizer2 as my library)

John Walton

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



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






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


[twitter-dev] Re: Is it possible to search with wildcard in streaming api?

2010-10-11 Thread Damon C
Nope, not possible. Streaming API tokenizes on space and punctuation.
So you'll have to come up with the variants and provide those.

Damon

On Oct 10, 6:28 am, D. Smith emai...@sharedlog.com wrote:
 For example I want is to search for words that have 'truck' in it and
 want to get all tweets that have 'truck', 'trucks', 'trucking',
 'dumptruck', etc.

 I it possible to use wildcards like  *truck*
 or do I have to just include all possible words that contain truck?

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


[twitter-dev] Twitter API Write Only Authorization

2010-10-11 Thread Markanday Singh
Few APPs uses twitter API only for 2 reasons,
1-Authenticate user and get their User Info (A READ)
2-Occasionally Tweet On behalf of them (A WRITE)

Just bring a category where an app is allowed to Authenticate user and
tweet on behalf of them, This will bring trust among its users  that
their private data (DMs) is no where breached, and all tweets are
anyway transparent (i.e. user can see this app is mis-behaving by
looking at their tweets)

What You guys think???

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


[twitter-dev] Re: Twitter API Write Only Authorization

2010-10-11 Thread Markanday Singh
Or may be full itemized authorization !!

On Oct 11, 11:46 pm, Markanday Singh mark.d...@gmail.com wrote:
 Few APPs uses twitter API only for 2 reasons,
 1-Authenticate user and get their User Info (A READ)
 2-Occasionally Tweet On behalf of them (A WRITE)

 Just bring a category where an app is allowed to Authenticate user and
 tweet on behalf of them, This will bring trust among its users  that
 their private data (DMs) is no where breached, and all tweets are
 anyway transparent (i.e. user can see this app is mis-behaving by
 looking at their tweets)

 What You guys think???

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


Re: [twitter-dev] Re: Twitter API Write Only Authorization

2010-10-11 Thread Tom van der Woerdt
OAuth 2.0 allows a scope parameter. Twitter has plans for OAuth 2.0,
so I'd assume that they will include this parameter in their OAuth 2.0
update. Just don't count on it anytime soon.

Tom


On 10/11/10 8:53 PM, Markanday Singh wrote:
 Or may be full itemized authorization !!
 
 On Oct 11, 11:46 pm, Markanday Singh mark.d...@gmail.com wrote:
 Few APPs uses twitter API only for 2 reasons,
 1-Authenticate user and get their User Info (A READ)
 2-Occasionally Tweet On behalf of them (A WRITE)

 Just bring a category where an app is allowed to Authenticate user and
 tweet on behalf of them, This will bring trust among its users  that
 their private data (DMs) is no where breached, and all tweets are
 anyway transparent (i.e. user can see this app is mis-behaving by
 looking at their tweets)

 What You guys think???
 

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


Re: [twitter-dev] Re: Is it possible to search with wildcard in streaming api?

2010-10-11 Thread M. Edward (Ed) Borasky
Speaking of Streaming tokenization, what's the latest on  
non-space-separated languages and right-to-left languages?

--
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 Damon C d.lifehac...@gmail.com:


Nope, not possible. Streaming API tokenizes on space and punctuation.
So you'll have to come up with the variants and provide those.

Damon

On Oct 10, 6:28 am, D. Smith emai...@sharedlog.com wrote:

For example I want is to search for words that have 'truck' in it and
want to get all tweets that have 'truck', 'trucks', 'trucking',
'dumptruck', etc.

I it possible to use wildcards like  *truck*
or do I have to just include all possible words that contain truck?


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






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


Re: [twitter-dev] Re: Is it possible to search with wildcard in streaming api?

2010-10-11 Thread Mark McBride
Nothing new to say on that front.  It's expensive, and not something
we're comfortable injecting into real-time stream processing yet.

   ---Mark

http://twitter.com/mccv



On Mon, Oct 11, 2010 at 11:59 AM, M. Edward (Ed) Borasky
zn...@borasky-research.net wrote:
 Speaking of Streaming tokenization, what's the latest on non-space-separated
 languages and right-to-left languages?
 --
 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 Damon C d.lifehac...@gmail.com:

 Nope, not possible. Streaming API tokenizes on space and punctuation.
 So you'll have to come up with the variants and provide those.

 Damon

 On Oct 10, 6:28 am, D. Smith emai...@sharedlog.com wrote:

 For example I want is to search for words that have 'truck' in it and
 want to get all tweets that have 'truck', 'trucks', 'trucking',
 'dumptruck', etc.

 I it possible to use wildcards like  *truck*
 or do I have to just include all possible words that contain truck?

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




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


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


[twitter-dev] Re: Search with geocode does not respect search radius?

2010-10-11 Thread themattharris
Thanks for filing the ticket on this, we'll post there when a fix is
deployed. Progress wise I checked in with the team today and they
continue to work on a fix.

To keep things connected there is another thread that was discussing
the issue with geocoded search here:

http://groups.google.com/group/twitter-development-talk/browse_thread/thread/c8826d16b613cf23/79e3d726021652e9#79e3d726021652e9

More information will be filed on the ticket here:
http://code.google.com/p/twitter-api/issues/detail?id=1930

Thanks for bearing with us whilst we work out what went wrong with the
location index and how to resolve it.

Best,
@themattharris

On Oct 10, 9:29 pm, Nick nick.fritzkow...@gmail.com wrote:
 We are having issues with this as well and it has completely broken
 our system.

 We have sent many support tickets but have received no response to
 them.

 It looks to be breaking plain searches to not just those requested via
 the API.

 Some examples of broken searches are:

 http://search.twitter.com/search?q=bigpond+near%3Aaustralia

 http://search.twitter.com/search.json?q=bigpondgeocode=-27.766513,13...

 These were working before this issue.

 Best Regards
 Nick Fritzkowski

 On Oct 6, 2:42 am, Matt Harris thematthar...@twitter.com wrote:



  This is a know issue which the team is working on at the moment. I'll
  post an update when a fix is deployed.

  ---
  @themattharris
  Developer Advocate, Twitterhttp://twitter.com/themattharris

  On Mon, Oct 4, 2010 at 8:36 PM, _ado adri...@tijsseling.com wrote:
   For what it's worth, I'm seeing the same issue. Radius parameter is
   completely ignored. Data returned for, for example, a 1 mile radius
   will return results spanning 60 miles.

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

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


[twitter-dev] Re: Woe is me, I can't seek what I find (or Search is failing me)

2010-10-11 Thread themattharris
Thanks for publishing this information. There is another thread
discussing the issue with the Geocode search not respecting the radius
of a search here:

http://groups.google.com/group/twitter-development-talk/browse_thread/thread/a80db3eff77a88fe

From that thread ticket 1930 was filed on our issue tracker which we
will update when a fix is deployed:
http://code.google.com/p/twitter-api/issues/detail?id=1930

I understand your reasons for the location tracking using the Search
API but wondered if you knew that the mentions search you are doing
can be carried out on using the Streaming API filter method. That
should cut down on the number or REST queries you need to make. More
information on that method is here:
http://dev.twitter.com/pages/streaming_api_methods#statuses-filter

Out of curiosity what is the third column of your figures represent?
It may be possible to track that one using the Streaming API as well.

Best
@themattharris

On Oct 11, 10:21 am, @IDisposable idisposa...@gmail.com wrote:
  The Location search has been VERY unstable, and uses this typical
  search:http://search.twitter.com/search.atom?rpp=100geocode=38.627522%2C-90...

 It's getting worse all the time!

 Is this what we can expect going forward?  If so, how can I follow all
 20+ people we used to get tweets from on the location search?
 I'll happily create an account and manage the lists/follows... but I'm
 pretty sure that will get me killed, and it will only be a snapshot
 based on current profile location strings that we have...

 Sure, I could suck the *-pipe, but without a filter criteria, I'm
 going to be seeing all tweets from the entire universe, which seems
 hella-wasteful to twitter and me...

 Day     Mentions        Location        Everything
 2010-09-13      4985    46801   53503
 2010-09-14      4719    48110   54589
 2010-09-15      4779    47599   54209
 2010-09-16      5143    47087   54312
 2010-09-17      5256    48363   55581
 2010-09-18      4888    40943   47237
 2010-09-19      5871    46008   53843
 2010-09-20      4990    46219   52826
 2010-09-21          49274   55933
 2010-09-22      5364    51567   58999
 2010-09-23      6866    42495   52967
 2010-09-24      6191    41107   50679
 2010-09-25      5673    36321   43950
 2010-09-26      6784    35168   44664
 2010-09-27      6346    32580   42192
 2010-09-28      5448    32528   41792
 2010-09-29      6038    40677   50472
 2010-09-30      5964    38116   47713
 2010-10-01      6615    38360   48302
 2010-10-02      5612    23107   32024
 2010-10-03      6728    22802   33328
 2010-10-04      5528    23990   33491
 2010-10-05      5116    38733   47023
 2010-10-06      5427    39041   47856
 2010-10-07      5733    30855   40742
 2010-10-08      6355    9459    22235
 2010-10-09      5894    8352    18691
 2010-10-10      7240    8399    20861
 2010-10-11      4017    5587    13010

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


Re: [twitter-dev] Re: location based search and user location field

2010-10-11 Thread Matt Harris
There is a ticket now tracking this issue in our public issue tracker
and we'll post there when a fix is deployed. The URL for the ticket
is:
http://code.google.com/p/twitter-api/issues/detail?id=1930

Thanks for bearing with us whilst we track down what happened to the
radius and get a fix deployed.

Best
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris



On Mon, Oct 11, 2010 at 7:26 AM, Taylor Singletary
taylorsinglet...@twitter.com wrote:
 Hi all,
 Yes, this is still an issue. We don't have an ETA on when it will be fixed.
 Thanks,
 Taylor

 On Sun, Oct 10, 2010 at 6:24 PM, bella bella.robin...@csiro.au wrote:

 I'm also very interested if there is an update on this.

 For me, it doesn't matter whether there is a q parameter or not.
 If the geocode pararemter is used, only geotagged tweets are returned.

 http://search.twitter.com/search.json?geocode=-35.28204%2C149.12858%2C50.0km

 I get the same result when using the Advanced Search form (place:
 Canberra, radius: 50km).

 Thanks,
 Bella


 On Oct 10, 6:55 pm, Mack D. Male master...@gmail.com wrote:
  Any update on this? It is still an issue.
 
  On Oct 7, 9:46 pm, Siim Saarlo siim.saa...@gmail.com wrote:
 
   Hi,
 
   Search API with location restriction (geocode parameter) used to
   search through tweets that were geotagged and also tweets that were
   tweeted by user who had set her location in profile settings.
   Seems that currently search API, when both geocode and and q
   parameters are set, only goes through the geotagged tweets. Although
   seems that when only geocode is set, tweets are included by user'
   location field as well.
   I was told (by @twitterapi) that this is temporary situation to be
   fixed soon.
 
   1) Can anyone suggest when will it probably be fixed? is there
   alternative solution until then?
   2) I would like to try out Streams API' filter method, but it is
   states that this only goes through geotagged tweets. Is there any
   workaround to make frequent location specific searches through
   geotagged tweets and also the ones that are not geotagged?
 
   Thank you in advance,
 
   siim

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

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


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


Re: [twitter-dev] Search Home Time Line

2010-10-11 Thread João Paulo Sabino de Moraes
Thanks for replying
So, is there a limit of home time line tweets that can be got ?

thanks

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


Re: [twitter-dev] Search Home Time Line

2010-10-11 Thread Thomas Mango

The home_timeline API method returns up to 800 statuses:
http://dev.twitter.com/doc/get/statuses/home_timeline

João Paulo Sabino de Moraes wrote:

Thanks for replying
So, is there a limit of home time line tweets that can be got ?

thanks

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



--
Thomas Mango
tsma...@gmail.com


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


[twitter-dev] No of statuses extracted by statuses/filter

2010-10-11 Thread AA
Hi everybody!
I'm designing an app to do some mining over a corpus of tweets.
I think I'll use streaming api, statuses/filter filtering by keywords.

I'd like to know, before starting development, what is the percentage
of tweets  delivered by this stream over the total tweets ('meaning
total tweets' the total of tweets that have the tracking keywords)  .
This is information is crucial because of statistical confidence: a
very little sample may not be significant.

Addittionally, Ive been googling and reading a lot for 3 days and I
can't figure out how i can use different 'level accesses'.
I've read http://dev.twitter.com/pages/streaming_api_methods#statuses-filter
but how can I use this different levels levels of access?

Thanks in advance!
Regards
Alejandro.

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


Re: [twitter-dev] No of statuses extracted by statuses/filter

2010-10-11 Thread M. Edward (Ed) Borasky

Quoting AA alejandro.ale...@gmail.com:


Hi everybody!
I'm designing an app to do some mining over a corpus of tweets.
I think I'll use streaming api, statuses/filter filtering by keywords.

I'd like to know, before starting development, what is the percentage
of tweets  delivered by this stream over the total tweets ('meaning
total tweets' the total of tweets that have the tracking keywords)  .
This is information is crucial because of statistical confidence: a
very little sample may not be significant.

Addittionally, Ive been googling and reading a lot for 3 days and I
can't figure out how i can use different 'level accesses'.
I've read http://dev.twitter.com/pages/streaming_api_methods#statuses-filter
but how can I use this different levels levels of access?

Thanks in advance!
Regards
Alejandro.


I actually think the answer to *yout* question is, If your filter  
criteria are sufficiently narrow, you get *all* of the public tweets  
with those keywords sent by users who aren't being blocked by  
Twitter's quality filter. At least that's what the documentation has  
said in the past.


But *my* question is, How does one determine the total number of  
tweets, for some definition of total?


a. All tweets created, including those that aren't public?
b. All public tweets created, including those from low quality users  
that don't get indexed by search or sent to the filter stream?
c. All tweets sent to the inlet of the filter stream and the various  
elevated access level stream?


Remind me again - when does Snowflake go live? I haven't looked at  
Streaming data for a couple months.


--
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 developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: Woe is me, I can't seek what I find (or Search is failing me)

2010-10-11 Thread @IDisposable
 From that thread ticket 1930 was filed on our issue tracker which we
 will update when a fix is deployed:
    http://code.google.com/p/twitter-api/issues/detail?id=1930

Excellent, I hope it gets fixed while there is still time to back-fill
some of this data,,,otherwise we're going to have a silly-looking hole
in the next State of Twitter in St. Louis report :)

 I understand your reasons for the location tracking using the Search
 API but wondered if you knew that the mentions search you are doing
 can be carried out on using the Streaming API filter method. That
 should cut down on the number or REST queries you need to make. More
 information on that method is here:
    http://dev.twitter.com/pages/streaming_api_methods#statuses-filter

Yes, I really need to switch to streaming for that... I just haven't
had he bandwidth as of yet... we are using a Search (nee Summize)
based infrastructure from a long while back and me being the one guy
in the room, I've not had a chance to really skim through and update
our stuff for streaming.

 Out of curiosity what is the third column of your figures represent?
 It may be possible to track that one using the Streaming API as well.

We do about 68 searches (mostly hashtags, a couple keyword or user
searches--for legacy/coverage guarantees) and 64 timeline follows
(mostly lists, one hometimel).  Each of these sources applies a
label based on the source of incoming data (which search/timeline)
for our various categories (see http://stltweets.com and click the
category menus e.g. Blues).  For ALL of these searches, we also apply
a top-level category (e.g. Sports) and finally ALL of the tweets get a
label of Everything for ease of seperating various sub-sites.  Thus,
the Everything column in my numbers is the overall volume of tweets
from all sources.

SO, am I to assume that the geocode search bug, once fixed, will go
back to returning the tweets from people whose _profile location_
reads something near St. Louis like before?

Thanks,
Marc

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


[twitter-dev] Re: Getting a Twitter User's Profile Image

2010-10-11 Thread gabrielu
So what's the right way to get user profile image?

On Sep 30, 10:30 am, Tom van der Woerdt i...@tvdw.eu wrote:
 Every image you load using this method counts as 1 API request. So, yes,
 that's bad.

 Tom

 On 9/30/10 11:48 AM, Jayawi Perera wrote:







  Hi all,

  I have a page in which there is a listing of past tweets. In this
  page, I want to display the author's profile image next to the tweet.
  I've come across the following:
 http://dev.twitter.com/doc/get/users/profile_image/:screen_name

  My question is, is it wrong to use this as the src within an img tag?
  I raise the above question because of the following mentioned on that
  page:
  This method should only be used by application developers to lookup
  or check the profile image URL for a user. This method must not be
  used as the image source URL presented to users of your application.

  Thank you for your help.

  Cheers,
  Jayawi~

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


Re: [twitter-dev] Re: Getting a Twitter User's Profile Image

2010-10-11 Thread Taylor Singletary
My recommendations:

If you just have a member id or screen name and want only the current
profile image, use GET /users/profile_image to get the current URL as the
return, then cache that value and use it as your image src.

If you are interested in more information about the user than just the
profile photo, and you're starting with a member id or screen name, use bulk
user lookup: GET users/lookup or GET users/show for the user in question.

If you are simply rendering tweets and want to render an avatar next to the
tweet, just use the profile image that's embedded in the user object for the
tweet you're rendering. It's right more often than not.

It comes down to context: what data you're starting with and what you're
wanting to do with it.

Taylor

On Mon, Oct 11, 2010 at 3:57 PM, gabrielu gabri...@gmail.com wrote:

 So what's the right way to get user profile image?

 On Sep 30, 10:30 am, Tom van der Woerdt i...@tvdw.eu wrote:
  Every image you load using this method counts as 1 API request. So, yes,
  that's bad.
 
  Tom
 
  On 9/30/10 11:48 AM, Jayawi Perera wrote:
 
 
 
 
 
 
 
   Hi all,
 
   I have a page in which there is a listing of past tweets. In this
   page, I want to display the author's profile image next to the tweet.
   I've come across the following:
  http://dev.twitter.com/doc/get/users/profile_image/:screen_name
 
   My question is, is it wrong to use this as the src within an img tag?
   I raise the above question because of the following mentioned on that
   page:
   This method should only be used by application developers to lookup
   or check the profile image URL for a user. This method must not be
   used as the image source URL presented to users of your application.
 
   Thank you for your help.
 
   Cheers,
   Jayawi~

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


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


[twitter-dev] Re: Getting a Twitter User's Profile Image

2010-10-11 Thread @IDisposable
 So what's the right way to get user profile image?

One option is to throw yourself at the mercy of someone tracking and
caching those images. We've used Shannon Whitley
(@swhitley) SPIURL as a backup source on other projects like http://tweet08.com

http://www.voiceoftech.com/swhitley/?p=652

You basically code http://purl.org/net/spiurl/{screen_name} and it
just redirects.  They're running on free-level service for Google
AppEngine, so it might not always be up, but hey, it's free.

Marc

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


Re: [twitter-dev] Re: Getting a Twitter User's Profile Image

2010-10-11 Thread Peter Denton
Hi Gabrielu,

I was going to add, you can always do something on the client for *one
off *images.
For example, here is a javascript function using jQuery to fetch user
object. Keep in mind, rate limits are 150, so if you expect your visitors to
go way over that, then this is a bad way to go, but if you happen to have
something where they are going to look at a handful of image, this can be
useful.

function fetchUserProfile(userName) {
 $.ajax({
  url: http://api.twitter.com/1/users/show/
+profileName+.json?cursor=-1callback=?,
  cache: false,
  success: function(data) {

   // this variable below will container the URL to the twitter avatar
   var profile_image_url = data.profile_image_url;

  }
 });
}




On Mon, Oct 11, 2010 at 4:02 PM, Taylor Singletary 
taylorsinglet...@twitter.com wrote:

 My recommendations:

 If you just have a member id or screen name and want only the current
 profile image, use GET /users/profile_image to get the current URL as the
 return, then cache that value and use it as your image src.

 If you are interested in more information about the user than just the
 profile photo, and you're starting with a member id or screen name, use bulk
 user lookup: GET users/lookup or GET users/show for the user in question.

 If you are simply rendering tweets and want to render an avatar next to the
 tweet, just use the profile image that's embedded in the user object for the
 tweet you're rendering. It's right more often than not.

 It comes down to context: what data you're starting with and what you're
 wanting to do with it.

 Taylor

 On Mon, Oct 11, 2010 at 3:57 PM, gabrielu gabri...@gmail.com wrote:

 So what's the right way to get user profile image?

 On Sep 30, 10:30 am, Tom van der Woerdt i...@tvdw.eu wrote:
  Every image you load using this method counts as 1 API request. So, yes,
  that's bad.
 
  Tom
 
  On 9/30/10 11:48 AM, Jayawi Perera wrote:
 
 
 
 
 
 
 
   Hi all,
 
   I have a page in which there is a listing of past tweets. In this
   page, I want to display the author's profile image next to the tweet.
   I've come across the following:
  http://dev.twitter.com/doc/get/users/profile_image/:screen_name
 
   My question is, is it wrong to use this as the src within an img tag?
   I raise the above question because of the following mentioned on that
   page:
   This method should only be used by application developers to lookup
   or check the profile image URL for a user. This method must not be
   used as the image source URL presented to users of your application.
 
   Thank you for your help.
 
   Cheers,
   Jayawi~

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


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




-- 
Peter Denton
Co-Founder, Product Marketing
www.mombo.com
cell: (206) 427-3866
twitter @Mombo_movies
twitter - personal: @petermdenton

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


[twitter-dev] Re: Getting a Twitter User's Profile Image

2010-10-11 Thread gabrielu
Wow!  Thank you all for the responses.  That was fast.  @Peter Denton
I really appreciate your reply.  It was very informative.  I'm going
to use that but with PHP to store the user's profile image URL.  Thank
you all again.

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


Re: [twitter-dev] Re: Getting a Twitter User's Profile Image

2010-10-11 Thread Abraham Williams
You should consider using JavaScript to detect load errors on images and
dynamically updating the src. If the image fails to load (which this one
will because the filetype is pngx) the src is replaced with the redirect API
URL.

img src='http://a0.twimg.com/profile_images/1117369624/new-border.pngx'
width='48' height='48' data-screen-name='abraham'
class='twitter-profile-image' onerror='this.src=
http://api.twitter.com/1/users/profile_image/; +
this.getAttribute(data-screen-name)'

Caveats:
Tested only in Chrome, Firefox, Opera, and Safari.
You should move the JS to a function attached to the
twitter-profile-image class
so it works on all profile images.
Optionally you can also send a ping to your server so it knows to update the
cached URL.

Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
Update: http://blog.abrah.am/2010/10/organizing-my-life.html
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.





On Mon, Oct 11, 2010 at 16:22, gabrielu gabri...@gmail.com wrote:

 Wow!  Thank you all for the responses.  That was fast.  @Peter Denton
 I really appreciate your reply.  It was very informative.  I'm going
 to use that but with PHP to store the user's profile image URL.  Thank
 you all again.

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


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


[twitter-dev] problem with since_id in search

2010-10-11 Thread João Paulo Sabino de Moraes
hi everyone,

since_id is not filtering correctly with search... below there is an
example that explains better what I mean:

the id in this query is related to the second newer tweet from nibuzz search
without since_id:

http://search.twitter.com/search?q=nibuzzsince_id=2707390922

http://search.twitter.com/search?q=nibuzzsince_id=2707390922So the above
query should return only one ocurrence, cause there is only one tweet with
nibuzz and id bigger than
2707390922http://search.twitter.com/search?q=nibuzzsince_id=2707390922
 .
Although it is returning all ocurrences of nibuzz in twitter

is there any other thing to do ?

thanks


-- 
João Paulo S. de Moraes
+55 81 3432 3804
+55 81 9189 3814 (mobile)

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