Re: [twitter-dev] Re: oAuth and applications that run in the background

2010-09-09 Thread Abraham Williams
You can use a consumer pair in multiple scripts. If they are posting tweets keep in mind that it won't make sense to have Bob's Apple Stand posting tweets for Pete's Orange Cart. Abraham - Abraham Williams | Hacker Advocate | http://abrah.am @abraham | http://projects.abrah.am |

Fwd: [twitter-dev] Twitter share button fails to parse url with +

2010-09-09 Thread Eugene Poponin
-- Forwarded message -- From: Eugene Poponin mail.black...@gmail.com Date: 2010/9/6 Subject: [twitter-dev] Twitter share button fails to parse url with + To: Twitter Development Talk twitter-development-talk@googlegroups.com For example the button wont work on page like this

[twitter-dev] Re: help with accessing the streaming api

2010-09-09 Thread omri
hi, now it returns the 401 error. It seems like I don't know what is the username and password i should insert. is this ths oauth token? what is the title of this fields? API key, Consumer key, Consumer secret? thanks On 7 ספטמבר, 17:16, John Kalucki j...@twitter.com wrote: The Streaming API

[twitter-dev] Twitter API intermittent Connection reset by peer

2010-09-09 Thread James Peter
I'm getting some very strange intermittent errors when connecting to the API. It's completely take down our app. It looks like connections are getting reset intermittently. See a transcript below - the first attempt it works fine, then second two the connection resets. Sometimes it just hangs for

Re: [twitter-dev] Re: help with accessing the streaming api

2010-09-09 Thread John Kalucki
What text message does it return with the 401 error? You can still use basic auth with streaming. Does that work for you? You should use your screenname and password for basic auth. -John Kalucki http://twitter.com/jkalucki Twitter, Inc. On Thu, Sep 9, 2010 at 2:48 AM, omri

[twitter-dev] how to apply Birddog role

2010-09-09 Thread takahiro shoji
Hi, twitter staff. Our company is making real-time module which is based on tweet data. I have applied garden-hose role but I could not find the entrance to ally birddog. If I apply for gardenhose, does birddog role permission include on my account? please, confirm it. Thank you. Shoji --

[twitter-dev] Twitter oAuth file not return token

2010-09-09 Thread Choonu
Hello sir i am authenticate to twitter with my website .first this file was hosted at my old server and better running and return token id but i have shifted to my new server these file now it is not returning token id ,I dont know what is difference in my php.ini and which is disabled .Please

[twitter-dev] since_date or max_date or until or since for user_timeline

2010-09-09 Thread Grant
Searching through the group, there have been a few requests for this functionality, with the only 'official' reply coming from al3x in a thread back in 2007 that he'd certainly hope to have it in by the end of the year. Would it be possible to get someone from the team to say yes, we really want

[twitter-dev] Re: Simple status update

2010-09-09 Thread Gerard M
Any Perl equivalent for three lines ? I can convert to PHP if needed, but it is a bit of a hassle... G. On Sep 3, 11:42 pm, Abraham Williams 4bra...@gmail.com wrote: On Fri, Sep 3, 2010 at 18:29, Gerard M g...@rivershark.com wrote: I can (well, used to) update using three lines: Here are

Re: [twitter-dev] how to apply Birddog role

2010-09-09 Thread John Kalucki
Without more details about your product, it's hard to direct you to the right Twitter product. Please detail your organization and use case to an email to a...@twitter.com. Note that we aren't granting many whitelist requests at this point, so you may have to wait for a response. -John Kalucki

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

2010-09-09 Thread Tom van der Woerdt
Those are not the correct endpoints. You should use https://api.twitter.com/oauth/authorize etc Tom On 9/9/10 7:34 AM, James Peter wrote: I'm getting some very strange intermittent errors when connecting to the API. It's completely take down our app. It looks like connections are getting

[twitter-dev] from:me in search

2010-09-09 Thread Mark Krieger
If I search for me by doing 'from:markskrieger' in either twitter directly, or from a twitter saved search of from:markskrieger, or from the equivalent in the api, I do not get recent results. In fact, I am not sure I am getting all results at all, it seems I am getting one or two tweets, others

[twitter-dev] Re: help with accessing the streaming api

2010-09-09 Thread omri
this is the message i get : File quot;C:\Python26\lib\urllib2.pyquot;, line 516, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 401: Unauthorized i think i dont know which username and password to type in the header - 'Authorization'

Re: [twitter-dev] Re: help with accessing the streaming api

2010-09-09 Thread Taylor Singletary
Hi Omri, With basic auth, you don't use your consumer key or secret at all. Consumer key and secret are used when authorizing through OAuth, and the implementation is a bit more detailed than putting them in a header. In your case, you want to use basic authorization, which should be easier for

