[twitter-dev] Re: REST API Rate Limiting

2010-10-15 Thread mihai.fa...@olivestudio.net
Thank you both for the replies.

 Taylor, I think you just gave me the answer. Yes, I am on a shared
hosting and most likely someone else is having another twitter app
that he didn't know to limit the requests within an hour(or didn't
care). First thing I'll do when I have some spare time will be to read
the X-RateLimit and see the problem. Meanwhile I'm thinking about
changing host.

 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: Twitter Call Back for Portal

2010-10-15 Thread abhinav
Thanks Taylor...

On Oct 14, 10:39 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Instead of using callback-based OAuth, you may want to consider out-of-band
 mode OAuth where you prompt the user for a PIN code that's provided to the
 user instead of a callback.

 Twitter's Matt Harris has done a good job detailing how to work with out of
 band 
 OAuth:http://github.com/themattharris/tmhOAuth/blob/master/examples/oob.php

 Taylor







 On Wed, Oct 13, 2010 at 1:11 AM, abhinav abhinavshr...@gmail.com wrote:
  I have integrated twitter in a portal solution. The portal page where
  I register user for twitter, for the OAuth changes I have to give a
  URL for authorization.
  Now my question is that, portlets are not url addressable so how do I
  implement callback functionality for authorization.

  --
  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] libauth library

2010-10-15 Thread Georgooty varghese
Dear Twitter,

Is anybody using liboauth library for twitter authentication?...''

Using this library I got xAuth auth token values.. But using this I didnt
get home tweets..etc..
It didnt work any authentication required URL calls..

But Follower status/following status URL working fine...

Any body working on twitter development using liboauth library..in C..
Please help me...

Regards,
George

-- 
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] Whom to call for statuses/links ?

2010-10-15 Thread localhost
Dears,

I want to have access for the API statuses/links in Twitter
Streaming, do you know which email I should contact and what
requirement they need ?


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] Stream API responds with 401 when multiple keywords are used

2010-10-15 Thread Corey Wallis
Hi All,

I have working code that uses OAuth to connect to the Stream API and
filter using keywords. When I supply a single keyword the API works as
expected and tweets are returned. What is odd is that when I specify
multiple keywords, or keywords that include a # symbol I get a 401
UNAUTHORIZED error.

Has anyone seen this before and come up with a successful resolution?

I've captured the HTTP headers of both a successful and unsuccessful
call and I can't see anything that is different other than the list of
tracks contains multiple entries. Samples of the headers is below.

This works:

POST /1/statuses/filter.json HTTP/1.1
Authorization: OAuth oauth_token=###, oauth_consumer_key=###,
oauth_version=1.0, oauth_signature_method=HMAC-SHA1,
oauth_timestamp=1287106462, oauth_nonce=-1686656262164231601,
oauth_signature=###
Content-Length: 13
Content-Type: application/x-www-form-urlencoded
Host: stream.twitter.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
Expect: 100-Continue

HTTP/1.1 100 Continue

track=twitter

This does not:

POST /1/statuses/filter.json HTTP/1.1
Authorization: OAuth oauth_token=###, oauth_consumer_key=###,
oauth_version=1.0, oauth_signature_method=HMAC-SHA1,
oauth_timestamp=1287105193, oauth_nonce=-3374947181315671264,
oauth_signature=###
Content-Length: 20
Content-Type: application/x-www-form-urlencoded
Host: stream.twitter.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
Expect: 100-Continue

HTTP/1.1 100 Continue

track=twitter,lolcat

Any thoughts would be gratefully received.

With thanks.

-Corey

-- 
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] Oauth issue on iPhone Development - Multiple Users posting to Single Account with No UI

2010-10-15 Thread Anthony
I have be searching high and low to find out if Oauth will allow some
form of embedding the log-in info for a single account from the
iphone. I was using the basic authorization, and with the change it is
no longer working. I have a series of clients who post to an account
to discuss their process for each project. I do not want to give them
the log-in information, but I want them to have posting ability.

I would prefer to embed the log-in token and just give one of the two
authentication to them- either username or password (or neither). With
Oauth can I use other peoples accounts to post to one. main account?

I have read on the boards that everyone is skirting the issue, a
twitter does not address it. Oauth appears to be the antithesis of
this concept. Any help would be greatly appreciated.

Just to be clear- I have a view that has a status box with a post
button. Users with the app do not need to login (but need the app) to
post to the account.) Now when I implement the Oauth, a log-in screen
appears and request a username and password. This would give the users
access to edit the account and to post. I don't want them to be able
to edit the account, but to just post to it.

