[twitter-dev] Re: Search with multiple terms

2011-05-12 Thread Adrian
I did not see the solution for multiple words. It is clear that for
single words it is:

this OR that becomes ors=this+that

I did not see the solution for this sentence OR these words


On May 11, 8:13 pm, Matt Harris thematthar...@twitter.com wrote:
 Hi Adrian,

 Check out our guide on how to use the Search API:
    http://dev.twitter.com/pages/using_search

 It includes information about how to do this and other types of queries.

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



 On Wed, May 11, 2011 at 8:50 AM, Adrian arco.wagemak...@gmail.com wrote:
  Is it possible to do a search for multiple words that belong together
  combined with the OR operator?

  For example if I want to capture all tweets for The Bachelor
  including people who use hashtags, I would like the query to look
  something like:

  the bachelor or thebachelor

  on Twitter search this is translated as:

  ors=the+bachelor+thebachelor

  which is clearly wrong.

  I have tried it many ways now but seem to fail constantly. Any
  suggestions?

  --
  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- Hide 
 quoted text -

 - Show quoted text -

-- 
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: Twitter Profile Widget Change Header Text

2011-05-12 Thread Tim Meadowcroft

Personally I read the full source to see what's going on, and then figure 
out how to work around bits of it, so for example I might see when the 
header title is set and the selectors used, and then use its own routines to 
modify them (eg  hdr = widget.byClass(twtr-hd, div) and then manipulate 
the DOM myself) rather than use a modified version of the widget js file 
itself.

This way it's easier for me to keep up with changes to the widgets (eg the 
recent addition of intents) and to ensure I'm staying within the rules about 
presenting twitter content (logos, names, etc), but YMMV

--
T

-- 
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] The max length of Profile Image URL and alternative way to get it.

2011-05-12 Thread yama
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-dev] Re: Maximum length of User ID

2011-05-12 Thread yama
Arnaud ,

That was really helpful.
I will have 20 char for screen_name and UserID too.

Thanks,
Yama


On 5月12日, 午前1:01, Arnaud Meunier arn...@twitter.com wrote:
 Hey Yama,

 - screen_name: I would go for 20 Chars, as it has been the limit for some
 time, before we switched to 15 Chars. Some accounts might still have a
 screen_name  15 Chars.
 - User ID: I would take the safest option and treat them as Status ID (20
 Chars or 64 bits INT). So if we decided in the future to generate User IDs
 with SnowFlake, you'd be prepared.

 Hope that helps!
 Arnaud / @rno http://twitter.com/rno







 On Tue, May 10, 2011 at 11:19 PM, 山田 eternalsun...@gmail.com wrote:
  Hi guys,
  I'm trying to store UserID, UserName, StatusID, TextComment, etc to
  DB.
  I found the max length that UserName was 15 chars, and StatusID was 20
  figures, and TextComment was 140 char of course.
  But not sure about UserID.
  Does anyone have idea?

  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] Re: what happen if auth token inside search api?

2011-05-12 Thread Rich
You can't unless you have already cached their timeline by either
being someone following that user or you are authenticated as that
user.  Even then you have to write the logic to search their timeline.

On May 12, 3:09 am, jimmy6 laise...@gmail.com wrote:
 Then how can i search private twit?

 On May 12, 2:04 am, Matt Harris thematthar...@twitter.com wrote:







  Hi Jimmy,

  The Search API only indexes public Tweets so it doesn't know about Tweets
  from protected users.

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

  On Wed, May 11, 2011 at 8:29 AM, jimmy6 laise...@gmail.com wrote:
   If it is the case, how can i get/search private twit?

   On May 10, 10:23 pm, Taylor Singletary taylorsinglet...@twitter.com
   wrote:
The Search API will ignore any authentication that you send its way -- 
it
doesn't know anything about authentication.

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

On Tue, May 10, 2011 at 7:13 AM, jimmy6 laise...@gmail.com wrote:
 What will happen if i pass in authentication token in search api? Does
 it return different result? Does it return only my twit and friend
 twit?

 --
 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 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] Get user status, if he is logged into twitter.

2011-05-12 Thread Rafael Garcia
Hi, everybody.

Does anyone know if there's somehow i can get the user logged status
with his Twitter's account with some PHP or Javascript script?

I'm using the TwitterOath's php class to get the user's information,
and merge these informations with my website login.
That is ok, i did it, but i want to know if the user is logged into
Twitter when he access my website and auto-login.