[twitter-dev] Re: List Widget code upgraded yet?

2010-09-09 Thread Mike
Hi Matt, this is the code. script src=http://widgets.twimg.com/j/2/widget.js;/script script new TWTR.Widget({ version: 2, type: 'list', rpp: 16,

Re: [twitter-dev] from:me in search

2010-09-09 Thread Taylor Singletary
All tweets don't appear in search, unfortunately. This article explains a bit about it: http://support.twitter.com/articles/66018-my-tweets-or-hashtags-are-missing-from-search Taylor On Thu, Sep 9, 2010 at 6:42 AM, Mark Krieger markskrie...@gmail.com wrote: If I search for me by doing

[twitter-dev] Re: OAuth 2.0 status?

2010-09-09 Thread mukgup
I also have the same question. What is the status for OAuth 2.0 in twitter. What I can see in the documentation is oAuth protocol only not oAuth 2.0 I am missing some thing here. Thanks in advance for your replies. Mukgup On Jul 30, 7:00 am, mcm michele.comit...@gmail.com wrote: Hello all,

[twitter-dev] Friends and Followers Resources for Protected Accounts

2010-09-09 Thread Vega
Going through the website. I was able to jump from a list to a users page. Even though the user is protected I can see their followers and who they are following. If I use the api against that user to get the users follower ids I get: The remote server returned an error: (401) Unauthorized. Here

[twitter-dev] Latitudes and Longitudes in the Location Field

2010-09-09 Thread brentos
Hi Folks, Does anyone know from where these come? I'm speaking of the lat/lons in the actual Location field of the user, not the new per-tweet location stuff. It appears to be fixed for the vast majority of users to a single latitude and longitude. Do certain clients insert this once and then

[twitter-dev] Re: User_Timeline - include_rts not working

2010-09-09 Thread timrnicholson
I'm properly calling api.twitter.com/1/statuses/user_timeline with include_rts as true and retweets are not being included. The only stream that I can get to return retweets (because it doesn't even require the include_rts parameter) is the home_timeline. For example, the following doesn't work:

Re: [twitter-dev] Latitudes and Longitudes in the Location Field

2010-09-09 Thread Taylor Singletary
These are generally saved once by mobile-based Twitter clients, as you've surmised! Taylor On Thu, Sep 9, 2010 at 7:17 AM, brentos brent.he...@gmail.com wrote: Hi Folks, Does anyone know from where these come? I'm speaking of the lat/lons in the actual Location field of the user, not the

[twitter-dev] Re: help with accessing the streaming api

2010-09-09 Thread omri
so.. succeded with the username and password but now i have : HTTPError: HTTP Error 403: Forbidden I need something special to have access to the streaming resources? On 9 ספטמבר, 17:03, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Omri, With basic auth, you don't use your

Re: [twitter-dev] Re: help with accessing the streaming api

2010-09-09 Thread Taylor Singletary
Hi Omri, The Streaming API has various levels of access. The most basic doesn't require any kind of permission, and that's utilizing the sampling resource, documentation for which can be found here: http://dev.twitter.com/pages/streaming_api_methods#statuses-sample and

Re: [twitter-dev] Re: help with accessing the streaming api

2010-09-09 Thread John Kalucki
Which URL are you requesting? What is the text message returned? Does this doc help? http://dev.twitter.com/pages/streaming_api_response_codes -John On Thu, Sep 9, 2010 at 7:45 AM, omri omridek...@gmail.com wrote: so.. succeded with the username and password but now i have : HTTPError: HTTP

Re: [twitter-dev] Re: User_Timeline - include_rts not working

2010-09-09 Thread Matt Harris
Hey Tim, When I run: curl http://api.twitter.com/1/statuses/user_timeline/RWW.xml?count=20page=1include_rts=true; I get the expected result of 20 statuses one retweet (from @ConanOBrien). When you make the request are you running it like I am or are you using a library? To answer your

Re: [twitter-dev] Re: OAuth 2.0 status?

2010-09-09 Thread Matt Harris
Hey Mukgup, OAuth 2 isn't supported on the API at the moment which is why there is no documentation for it. Our Javascript API uses something similar but this is handled by it's internal code and may change at anytime. If OAuth 2 support is developed on the APIs we will announce it to the

Re: [twitter-dev] Twitter oAuth file not return token

2010-09-09 Thread Taylor Singletary
Are you saying that on your old server you were able to negotiate for a request token on the api.twitter.com/oauth/request_token step but now on your new server you cannot? I would check the server time on your new server, to determine if it is in sync with an NTP time server, or otherwise adjust