Thank you.

A

-- 
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] API username and password

2010-10-15 Thread kevin
What is the username and password to use if your using a website
creator like yola

-- 
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] Stream API responds with 401 when multiple keywords are used

2010-10-15 Thread Tom van der Woerdt
I'd assume that there would be an error in your signature generation.
Make sure that you properly url-encode all values before putting them in
your base string. Make sure to encode only the correct ones.

If you've checked this and it still does not work, please show us the
Base String which you use to generate the signature.

Tom


On 10/15/10 3:40 AM, Corey Wallis wrote:
 Hi All,
 
 I have working code that uses OAuth to connect to the Stream API and
 filter using keywords. When I supply a single keyword the API works as
 expected and tweets are returned. What is odd is that when I specify
 multiple keywords, or keywords that include a # symbol I get a 401
 UNAUTHORIZED error.
 
 Has anyone seen this before and come up with a successful resolution?
 
 I've captured the HTTP headers of both a successful and unsuccessful
 call and I can't see anything that is different other than the list of
 tracks contains multiple entries. Samples of the headers is below.
 
 This works:
 
 POST /1/statuses/filter.json HTTP/1.1
 Authorization: OAuth oauth_token=###, oauth_consumer_key=###,
 oauth_version=1.0, oauth_signature_method=HMAC-SHA1,
 oauth_timestamp=1287106462, oauth_nonce=-1686656262164231601,
 oauth_signature=###
 Content-Length: 13
 Content-Type: application/x-www-form-urlencoded
 Host: stream.twitter.com
 Connection: Keep-Alive
 User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
 Expect: 100-Continue
 
 HTTP/1.1 100 Continue
 
 track=twitter
 
 This does not:
 
 POST /1/statuses/filter.json HTTP/1.1
 Authorization: OAuth oauth_token=###, oauth_consumer_key=###,
 oauth_version=1.0, oauth_signature_method=HMAC-SHA1,
 oauth_timestamp=1287105193, oauth_nonce=-3374947181315671264,
 oauth_signature=###
 Content-Length: 20
 Content-Type: application/x-www-form-urlencoded
 Host: stream.twitter.com
 Connection: Keep-Alive
 User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
 Expect: 100-Continue
 
 HTTP/1.1 100 Continue
 
 track=twitter,lolcat
 
 Any thoughts would be gratefully received.
 
 With thanks.
 
 -Corey
 

-- 
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] Stream API responds with 401 when multiple keywords are used

2010-10-15 Thread John Kalucki
There's at least one OAuth library out there that doesn't encode the comma
correctly. Search back in this group for details.

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

On Thu, Oct 14, 2010 at 6:40 PM, Corey Wallis
corey.wal...@flinders.edu.auwrote:

 Hi All,

 I have working code that uses OAuth to connect to the Stream API and
 filter using keywords. When I supply a single keyword the API works as
 expected and tweets are returned. What is odd is that when I specify
 multiple keywords, or keywords that include a # symbol I get a 401
 UNAUTHORIZED error.

 Has anyone seen this before and come up with a successful resolution?

 I've captured the HTTP headers of both a successful and unsuccessful
 call and I can't see anything that is different other than the list of
 tracks contains multiple entries. Samples of the headers is below.

 This works:

 POST /1/statuses/filter.json HTTP/1.1
 Authorization: OAuth oauth_token=###, oauth_consumer_key=###,
 oauth_version=1.0, oauth_signature_method=HMAC-SHA1,
 oauth_timestamp=1287106462, oauth_nonce=-1686656262164231601,
 oauth_signature=###
 Content-Length: 13
 Content-Type: application/x-www-form-urlencoded
 Host: stream.twitter.com
 Connection: Keep-Alive
 User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
 Expect: 100-Continue

 HTTP/1.1 100 Continue

 track=twitter

 This does not:

 POST /1/statuses/filter.json HTTP/1.1
 Authorization: OAuth oauth_token=###, oauth_consumer_key=###,
 oauth_version=1.0, oauth_signature_method=HMAC-SHA1,
 oauth_timestamp=1287105193, oauth_nonce=-3374947181315671264,
 oauth_signature=###
 Content-Length: 20
 Content-Type: application/x-www-form-urlencoded
 Host: stream.twitter.com
 Connection: Keep-Alive
 User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
 Expect: 100-Continue

 HTTP/1.1 100 Continue

 track=twitter,lolcat

 Any thoughts would be gratefully received.

 With thanks.

 -Corey

 --
 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] Oauth issue on iPhone Development - Multiple Users posting to Single Account with No UI