I'm thinking to create a cookie to storage user's twitter id or
screen_name with md5() and verify when he access my website if he is
logged in his Twitter Account.

http://www.huffingtonpost.com does something similar i want, once the
Twitter's user authorized my app clicking on Twitter's button on the
right side of login button it logs in automatically, you don't have to
authorize the app everytime you want to log into the website.

I searched the web and didn't found anything.

Thanks!

-- 
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: what happen if auth token inside search api?

2011-05-12 Thread Damon Parker
So private feeds aren't indexed by Twitter at all and thus are never searchable?

-- 
damonp
Sent with Sparrow
On Thursday, May 12, 2011 at 8:44 AM, Rich wrote: 
 You can't unless you have already cached their timeline by either
 being someone following that user or you are authenticated as that
 user. Even then you have to write the logic to search their timeline.
 
 On May 12, 3:09 am, jimmy6 laise...@gmail.com wrote:
  Then how can i search private twit?
  
  On May 12, 2:04 am, Matt Harris thematthar...@twitter.com wrote:
  
  
  
  
  
  
  
   Hi Jimmy,
  
   The Search API only indexes public Tweets so it doesn't know about Tweets
   from protected users.
  
   Best,
   @themattharris
   Developer Advocate, Twitterhttp://twitter.com/themattharris
  
   On Wed, May 11, 2011 at 8:29 AM, jimmy6 laise...@gmail.com wrote:
If it is the case, how can i get/search private twit?
  
On May 10, 10:23 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 The Search API will ignore any authentication that you send its way 
 -- it
 doesn't know anything about authentication.
  
 @episod http://twitter.com/episod - Taylor Singletary
  
 On Tue, May 10, 2011 at 7:13 AM, jimmy6 laise...@gmail.com wrote:
  What will happen if i pass in authentication token in search api? 
  Does
  it return different result? Does it return only my twit and friend
  twit?
  
  --
  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 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] Re: direct messages / conversations

2011-05-12 Thread galeyte
...
So i guess there's no other way ?

On May 11, 5:58 pm, galeyte gaetan...@gmail.com wrote:
 Hi,

 I'm building a qml/js app.
 I'm now getting direct messages and i'm wondering if there's any way
 to get direct messages by sender screen names or id.
 IBy now i'm requesting /dirtect_messages.json and /direct_messages/
 sent.json and merging the results together to build a tree and i would
 really appriciate another easiest way to do it.

 Thanks,

-- 
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: direct messages / conversations

2011-05-12 Thread Taylor Singletary
The direct message API is a bit more basic than that in that it just
provides a way act on individual messages and to page through the user's
sent  received direct messages without any kind of advanced filtering
techniques (aside from since_id and max_id support). Creating an in memory
map and authoring your own filtration routines would be your best bet if you
were interested in a feature like this.

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


On Thu, May 12, 2011 at 7:19 AM, galeyte gaetan...@gmail.com wrote:

 ...
 So i guess there's no other way ?

 On May 11, 5:58 pm, galeyte gaetan...@gmail.com wrote:
  Hi,
 
  I'm building a qml/js app.
  I'm now getting direct messages and i'm wondering if there's any way
  to get direct messages by sender screen names or id.
  IBy now i'm requesting /dirtect_messages.json and /direct_messages/
  sent.json and merging the results together to build a tree and i would
  really appriciate another easiest way to do it.
 
  Thanks,

 --
 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


Re: [twitter-dev] Re: what happen if auth token inside search api?

2011-05-12 Thread Taylor Singletary
Correct, the Search API's archive represents only publicly issued tweets.

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


On Thu, May 12, 2011 at 7:14 AM, Damon Parker cartmet...@gmail.com wrote:

  So private feeds aren't indexed by Twitter at all and thus are never
 searchable?

 --
 damonp
 Sent with Sparrow http://www.sparrowmailapp.com

 On Thursday, May 12, 2011 at 8:44 AM, Rich wrote:

 You can't unless you have already cached their timeline by either
 being someone following that user or you are authenticated as that
 user. Even then you have to write the logic to search their timeline.

 On May 12, 3:09 am, jimmy6 laise...@gmail.com wrote:

 Then how can i search private twit?

 On May 12, 2:04 am, Matt Harris thematthar...@twitter.com wrote:







 Hi Jimmy,


 The Search API only indexes public Tweets so it doesn't know about Tweets
 from protected users.


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


 On Wed, May 11, 2011 at 8:29 AM, jimmy6 laise...@gmail.com wrote:

 If it is the case, how can i get/search private twit?


 On May 10, 10:23 pm, Taylor Singletary taylorsinglet...@twitter.com
 wrote:

 The Search API will ignore any authentication that you send its way -- it
 doesn't know anything about authentication.


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


 On Tue, May 10, 2011 at 7:13 AM, jimmy6 laise...@gmail.com wrote:

 What will happen if i pass in authentication token in search api? Does
 it return different result? Does it return only my twit and friend
 twit?


 --
 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 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 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: what happen if auth token inside search api?