Re: [twitter-dev] since_date or max_date or until or since for user_timeline

2010-09-09 Thread Taylor Singletary
Hi Grant, Paging is still the best way to accomplish this, as we've yet to implement any date-or-time-specific filtering options to any REST timeline methods. Thanks, Taylor On Thu, Sep 9, 2010 at 2:40 AM, Grant gfguth...@gmail.com wrote: Searching through the group, there have been a few

[twitter-dev] Error when accessing some of the methods from Twitter4j

2010-09-09 Thread Ennio
I keep getting this error when I access some of the methods. 401:Authentication credentials were missing or incorrect. {request:/ 1/account/verify_credentials.json,error:Invalid / expired Token} null If I call the test() method I get the result YES, but when I try verifyCredentials() I get this

[twitter-dev] how to get the followers of a given user?

2010-09-09 Thread Victor Fang
i'm working on a research project and wanna build the twitter follower graph. Please help! Thanks! :) -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker:

[twitter-dev] search api - since date format

2010-09-09 Thread arian
hi guys, I have a question about search api about 'until' parameter to be more exactly according to documentation until is Optional. Returns tweets generated before the given date. Date should be formatted as -MM- DD. example: http://search.twitter.com/search.json?until=2010-03-28; I need to

Re: [twitter-dev] search api - since date format

2010-09-09 Thread Taylor Singletary
Hi Arian, A date string really is the only valid format for this function. If you want to cut the search off by certain times of day, you're best off post-processing your results for that kind of resolution. Thanks, Taylor On Thu, Sep 9, 2010 at 8:15 AM, arian arianpasqu...@gmail.com wrote:

Re: [twitter-dev] how to get the followers of a given user?

2010-09-09 Thread Taylor Singletary
In addition to the more basic instructions on accessing the REST API and authorization you'll find on http://dev.twitter.com (be sure and register an application if you haven't already), you'll specifically want to read these documents on followings: http://dev.twitter.com/doc/get/followers/ids

Re: [twitter-dev] When did user x follow me?

2010-09-09 Thread Matt Harris
Hi Dan, We don't have the information about when someone started following you available on the API. We do allow you to opt-in to new follower notification emails though, so you could receive those going forward to keep a record of when different users followed you. What does happen is the

[twitter-dev] Get All Followers Using twitteroauth

2010-09-09 Thread Paulo Fernandes
Hi I'm beggining in this API and in this group. I downloaded 0.2.0-beta3 from http://github.com/abraham/twitteroauth I tryed to get all followers, but only retrieved 100 followers. How can I get all followers? I saw something about cursor, but I don't know how can I use it. Please some help

[twitter-dev] Re: Latitudes and Longitudes in the Location Field

2010-09-09 Thread brentos
Hi Taylor, Thanks for the quick answer! Do you happen to know any further detail? In particular, we're curious which clients do this and what their exact process is. Do they ask the user to use their location? Why don't they continually update it? Thanks very much! - Brent On Sep 9, 9:34 

Re: [twitter-dev] Re: Simple status update

2010-09-09 Thread Marc Mims
* Gerard M g...@rivershark.com [100909 05:47]: Any Perl equivalent for three lines ? I can convert to PHP if needed, but it is a bit of a hassle... Yes. See the example code here: http://github.com/semifor/Net-Twitter/wiki/Net::Twitter-and-the-death-of-Basic-Authentication -Marc --

[twitter-dev] Re: search api - since date format

2010-09-09 Thread arian
here is my problem I need to catch some tweets since yesterday 20pm until this morning 8am. the problem is that there is more than 1500 tweets that I need, and according to search api docs, I can get a max of roughly 1500 tweets per search query. [...] rpp The number of tweets to return per

Re: [twitter-dev] Re: search api - since date format

2010-09-09 Thread Taylor Singletary
This sort of scenario is better served with advance preparation, rather than relying on the Search API to excavate the tweets after the fact, it would be more advantageous to utilize the Streaming API, tracking and storing all relevant tweets during your period of interest. Is this a one-off task

Re: [twitter-dev] Get All Followers Using twitteroauth

2010-09-09 Thread Abraham Williams
$connection = new TwitterOAuth('consumer_key', 'consumer_secret', 'access_token', 'access_token_secret'); $result100 = $connection-get('statuses/followers', array('cursor' = -1)); $result200 = $connection-get('statuses/followers', array('cursor' = $result100-next_cursor)); You will be best off

Re: [twitter-dev] Re: OAuth 2.0 status?