2010-10-15 Thread Tom van der Woerdt
You can simply include the access tokens in the application. You don't
need anything else.

Tom


On 10/15/10 5:43 AM, Anthony wrote:
 I have be searching high and low to find out if Oauth will allow some
 form of embedding the log-in info for a single account from the
 iphone. I was using the basic authorization, and with the change it is
 no longer working. I have a series of clients who post to an account
 to discuss their process for each project. I do not want to give them
 the log-in information, but I want them to have posting ability.
 
 I would prefer to embed the log-in token and just give one of the two
 authentication to them- either username or password (or neither). With
 Oauth can I use other peoples accounts to post to one. main account?
 
 I have read on the boards that everyone is skirting the issue, a
 twitter does not address it. Oauth appears to be the antithesis of
 this concept. Any help would be greatly appreciated.
 
 Just to be clear- I have a view that has a status box with a post
 button. Users with the app do not need to login (but need the app) to
 post to the account.) Now when I implement the Oauth, a log-in screen
 appears and request a username and password. This would give the users
 access to edit the account and to post. I don't want them to be able
 to edit the account, but to just post to it.
 
 Thank you.
 
 A
 

-- 
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 username and password

2010-10-15 Thread Tom van der Woerdt
The API does not use an username and/or password. Instead, it uses tokens.

I have no idea what yola is, but if it does not ask explicitly for these
tokens, you will not be able to integrate Twitter without a lot of coding.

You can get these tokens at http://dev.twitter.com/

Tom


On 10/15/10 6:21 AM, kevin wrote:
 What is the username and password to use if your using a website
 creator like yola
 

-- 
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] Oauth issue on iPhone Development - Multiple Users posting to Single Account with No UI

2010-10-15 Thread Anthony Thompson Shumate
Is there somewhere I can find documentation on this?

Thanks again for the quick response.

A


On Oct 15, 2010, at 8:22 AM, Tom van der Woerdt wrote:

 You can simply include the access tokens in the application. You don't
 need anything else.
 
 Tom
 
 
 On 10/15/10 5:43 AM, Anthony wrote:
 I have be searching high and low to find out if Oauth will allow some
 form of embedding the log-in info for a single account from the
 iphone. I was using the basic authorization, and with the change it is
 no longer working. I have a series of clients who post to an account
 to discuss their process for each project. I do not want to give them
 the log-in information, but I want them to have posting ability.
 
 I would prefer to embed the log-in token and just give one of the two
 authentication to them- either username or password (or neither). With
 Oauth can I use other peoples accounts to post to one. main account?
 
 I have read on the boards that everyone is skirting the issue, a
 twitter does not address it. Oauth appears to be the antithesis of
 this concept. Any help would be greatly appreciated.
 
 Just to be clear- I have a view that has a status box with a post
 button. Users with the app do not need to login (but need the app) to
 post to the account.) Now when I implement the Oauth, a log-in screen
 appears and request a username and password. This would give the users
 access to edit the account and to post. I don't want them to be able
 to edit the account, but to just post to it.
 
 Thank you.
 
 A
 
 
 -- 
 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: My Tweets, Retweeted

2010-10-15 Thread Toby
Wow, just what I was looking for! :)

Do any of you know, if it's possible to fetch retweets of a user
without authorizing as him? Or are they so 'secret' that only the
retweeted user should see them? :)

- 2biazdk