2011-05-12 Thread Damon Parker
Thanks for the response, but didn't quite answer my question. I was asking 
about indexing mainly and not specifically just the Search API.

Twitter doesn't index any private feeds? 

If they aren't indexed then they will never be searchable... not just not 
searchable in the current version of the Search API (by users with access to 
the private feed).





-- 
damonp

On Thursday, May 12, 2011 at 9:28 AM, Taylor Singletary wrote: 
 Correct, the Search API's archive represents only publicly issued tweets.
 
 @episod - Taylor Singletary
 
 
 On Thu, May 12, 2011 at 7:14 AM, Damon Parker cartmet...@gmail.com wrote:
  So private feeds aren't indexed by Twitter at all and thus are never 
  searchable?
  
  -- 
  damonp
  Sent with Sparrow
  On Thursday, May 12, 2011 at 8:44 AM, Rich wrote:
   You can't unless you have already cached their timeline by either
   being someone following that user or you are authenticated as that
   user. Even then you have to write the logic to search their timeline.
   
   On May 12, 3:09 am, jimmy6 laise...@gmail.com wrote:
Then how can i search private twit?

On May 12, 2:04 am, Matt Harris thematthar...@twitter.com wrote:







 Hi Jimmy,

 The Search API only indexes public Tweets so it doesn't know about 
 Tweets
 from protected users.
 
 Best,
 @themattharris
 Developer Advocate, Twitterhttp://twitter.com/themattharris

 On Wed, May 11, 2011 at 8:29 AM, jimmy6 laise...@gmail.com wrote:
  If it is the case, how can i get/search private twit?
  
  On May 10, 10:23 pm, Taylor Singletary 
  taylorsinglet...@twitter.com
  wrote:
   The Search API will ignore any authentication that you send its 
   way -- it
   doesn't know anything about authentication.

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

   On Tue, May 10, 2011 at 7:13 AM, jimmy6 laise...@gmail.com 
   wrote:
What will happen if i pass in authentication token in search 
api? Does
 it return different result? Does it return only my twit and 
friend
twit?

--
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 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 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


Re: [twitter-dev] Re: what happen if auth token inside search api?

2011-05-12 Thread Taylor Singletary
It's unknown whether a future incarnation of the Search API might allow for
searching against a user's specific timeline of tweets -- whether protected
or not. There is a definite future where authentication will be used with
Search, but that doesn't necessarily mean it will offer scoping features for
the authenticated user. Today the Search Index (for which the Search API is
an interface) doesn't concern itself with tweets from protected accounts.

If you're interested in offering scoped search capabilities for a protected
account user_timeline for the owner of that protected user, you can consume
their user_timeline (currently limited to their 3200 most recent tweets) and
offer your own search capabilities against that timeline.

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


On Thu, May 12, 2011 at 7:37 AM, Damon Parker cartmet...@gmail.com wrote:

  Thanks for the response, but didn't quite answer my question.  I was
 asking about indexing mainly and not specifically just the Search API.

 Twitter doesn't index any private feeds?

 If they aren't indexed then they will never be searchable... not just not
 searchable in the current version of the Search API (by users with access to
 the private feed).





 --
 damonp

 On Thursday, May 12, 2011 at 9:28 AM, Taylor Singletary wrote:

 Correct, the Search API's archive represents only publicly issued tweets.

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


 On Thu, May 12, 2011 at 7:14 AM, Damon Parker cartmet...@gmail.comwrote:

   So private feeds aren't indexed by Twitter at all and thus are never
 searchable?

 --
 damonp
 Sent with Sparrow http://www.sparrowmailapp.com

 On Thursday, May 12, 2011 at 8:44 AM, Rich wrote:

 You can't unless you have already cached their timeline by either
 being someone following that user or you are authenticated as that
 user. Even then you have to write the logic to search their timeline.

 On May 12, 3:09 am, jimmy6 laise...@gmail.com wrote:

 Then how can i search private twit?

 On May 12, 2:04 am, Matt Harris thematthar...@twitter.com wrote:







 Hi Jimmy,


 The Search API only indexes public Tweets so it doesn't know about Tweets
 from protected users.


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


 On Wed, May 11, 2011 at 8:29 AM, jimmy6 laise...@gmail.com wrote:

 If it is the case, how can i get/search private twit?


 On May 10, 10:23 pm, Taylor Singletary taylorsinglet...@twitter.com
 wrote:

 The Search API will ignore any authentication that you send its way -- it
 doesn't know anything about authentication.


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


 On Tue, May 10, 2011 at 7:13 AM, jimmy6 laise...@gmail.com wrote:

 What will happen if i pass in authentication token in search api? Does
 it return different result? Does it return only my twit and friend
 twit?


  --
 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 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 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 developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi

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