2010-09-09 Thread Abraham Williams
Here is the breakdown of what @anywhere does for authentication: http://blog.abrah.am/2010/09/hacking-twitter-anywheres.html Abraham - Abraham Williams | Hacker Advocate | http://abrah.am @abraham | http://projects.abrah.am | http://blog.abrah.am This email is: [ ] shareable [x] ask

Re: [twitter-dev] Status format stream API vs. REST API

2010-09-09 Thread yaemog Dodigo
You can obtain entities from most API methods that return tweets by appending an ?include_entities=true parameter to the request. Eventually, entities should be part of the default response. You can read more about entities here: http://dev.twitter.com/pages/tweet_entities Methods that

Re: [twitter-dev] Status format stream API vs. REST API

2010-09-09 Thread Taylor Singletary
Entities will be back soon -- temporary glitch. Thanks, Taylor On Thu, Sep 9, 2010 at 10:07 AM, yaemog Dodigo yae...@gmail.com wrote: You can obtain entities from most API methods that return tweets by appending an ?include_entities=true parameter to the request. Eventually, entities should

[twitter-dev] Problems with 2-legged access to Twitter using OAuth gem (ruby)

2010-09-09 Thread EranD
Hi, I'm trying to get a server app to tweet messages to one specific account I own. I'm following Twitter's instructions on Twitter's wiki: http://developer.twitter.com/pages/oauth_single_token#ruby I can read information from twitter (e.g. get last 20 tweets), but when I try to update my status

[twitter-dev] List of all users who tweeted in the last 30 seconds

2010-09-09 Thread Jim Goodling
I'm trying to get a list of all the users who tweeted in the last 30 seconds. Currently I'm using the seach api with since= today and result_type=recent subsetting on result on my server and then calling the users api. Is there any way I can specify a datetime on the since=? Is there a better way

Re: [twitter-dev] Problems with 2-legged access to Twitter using OAuth gem (ruby)

2010-09-09 Thread Taylor Singletary
Hi Eran, First, just a clarification of terms: this isn't technically 2-legged OAuth, this is still three-legged. The code you've pasted here has a mis-spelled key name for :oauth_token (you've provided oath_token -- is this true of the code you are executing as well? I haven't personally

Re: [twitter-dev] Latitudes and Longitudes in the Location Field

2010-09-09 Thread M. Edward (Ed) Borasky
I'm not sure what Twitter's mobile client does on the Android - I've stopped using it. But Seesmic appears to do a GPS call each time I post a tweet. I haven't cycled through all three of the location options available with Froyo, but I do see the little GPS icon flash every time I post a

Re: [twitter-dev] Re: Latitudes and Longitudes in the Location Field

2010-09-09 Thread M. Edward (Ed) Borasky
-- 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 brentos brent.he...@gmail.com: Hi Taylor, Thanks for the quick answer! Do you happen to know any further detail? In particular,

[twitter-dev] Re: Problems with 2-legged access to Twitter using OAuth gem (ruby)

2010-09-09 Thread EranD
Hi Taylor, Thanks for the quick response. I stand corrected on the three-legged authentication. Skipping a few steps doesn't make it 2 :) You're right about the typo - the code I was using was incorrect. Having fixed it, however, didn't seem to help. Here's the response I'm getting (after the

Re: [twitter-dev] Digest for twitter-development-talk@googlegroups.com - 25 Messages in 13 Topics

2010-09-09 Thread Mark Krieger
Taylor, thanks. I will implement seeing from:me by getting the timeline once an hour and looking for my own tweets. Mark On Thu, Sep 9, 2010 at 11:41 AM, twitter-development-talk+nore...@googlegroups.comtwitter-development-talk%2bnore...@googlegroups.com wrote: Today's Topic Summary

Re: [twitter-dev] Re: Problems with 2-legged access to Twitter using OAuth gem (ruby)

2010-09-09 Thread Tom van der Woerdt
Invalid/Expired token says it all.. Tom On 9/9/10 11:00 PM, EranD wrote: Thanks for the help. Unfortunately I've already tried all of those :( res = access_token.post(/1/statuses/update.xml, {status = Hello tweet}) response is the same: HTTP/1.1 401 Unauthorized\r\n - Date: Thu, 09

[twitter-dev] Re: User_Timeline - include_rts not working

2010-09-09 Thread Mike Francisco
timrnicholson wrote: I'm properly calling api.twitter.com/1/statuses/user_timeline with include_rts as true and retweets are not being included. The only stream that I can get to return retweets (because it doesn't even require the include_rts parameter) is the home_timeline. For example,

[twitter-dev] Re: Problems with 2-legged access to Twitter using OAuth gem (ruby)