On 15 Okt., 05:31, polomasta poloma...@gmail.com wrote:
 ah thanks! that should do the trick :-)

 On Oct 14, 5:03 pm, Taylor Singletary taylorsinglet...@twitter.com
 wrote:



  Take a look athttp://dev.twitter.com/doc/get/statuses/:id/retweeted_by

  Taylor

  On Thu, Oct 14, 2010 at 2:21 PM, polomasta poloma...@gmail.com wrote:
   In my application I would like to show My Tweets, Retweeted with the
   rest of the Mentions for a user. (similar to the way they show up in
   your mentions column in tweetdeck)

   So far I haven't been able to figure out how to do this.. these tweets
   don't show up via user/mentions.

   I'm able to retrieve user/retweets_of_me but in the JSON response
   there is no way to tell who in fact did the retweeting.

   Can anyone give me a suggestion as to how to solve/implement this?

   (It's a rails app and I'm using the twitter gem)

   Here is an example of the response I get when calling user/
   retweets_of_me ... I know for a fact his particular tweet has been
   retweeted twice by others

   = #Hashie::Mash contributors=nil coordinates=nil created_at=Thu Oct
   14 18:35:07 + 2010 favorited=false geo=nil id=27366026129
   in_reply_to_screen_name=nil in_reply_to_status_id=nil
   in_reply_to_user_id=nil place=nil retweet_count=0 retweeted=false
   source=a href=\http://twitter.com/tweetbutton\; rel=\nofollow
   \Tweet Button/a text=Startup Profile: Mobestream Media |
    launchDFWhttp://t.co/3bewuhq...@launchdfw; truncated=false
   user=#Hashie::Mash contributors_enabled=false created_at=Sat Mar 15
   01:26:52 + 2008 description=ExpatEntrepreneur.tv, Designer 
   Developer -- TweetSaver.com, IncaRentals.com, clkpic.com,
   launchDFW.com, FreshieApp.com, TweetAbout.com, Hire-Engineers.com
   favourites_count=39 follow_request_sent=nil followers_count=1813
   following=nil friends_count=1314 geo_enabled=true id=14150637
   lang=en listed_count=130 location=Lima, Perú name=Bradley Joyce
   notifications=nil profile_background_color=cc
   profile_background_image_url=http://a1.twimg.com/
   profile_background_images/98444516/blj_twitter.png
   profile_background_tile=true profile_image_url=http://a3.twimg.com/
   profile_images/421303551/bradley_normal.png
   profile_link_color=a15f3b profile_sidebar_border_color=FF
   profile_sidebar_fill_color=cc profile_text_color=507e94
   profile_use_background_image=true protected=false
   screen_name=bradleyjoyce show_all_inline_media=false
   statuses_count=3248 time_zone=Central Time (US  Canada) url=http://
   bradleyjoyce.me utc_offset=-21600 verified=false

   --
   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] Oauth issue on iPhone Development - Multiple Users posting to Single Account with No UI

2010-10-15 Thread Taylor Singletary
There's some background on this approach here: http://bit.ly/1token

On dev.twitter.com we provide a feature that lets you easily get your own
access token as the owner of the application. You then utilize that token
whenever it makes sense to.

We don't have an explicit Objective-C example of this implementation, but I
reckon it would be very easy with one of the Objective-C libraries out
there.

Taylor

On Fri, Oct 15, 2010 at 6:24 AM, Anthony Thompson Shumate 
anthonyshum...@gmail.com wrote:

 Is there somewhere I can find documentation on this?

 Thanks again for the quick response.

 A


 On Oct 15, 2010, at 8:22 AM, Tom van der Woerdt wrote:

  You can simply include the access tokens in the application. You don't
  need anything else.
 
  Tom
 
 
  On 10/15/10 5:43 AM, Anthony wrote:
  I have be searching high and low to find out if Oauth will allow some
  form of embedding the log-in info for a single account from the
  iphone. I was using the basic authorization, and with the change it is
  no longer working. I have a series of clients who post to an account
  to discuss their process for each project. I do not want to give them
  the log-in information, but I want them to have posting ability.
 
  I would prefer to embed the log-in token and just give one of the two
  authentication to them- either username or password (or neither). With
  Oauth can I use other peoples accounts to post to one. main account?
 
  I have read on the boards that everyone is skirting the issue, a
  twitter does not address it. Oauth appears to be the antithesis of
  this concept. Any help would be greatly appreciated.
 
  Just to be clear- I have a view that has a status box with a post
  button. Users with the app do not need to login (but need the app) to
  post to the account.) Now when I implement the Oauth, a log-in screen
  appears and request a username and password. This would give the users
  access to edit the account and to post. I don't want them to be able
  to edit the account, but to just post to it.
 
  Thank you.
 
  A
 
 
  --
  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] Re: My Tweets, Retweeted

2010-10-15 Thread Taylor Singletary
I think this is what you're looking for -- it's not documented on the portal
yet and came as part of the #newtwitter upgrades:

GET /1/statuses/retweeted_by_user.{format}
Does not require authentication, unless the user is protected.
Returns the 20 most recent retweets posted by the specified user. The
user is specified using the user_id or screen_name parameters. This
method is identical to statuses/retweeted_by_me except you can choose
the user to view.

Example: twurl /1/statuses/retweeted_by_user.json?screen_name=twitterapi

Taylor