2011-05-12 Thread Taylor Singletary
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. See
http://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] What to do when the Stream API throttles me?

2011-05-12 Thread Ryan Cole
Hi all,

I've been using the Stream API over the past few days. I left it running for
about 2 hours yesterday and noticed that I was receiving the throttle
response codes - saying I had missed X number of tweets. Eventually my API
HTTP request was just timing out. I assume I had been completely throttled
off. I'm using the filter query with less than 5 keywords.

I turned it off immediately and was able to get back on the Stream API a few
minutes later without being throttled at all.

My question is, what am I supposed to do when I see that I am being
throttled? From reading the docs, I see that I can be throttled if my
bandwidth can't handle the Stream. This is probably why I am being throttled
since I don't think I'd be throttled for simply leaving the Stream open for
2 hours, would I? When I see a throttle message, should I disconnect and
wait 30 seconds or so and then reconnect? I was reluctant to do this because
I read that I can be banned entirely for reconnecting too often. It sounds
to me like reconnecting shouldn't be required.

Thanks,
Ryan

-- 
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: New API Console Documentation updates on dev.twitter.com

2011-05-12 Thread aghilmort
apigee + twitter = great match-up; examples of possibilities:

fix for following twitter lists @ http://www.reddit.com/tb/h7032/ (or use 
the old interface...)
ease of data access - slides 17+ @ http://goo.gl/HaNdA/ (twitter data 
scraped via apigee)

http://twitter.com/#!/aghilmort

-- 
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: New API Console Documentation updates on dev.twitter.com

2011-05-12 Thread JEAN HALL
Not to good with this twitter. Will find out tomorrow have more time.





From: aghilmort aghilm...@gmail.com
To: twitter-development-talk@googlegroups.com
Sent: Thursday, 12 May, 2011 18:58:07
Subject: [twitter-dev] Re: New API Console  Documentation updates on 
dev.twitter.com

apigee + twitter = great match-up; examples of possibilities: 

fix for following twitter lists @ http://www.reddit.com/tb/h7032/ (or use the 
old interface...)
ease of data access - slides 17+ @ http://goo.gl/HaNdA/ (twitter data scraped 
via apigee) 


http://twitter.com/#!/aghilmort
-- 
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] Re: Using Twitter API in case of Dot Net

2011-05-12 Thread Joe Mayo
http://linqtotwitter.codeplex.com/

On May 9, 6:47 am, Ankur Gupta ankur.bits...@gmail.com wrote:
 Hi,

     I have created windows based service which checks user tweets to
 do some task at user machine. Since its windows based Service, so it
 cannot have a UI (I presume). To retweet back user profile, i need
 authorisation key. Can you please suggest me how to proceed in this
 case?Or atleast can i get authorisation key token in some defined file
 and then read from that file. If its possible or some other
 alternative, please do inform me.

 -Thanks
 Ankur Gupta

-- 
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: direct messages / conversations

2011-05-12 Thread Orian Marx (@orian)
No, there is no API method which will do what you are asking for. As
Taylor says, you need build this up for yourself as best you can using
the sent / received DMs endpoints.

On May 12, 10:19 am, galeyte gaetan...@gmail.com wrote:
 ...
 So i guess there's no other way ?

 On May 11, 5:58 pm, galeyte gaetan...@gmail.com wrote:







  Hi,

  I'm building a qml/js app.
  I'm now getting direct messages and i'm wondering if there's any way
  to get direct messages by sender screen names or id.
  IBy now i'm requesting /dirtect_messages.json and /direct_messages/
  sent.json and merging the results together to build a tree and i would
  really appriciate another easiest way to do it.

  Thanks,

-- 
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