2010-09-09 Thread EranD
Very strange. The token and access keys were all created yesterday by twitter. Swithcing to gem 0.3.6 didn't help either. On Sep 9, 5:08 pm, Tom van der Woerdt i...@tvdw.eu wrote: Invalid/Expired token says it all.. Tom On 9/9/10 11:00 PM, EranD wrote: Thanks for the help.

[twitter-dev] Re: Problems with 2-legged access to Twitter using OAuth gem (ruby)

2010-09-09 Thread EranD
Very strange. The tokens and keys were generated by Twitter yesterday and still seem to be valid in the app interface. Switching to gem v0.3.6 did not help. On Sep 9, 5:08 pm, Tom van der Woerdt i...@tvdw.eu wrote: Invalid/Expired token says it all.. Tom On 9/9/10 11:00 PM, EranD wrote:

[twitter-dev] Tweet button SSL

2010-09-09 Thread Jordan McKible
As far as I can tell, the Tweet button javascript does not work on https pages without warnings. Chrome in particular gives one of those big red page warnings involving an Akamai domain. Is there a way to use the tweet button on https pages, or is that unsupported? -- Twitter developer

[twitter-dev] Using API to accept a follow request, but it does not clear pending request when tweets are protected.

2010-09-09 Thread DaveH
Here is my problem. 1. My Twitter account is set to Protect My Tweets. It is private. 2. User 1234 send a follow request to my account. 3. My application authenticates with Twitter and using the friendships/ incoming call sees that a request to follow is pending. 4. My application sends a

Re: [twitter-dev] Tweet button SSL

2010-09-09 Thread John Adams
At the moment SSL tweet buttons are unsupported. -j On Thu, Sep 9, 2010 at 3:23 PM, Jordan McKible jmcki...@gmail.com wrote: As far as I can tell, the Tweet button javascript does not work on https pages without warnings. Chrome in particular gives one of those big red page warnings

[twitter-dev] Errors in entities reported from Twitter.

2010-09-09 Thread Andrew W. Donoho
Gentlefolk, Twitter is currently sending the wrong JSON data for entities. Two examples are below. Anon, Andrew Andrew W. Donoho Donoho Design Group, L.L.C. a...@ddg.com, +1 (512) 750-7596 We did not come to fear the future. We came here to

[twitter-dev] Re: how to get the followers of a given user?

2010-09-09 Thread Victor Fang
Hi, Taylor, thanks for your reply. I've tried out some of them but no luck I followed the instructions in this webpate: http://dev.twitter.com/doc/get/users/lookup and tried this url in my firefox, http://api.twitter.com/1/users/lookup.json?user_id=783214,6253282 but firefox said: Firefox can't

[twitter-dev] Re: Using API to accept a follow request, but it does not clear pending request when tweets are protected.

2010-09-09 Thread nischalshetty
Sending a friendships/create to follow user doesn't mean you would be accepting follow requests. As far as I can tell there's no way you can accept follow requests through the API, yet! It's on low priority for the twitter team so the chances of accepting/ rejecting follows through the API seem

[twitter-dev] Displaying Friends Tweets Requires a log in each time

2010-09-09 Thread contact.edmur...@gmail.com
Hi there- With the outdated Basic Authentication method, I was able to display my freinds tweets on my web page without a problem. Now with oAuth, unless already logged in, I have to click the login button with Twitter each time to display that content. Multiple that for each person that visits

Re: [twitter-dev] Twitter Send Message API

2010-09-09 Thread Rajesh .
i got followers from getfollwers method. after that only i used direct msg to my follower, then getting that xml error..that below error Rajesh www.4tech.info On Wed, Sep 8, 2010 at 7:30 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Rajesh, Does this occur on all direct

[twitter-dev] j2me twitter

2010-09-09 Thread j2me
Hello everyone. I wanted to build a twitter application for mobile phone. But as other, I got stuck in oAuth authentication of twitter. I read a lot in this development talks but I could not managed to do one. I registered for twitter application and I got Consumer key and Consumer secret. Can

Re: [twitter-dev] Tweet button SSL

2010-09-09 Thread Matt Harris
Whilst the Javascript version of the Tweet Button is not support over SSL you can use the 'build-your-own Tweet Button' technique instead. In this situation you still create a 'Tweet' link pointing to http://twitter.com/share with all parameters in the query string. For example:

Re: [twitter-dev] Problems with parameter since_id

2010-09-09 Thread Matt Harris
Hey Alexandre, We recommended that oauth parameters are placed in an Authorization header instead of the query string. It makes URLs a lot tidier and easier to debug. Looking at your symptoms it suggests the order of your parameters is different when generating the signature compared to the