On Fri, Oct 15, 2010 at 7:13 AM, Toby 2bia...@gmail.com wrote:

 Wow, just what I was looking for! :)

 Do any of you know, if it's possible to fetch retweets of a user
 without authorizing as him? Or are they so 'secret' that only the
 retweeted user should see them? :)

 - 2biazdk

 On 15 Okt., 05:31, polomasta poloma...@gmail.com wrote:
  ah thanks! that should do the trick :-)
 
  On Oct 14, 5:03 pm, Taylor Singletary taylorsinglet...@twitter.com
  wrote:
 
 
 
   Take a look athttp://dev.twitter.com/doc/get/statuses/:id/retweeted_by
 
   Taylor
 
   On Thu, Oct 14, 2010 at 2:21 PM, polomasta poloma...@gmail.com
wrote:
In my application I would like to show My Tweets, Retweeted with
the
rest of the Mentions for a user. (similar to the way they show up in
your mentions column in tweetdeck)
 
So far I haven't been able to figure out how to do this.. these
tweets
don't show up via user/mentions.
 
I'm able to retrieve user/retweets_of_me but in the JSON response
there is no way to tell who in fact did the retweeting.
 
Can anyone give me a suggestion as to how to solve/implement this?
 
(It's a rails app and I'm using the twitter gem)
 
Here is an example of the response I get when calling user/
retweets_of_me ... I know for a fact his particular tweet has been
retweeted twice by others
 
= #Hashie::Mash contributors=nil coordinates=nil created_at=Thu
Oct
14 18:35:07 + 2010 favorited=false geo=nil id=27366026129
in_reply_to_screen_name=nil in_reply_to_status_id=nil
in_reply_to_user_id=nil place=nil retweet_count=0 retweeted=false
source=a href=\http://twitter.com/tweetbutton\; rel=\nofollow
\Tweet Button/a text=Startup Profile: Mobestream Media |
 launchDFWhttp://t.co/3bewuhq...@launchdfw; truncated=false
user=#Hashie::Mash contributors_enabled=false created_at=Sat Mar
15
01:26:52 + 2008 description=ExpatEntrepreneur.tv, Designer 
Developer -- TweetSaver.com, IncaRentals.com, clkpic.com,
launchDFW.com, FreshieApp.com, TweetAbout.com, Hire-Engineers.com
favourites_count=39 follow_request_sent=nil followers_count=1813
following=nil friends_count=1314 geo_enabled=true id=14150637
lang=en listed_count=130 location=Lima, Perú name=Bradley
Joyce
notifications=nil profile_background_color=cc
profile_background_image_url=http://a1.twimg.com/
profile_background_images/98444516/blj_twitter.png
profile_background_tile=true profile_image_url=http://a3.twimg.com/
profile_images/421303551/bradley_normal.png
profile_link_color=a15f3b profile_sidebar_border_color=FF
profile_sidebar_fill_color=cc profile_text_color=507e94
profile_use_background_image=true protected=false
screen_name=bradleyjoyce show_all_inline_media=false
statuses_count=3248 time_zone=Central Time (US  Canada)
url=http://
bradleyjoyce.me utc_offset=-21600 verified=false
 
--
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] Whom to call for statuses/links ?

2010-10-15 Thread Taylor Singletary
This is the best way to request that access: http://bit.ly/firehosesurvey

Thanks,
Taylor

On Thu, Oct 14, 2010 at 3:55 PM, localhost ahm...@gmail.com wrote:

 Dears,

 I want to have access for the API statuses/links in Twitter
 Streaming, do you know which email I should contact and what
 requirement they need ?


 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 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: My Tweets, Retweeted

2010-10-15 Thread Toby
Hi Taylor.

Thanks for the reply!

However I'm looking for at retweets_of_user, instead of a
retweeted_by_user - if that makes sense.

I would like to fetch the retweeted tweets of a given user, not what
he has retweeted from others. :)

- 2biazdk

On 15 Okt., 16:23, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 I think this is what you're looking for -- it's not documented on the portal
 yet and came as part of the #newtwitter upgrades:

 GET /1/statuses/retweeted_by_user.{format}
 Does not require authentication, unless the user is protected.
 Returns the 20 most recent retweets posted by the specified user. The
 user is specified using the user_id or screen_name parameters. This
 method is identical to statuses/retweeted_by_me except you can choose
 the user to view.

 Example: twurl /1/statuses/retweeted_by_user.json?screen_name=twitterapi

 Taylor





 On Fri, Oct 15, 2010 at 7:13 AM, Toby 2bia...@gmail.com wrote:

  Wow, just what I was looking for! :)

  Do any of you know, if it's possible to fetch retweets of a user
  without authorizing as him? Or are they so 'secret' that only the
  retweeted user should see them? :)

  - 2biazdk

  On 15 Okt., 05:31, polomasta poloma...@gmail.com wrote:
   ah thanks! that should do the trick :-)

   On Oct 14, 5:03 pm, Taylor Singletary taylorsinglet...@twitter.com
   wrote:

Take a look athttp://dev.twitter.com/doc/get/statuses/:id/retweeted_by

Taylor

On Thu, Oct 14, 2010 at 2:21 PM, polomasta poloma...@gmail.com
 wrote:
 In my application I would like to show My Tweets, Retweeted with
 the
 rest of the Mentions for a user. (similar to the way they show up in
 your mentions column in tweetdeck)

 So far I haven't been able to figure out how to do this.. these
 tweets
 don't show up via user/mentions.

 I'm able to retrieve user/retweets_of_me but in the JSON response
 there is no way to tell who in fact did the retweeting.

 Can anyone give me a suggestion as to how to solve/implement this?

 (It's a rails app and I'm using the twitter gem)

 Here is an example of the response I get when calling user/
 retweets_of_me ... I know for a fact his particular tweet has been
 retweeted twice by others

 = #Hashie::Mash contributors=nil coordinates=nil created_at=Thu
 Oct
 14 18:35:07 + 2010 favorited=false geo=nil id=27366026129
 in_reply_to_screen_name=nil in_reply_to_status_id=nil
 in_reply_to_user_id=nil place=nil retweet_count=0 retweeted=false
 source=a href=\http://twitter.com/tweetbutton\; rel=\nofollow
 \Tweet Button/a text=Startup Profile: Mobestream Media |
  launchDFWhttp://t.co/3bewuhq...@launchdfw; truncated=false
 user=#Hashie::Mash contributors_enabled=false created_at=Sat Mar
 15
 01:26:52 + 2008 description=ExpatEntrepreneur.tv, Designer 
 Developer -- TweetSaver.com, IncaRentals.com, clkpic.com,
 launchDFW.com, FreshieApp.com, TweetAbout.com, Hire-Engineers.com
 favourites_count=39 follow_request_sent=nil followers_count=1813
 following=nil friends_count=1314 geo_enabled=true id=14150637
 lang=en listed_count=130 location=Lima, Perú name=Bradley
 Joyce
 notifications=nil profile_background_color=cc
 profile_background_image_url=http://a1.twimg.com/
 profile_background_images/98444516/blj_twitter.png
 profile_background_tile=true profile_image_url=http://a3.twimg.com/
 profile_images/421303551/bradley_normal.png
 profile_link_color=a15f3b profile_sidebar_border_color=FF
 profile_sidebar_fill_color=cc profile_text_color=507e94
 profile_use_background_image=true protected=false
 screen_name=bradleyjoyce show_all_inline_media=false
 statuses_count=3248 time_zone=Central Time (US  Canada)
 url=http://
 bradleyjoyce.me utc_offset=-21600 verified=false

 --
 Twitter developer documentation and resources:

 http://dev.twitter.com/docAPI 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] Re: No of statuses extracted by statuses/filter

2010-10-15 Thread John Kalucki
The only way to get limited is to specify a too broad predicate and go
beyond the allowed proportion of tweets. If you specify too many keywords,
you aren't limited, your connection is rejected. This is all documented on
http://dev.twitter.com/pages/streaming_api, specifically:
http://dev.twitter.com/pages/streaming_api_concepts#parsing-responses

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




On Thu, Oct 14, 2010 at 12:29 PM, AA alejandro.ale...@gmail.com wrote:

 Thanks a lot!
 This is very helpful.

 John:

 You said:
 If you don't receive a limit message, you know that you've received
 all
 possible tweets for the predicate

 But:
 -The only way to get limited in status/filter is using more keywords
 or more users id than is allowed according to access level?
 Is there any other way?

 -The limit message contains some kind of sum info? (Additionnally,
 where can I find the data spec for this limit message and for data
 returned by status/filter in general?)

 Thanks in advance.
 Alejandro.



 On Oct 12, 7:17 pm, John Kalucki j...@twitter.com wrote:
  Sorry. Gmail fail / Groups fail.
 
 
 
  On Tue, Oct 12, 2010 at 3:17 PM, John Kalucki j...@twitter.com wrote:
   If you don't receive a limit message, you know that you've received all
   possible tweets for the predicate. If you do receive a limit message,
 you
   know the precise proportion of tweets received and dropped.
 
   -John Kalucki
  http://twitter.com/jkalucki
   Twitter Inc.
 
   On Tue, Oct 12, 2010 at 2:36 PM, AA alejandro.ale...@gmail.com
 wrote:
 
   Hi everybody!
   Thank you Edward.
 
   I copy paste part of your answer:
 
   [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.]
 
   -Can anyone confirm this?
   -I think, taking Edward's approach, I've still the same problem : even
   taking a very narrow criteria I can never know what's the total, so
   I can'´t know if all the tweets got by streaming are useful or not.
   I think I have to remark that I don't need to know an exact total of
   tweets in a given moment. What I'd like to know is an approximate
   percentage over some approximate total of tweets estimation. I dare to
   think it's part of the service providing specification.
 
   I do understand that it can be difficult to exactly define total of
   tweets when streaming and having tweets going into Twitter
   permanently but not constantly, but some estimated info would be
   great.
 
   Thank you all in advance.
   Alejandro.
 
   On Oct 11, 5:57 pm, M. Edward (Ed) Borasky zn...@borasky-
   research.net wrote:
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 readhttp://
   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) Boraskyhttp://borasky-research.nethttp://
   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:
  

Re: [twitter-dev] Re: My Tweets, Retweeted

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

Quoting Taylor Singletary taylorsinglet...@twitter.com:


I think this is what you're looking for -- it's not documented on the portal
yet and came as part of the #newtwitter upgrades:


Speaking of not documented yet - how much of the API documentation  
could be crowdsourced? It seems like there are developers here on  
the list continually discovering stuff. Or maybe there's an  
opportunity for some automation here? Data driven documentation?  
Ruby's good for that sort of thing, I hear. ;-)


Just thinking out loud ...

--
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: Stream API responds with 401 when multiple keywords are used

2010-10-15 Thread Corey Wallis
Hi Tom,

Would you have an example of some values before and after they are
encoded?

It would help me in looking for where the error is.

With thanks.

-Corey

On Oct 15, 11:20 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 I'd assume that there would be an error in your signature generation.
 Make sure that you properly url-encode all values before putting them in
 your base string. Make sure to encode only the correct ones.

 If you've checked this and it still does not work, please show us the
 Base String which you use to generate the signature.

 Tom

 On 10/15/10 3:40 AM, Corey Wallis wrote:



  Hi All,

  I have working code that uses OAuth to connect to the Stream API and
  filter using keywords. When I supply a single keyword the API works as
  expected and tweets are returned. What is odd is that when I specify
  multiple keywords, or keywords that include a # symbol I get a 401
  UNAUTHORIZED error.

  Has anyone seen this before and come up with a successful resolution?

  I've captured the HTTP headers of both a successful and unsuccessful
  call and I can't see anything that is different other than the list of
  tracks contains multiple entries. Samples of the headers is below.

  This works:

  POST /1/statuses/filter.json HTTP/1.1
  Authorization: OAuth oauth_token=###, oauth_consumer_key=###,
  oauth_version=1.0, oauth_signature_method=HMAC-SHA1,
  oauth_timestamp=1287106462, oauth_nonce=-1686656262164231601,
  oauth_signature=###
  Content-Length: 13
  Content-Type: application/x-www-form-urlencoded
  Host: stream.twitter.com
  Connection: Keep-Alive
  User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
  Expect: 100-Continue

  HTTP/1.1 100 Continue

  track=twitter

  This does not:

  POST /1/statuses/filter.json HTTP/1.1
  Authorization: OAuth oauth_token=###, oauth_consumer_key=###,
  oauth_version=1.0, oauth_signature_method=HMAC-SHA1,
  oauth_timestamp=1287105193, oauth_nonce=-3374947181315671264,
  oauth_signature=###
  Content-Length: 20
  Content-Type: application/x-www-form-urlencoded
  Host: stream.twitter.com
  Connection: Keep-Alive
  User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
  Expect: 100-Continue

  HTTP/1.1 100 Continue

  track=twitter,lolcat

  Any thoughts would be gratefully received.

  With thanks.

  -Corey

-- 
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: Stream API responds with 401 when multiple keywords are used

2010-10-15 Thread Corey Wallis
Hi John,

Is there any documentation on the way values should be encoded?

With thanks.

-Corey


On Oct 15, 11:20 pm, John Kalucki j...@twitter.com wrote:
 There's at least one OAuth library out there that doesn't encode the comma
 correctly. Search back in this group for details.

 -John Kaluckihttp://twitter.com/jkalucki
 Twitter Inc.

 On Thu, Oct 14, 2010 at 6:40 PM, Corey Wallis
 corey.wal...@flinders.edu.auwrote:



  Hi All,

  I have working code that uses OAuth to connect to the Stream API and
  filter using keywords. When I supply a single keyword the API works as
  expected and tweets are returned. What is odd is that when I specify
  multiple keywords, or keywords that include a # symbol I get a 401
  UNAUTHORIZED error.

  Has anyone seen this before and come up with a successful resolution?

  I've captured the HTTP headers of both a successful and unsuccessful
  call and I can't see anything that is different other than the list of
  tracks contains multiple entries. Samples of the headers is below.

  This works:

  POST /1/statuses/filter.json HTTP/1.1
  Authorization: OAuth oauth_token=###, oauth_consumer_key=###,
  oauth_version=1.0, oauth_signature_method=HMAC-SHA1,
  oauth_timestamp=1287106462, oauth_nonce=-1686656262164231601,
  oauth_signature=###
  Content-Length: 13
  Content-Type: application/x-www-form-urlencoded
  Host: stream.twitter.com
  Connection: Keep-Alive
  User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
  Expect: 100-Continue

  HTTP/1.1 100 Continue

  track=twitter

  This does not:

  POST /1/statuses/filter.json HTTP/1.1
  Authorization: OAuth oauth_token=###, oauth_consumer_key=###,
  oauth_version=1.0, oauth_signature_method=HMAC-SHA1,
  oauth_timestamp=1287105193, oauth_nonce=-3374947181315671264,
  oauth_signature=###
  Content-Length: 20
  Content-Type: application/x-www-form-urlencoded
  Host: stream.twitter.com
  Connection: Keep-Alive
  User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
  Expect: 100-Continue

  HTTP/1.1 100 Continue

  track=twitter,lolcat

  Any thoughts would be gratefully received.

  With thanks.

  -Corey

  --
  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: Stream API responds with 401 when multiple keywords are used

2010-10-15 Thread Tom van der Woerdt
If I am not mistaken, 'value1,value2' URLencodes to 'value1%2Cvalue2'

Tom


On 10/16/10 1:25 AM, Corey Wallis wrote:
 Hi Tom,
 
 Would you have an example of some values before and after they are
 encoded?
 
 It would help me in looking for where the error is.
 
 With thanks.
 
 -Corey
 
 On Oct 15, 11:20 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 I'd assume that there would be an error in your signature generation.
 Make sure that you properly url-encode all values before putting them in
 your base string. Make sure to encode only the correct ones.

 If you've checked this and it still does not work, please show us the
 Base String which you use to generate the signature.

 Tom

 On 10/15/10 3:40 AM, Corey Wallis wrote:



 Hi All,

 I have working code that uses OAuth to connect to the Stream API and
 filter using keywords. When I supply a single keyword the API works as
 expected and tweets are returned. What is odd is that when I specify
 multiple keywords, or keywords that include a # symbol I get a 401
 UNAUTHORIZED error.

 Has anyone seen this before and come up with a successful resolution?

 I've captured the HTTP headers of both a successful and unsuccessful
 call and I can't see anything that is different other than the list of
 tracks contains multiple entries. Samples of the headers is below.

 This works:

 POST /1/statuses/filter.json HTTP/1.1
 Authorization: OAuth oauth_token=###, oauth_consumer_key=###,
 oauth_version=1.0, oauth_signature_method=HMAC-SHA1,
 oauth_timestamp=1287106462, oauth_nonce=-1686656262164231601,
 oauth_signature=###
 Content-Length: 13
 Content-Type: application/x-www-form-urlencoded
 Host: stream.twitter.com
 Connection: Keep-Alive
 User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
 Expect: 100-Continue

 HTTP/1.1 100 Continue

 track=twitter

 This does not:

 POST /1/statuses/filter.json HTTP/1.1
 Authorization: OAuth oauth_token=###, oauth_consumer_key=###,
 oauth_version=1.0, oauth_signature_method=HMAC-SHA1,
 oauth_timestamp=1287105193, oauth_nonce=-3374947181315671264,
 oauth_signature=###
 Content-Length: 20
 Content-Type: application/x-www-form-urlencoded
 Host: stream.twitter.com
 Connection: Keep-Alive
 User-Agent: Apache-HttpClient/4.0.1 (java 1.5)
 Expect: 100-Continue

 HTTP/1.1 100 Continue

 track=twitter,lolcat

 Any thoughts would be gratefully received.

 With thanks.

 -Corey
 

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