[twitter-dev] How can I tell if Tweet button is clicked?

2011-06-06 Thread MarkB123
Hi Is there a way to tell if the Tweet button on my webpage was clicked? If it was clicked I want to immediately enable Button2 (asp.net Button) on the same page so users can then click Button2. If the Tweet button wasn't clicked I want Button2 to remain disabled. TIA Mark -- Twitter

[twitter-dev] Debugging 401 unauthorized errors

2011-06-06 Thread Andy Hume
Hi, I'm getting some 401 unauthorized responses for reasons I can't figure out. On my local machine everything works fine. On my staging and production machines I get 401 errors for requests to account/ verify_credentials. All other requests work fine, such as statuses/ friends. The staging and

[twitter-dev] Re: Consumer Key and Secret Bug

2011-06-06 Thread iDeviceDesigns
On Jun 5, 1:22 pm, Tom van der Woerdt i...@tvdw.eu wrote: Well, using more than 350 requests per hour most certainly gets you a permanent block... Tom On 6/5/11 7:53 PM, iDeviceDesigns wrote: Would you mind clearing that up a little? 350 request per hour? I have been reading about

Re: [twitter-dev] How can I tell if Tweet button is clicked?

2011-06-06 Thread Arnaud Meunier
Hey there, You can use our new Web Intents JavaScript Events. Take a look on the click event on https://dev.twitter.com/pages/intents-events hope that helps, Arnaud / @rno http://twitter.com/rno On Sun, Jun 5, 2011 at 9:53 PM, MarkB123 inbox.mirror.orbis...@gmail.comwrote: Hi Is there a

Re: [twitter-dev] Re: Checking whether a user has given permission to Private Messages

2011-06-06 Thread Yusuke Yamamoto
Hi, The doc says, “read-write-directmessages” (Read, Write, Direct Message) But actually I get read-write-privatemessages as you mentioned. It's a doc bug, right? Best, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on :

Re: [twitter-dev] Re: Consumer Key and Secret Bug

2011-06-06 Thread Tom van der Woerdt
API requests. Loading a page from https://api.twitter.com/1/ counts as 1 request. Of course, it goes per user per application, so the number of users isn't really relevant for iPhone applications. http://dev.twitter.com/pages/rate-limiting Tom On 6/5/11 10:39 PM, iDeviceDesigns wrote: On

[twitter-dev] Streaming API, Following just a couple of people

2011-06-06 Thread Ray Slakinski
I I start following just 1 or 2 people using the streaming API I do not get any of their tweets. Is there a buffer that needs to be filled before I get these? Ray Slakinski -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter:

[twitter-dev] Re: Bug with oAuth headers supplied as querystring parameters for /users/lookup.json

2011-06-06 Thread Jay Caines-Gooby
On Jun 3, 4:58 pm, Jay Caines-Gooby jaygo...@gmail.com wrote: I think I've found a bug when using the /users/lookup.json API call and supplying the oAuth headers as querystring parameters. OK, I've solved this. There seems to be different signature checking applied to different API calls that

[twitter-dev] Re : Re: New Photo upload feature: What's new coming on the API side

2011-06-06 Thread Julien Larios
Hi there, I've implemented in Picsi this new way of photo sharing on Twitter (along with Twitpic support) and it works fine (based on Twitter4J 2.2.3). These pictures can be used in the 2 firsts Picsi apps: Media RSS export and ZIP backup But Arnaud (or should I say 'Dear Raptor fan' ? ;), do

[twitter-dev] New widgets.js

2011-06-06 Thread Andrew
It seems that the widgets.js has been updated and I can no longer load tweet buttons dynamically with: var tweet_button = new twttr.TweetButton(element); tweet_button.render(); Does anyone know what the new syntax is? - Andrew -- Twitter developer documentation and resources:

Re: [twitter-dev] Re : Re: New Photo upload feature: What's new coming on the API side

2011-06-06 Thread Tom van der Woerdt
I'm not Arnaud, but I can assure you that it won't happen. Tom On 6/6/11 4:25 PM, Julien Larios wrote: Hi there, I've implemented in Picsi this new way of photo sharing on Twitter (along with Twitpic support) and it works fine (based on Twitter4J 2.2.3). These pictures can be used in the 2

Re: [twitter-dev] Re : Re: New Photo upload feature: What's new coming on the API side

2011-06-06 Thread Scott Wilcox
Completely agree with Tom on that one. On 6 Jun 2011, at 15:29, Tom van der Woerdt wrote: I'm not Arnaud, but I can assure you that it won't happen. Tom On 6/6/11 4:25 PM, Julien Larios wrote: Hi there, I've implemented in Picsi this new way of photo sharing on Twitter (along with

[twitter-dev] Oauth Rate Limit 150 per hour?

2011-06-06 Thread Correa Denzil
Hi, I am performing OAuth to sign my requests. I am not developing a web app. I am trying to harvest some user data. Here's what I do : import oauth2 as oauth import time CONSUMER_KEY = 'xx' CONSUMER_SECRET = 'xx' access_key = 'xx' access_secret_key =

Re: [twitter-dev] Oauth Rate Limit 150 per hour?

2011-06-06 Thread Tom van der Woerdt
Is that Python? Anyway, not relevant. 1. You aren't signing using the proper url. 2. You aren't using anything related to the signature on the request (req). Tom On 6/6/11 4:43 PM, Correa Denzil wrote: Hi, I am performing OAuth to sign my requests. I am not developing a web app. I am trying

Re: [twitter-dev] Oauth Rate Limit 150 per hour?

2011-06-06 Thread Correa Denzil
Is that Python? : Yes 1. You aren't signing using the proper url. Is the end point URL wrong? 2. You aren't using anything related to the signature on the request (req) I am a newbie to Python. I am trying to dabble using OAuth. I understand the OAuth flow but somehow what I am doing seems a bit

Re: [twitter-dev] Oauth Rate Limit 150 per hour?

2011-06-06 Thread Tom van der Woerdt
1. You don't sign the test variable, you sign the URL variable, which isn't an endpoint. 2. You don't use the req variable to make the request, but instead you create a new connection which is completely unrelated to the signed request. Tom On 6/6/11 4:54 PM, Correa Denzil wrote: Is that

Re: [twitter-dev] Oauth Rate Limit 150 per hour?

2011-06-06 Thread Correa Denzil
Tom : Thanks for the reply. 1. You don't sign the test variable, you sign the URL variable, which isn't an endpoint. I have changed the same 2. You don't use the req variable to make the request, but instead you create a new connection which is completely unrelated to the signed request. I

Re: [twitter-dev] Oauth Rate Limit 150 per hour?

2011-06-06 Thread Tom van der Woerdt
In the Make the auth request part you make a request using client instead of the already prepared and signed req variable. You should use req to make the request. Tom On 6/6/11 5:10 PM, Correa Denzil wrote: Tom : Thanks for the reply. 1. You don't sign the test variable, you sign the URL

Re: [twitter-dev] Oauth Rate Limit 150 per hour?

2011-06-06 Thread Correa Denzil
Tom : Are you sure? This gives me a : Traceback (most recent call last): File oauth_test.py, line 41, in module resp, content = req.request(url, GET) AttributeError: 'Request' object has no attribute 'request' --Regards, Denzil On Mon, Jun 6, 2011 at 8:49 PM, Tom van der Woerdt

Re: [twitter-dev] Oauth Rate Limit 150 per hour?

2011-06-06 Thread Tom van der Woerdt
Well, of course, don't literally replace the variables, but figure out a way to use the req object. I don't know anything about that object so I can't help you there. Tom On 6/6/11 5:28 PM, Correa Denzil wrote: Tom : Are you sure? This gives me a : Traceback (most recent call last):

Re: [twitter-dev] Oauth Rate Limit 150 per hour?

2011-06-06 Thread Correa Denzil
Well, it turns out it's not the case. Both the points you mentioned weren't the issue as I see it. The issue was while I was creating the client I wasn't supplying the token. Check Line 20 in the gist. https://gist.github.com/1010430 --Regards, Denzil On Mon, Jun 6, 2011 at 8:58 PM, Correa

Re: [twitter-dev] Oauth Rate Limit 150 per hour?

2011-06-06 Thread Tom van der Woerdt
In that case, try removing everything related to the req variable. Seems it's all unrelated to the actual request (unless the oauth library is very badly designed, of course). Line 22 all the way up to 35. Tom On 6/6/11 5:38 PM, Correa Denzil wrote: Well, it turns out it's not the case.

Re: [twitter-dev] Re : Re: New Photo upload feature: What's new coming on the API side

2011-06-06 Thread Arnaud Meunier
Hey Julien, For now we're focusing on opening the Twitter Photo API endpoints to third party developers. These new API endpoints will be dedicated to Twitter media hosting, you won't be able to use them as a bridge/proxy for other media hosting services. Arnaud / @rno On Jun 6, 2011, at 7:25

Re: [twitter-dev] Streaming API, Following just a couple of people

2011-06-06 Thread Arnaud Meunier
Hey Ray, As soon as the connection is established, you start receiving public statuses that match your filter predicates. Are you sure these users were actually tweeting during the time you were consuming the stream? Arnaud / @rno http://twitter.com/rno On Mon, Jun 6, 2011 at 6:04 AM, Ray

Re: [twitter-dev] Streaming API, Following just a couple of people

2011-06-06 Thread Matt Harris
Hi Ray, There isn't a buffer that has to be filled before the Streaming API delivers tweets. Only public tweets created after you open a connection will be delivered. Have the users you are following Tweeted since you connected, and are they public accounts (not protected)? On Jun 6, 2011,

Re: [twitter-dev] Debugging 401 unauthorized errors

2011-06-06 Thread Matt Harris
Hi Andy, The response body from API should contain a more descriptive message about the cause of the 401 error. Can you inspect the body of the API response and let us know what it says? @themattharris On Jun 4, 2011, at 19:20, Andy Hume andyh...@gmail.com wrote: Hi, I'm getting some

Re: [twitter-dev] Re: Checking whether a user has given permission to Private Messages

2011-06-06 Thread Matt Harris
Hi Yusuke, We are standardizing the phrasing to match the API requests so in this case the docs are correct. We have a fix to correct messages to 'direct' instead of 'private' on it's way. @themattharris On Jun 5, 2011, at 23:41, Yusuke Yamamoto yus...@mac.com wrote: Hi, The doc says,

Re: [twitter-dev] Re: t.co?

2011-06-06 Thread Matt Harris
You can learn about what t.co is and what it is used for by visiting http://t.co . That page has a summary description and links to a help article with more detailed information. Best, @themattharris On Jun 5, 2011, at 14:02, Tim Meadowcroft meer...@gmail.com wrote: The point of t.co, as

Re: [twitter-dev] Oauth Rate Limit 150 per hour?

2011-06-06 Thread Correa Denzil
Yes, it works. Thanks :-) --Regards, Denzil On Mon, Jun 6, 2011 at 9:10 PM, Tom van der Woerdt i...@tvdw.eu wrote: In that case, try removing everything related to the req variable. Seems it's all unrelated to the actual request (unless the oauth library is very badly designed, of course).

[twitter-dev] Twitter and iOS - an Integration Workshop

2011-06-06 Thread Jason Costa
Hi everyone, We're incredibly excited about the announcement that Apple made at WWDC today. We believe that Twitter's deep integration with iOS is going to open up a lot of exciting opportunities for developers. For your apps, this includes: - single sign-on and lightweight identity

Re: [twitter-dev] Twitter and iOS - an Integration Workshop

2011-06-06 Thread Tom van der Woerdt
What about the rest of the iOS developers who can't be there? I'm registered as an Apple Developer but I'm not there... Tom On 6/6/11 8:29 PM, Jason Costa wrote: Hi everyone, We're incredibly excited about the announcement that Apple made at WWDC today. We believe that Twitter's deep

[twitter-dev] What is the correct way to get user permission to publish a tweet

2011-06-06 Thread Adam Green
I have a client who wants to print tweets on t-shirts and other products. The API TOS says to get the users' permission, but doesn't say how. Is it enough to send them a tweet asking to use one of their past tweets, and then get a tweeted permission from them? Or does this permission have to be in

Re: [twitter-dev] What is the correct way to get user permission to publish a tweet

2011-06-06 Thread Taylor Singletary
Hi Adam, This kind of permission can be granted in many ways -- it's ultimately your responsibility to ensure that you and the author of the tweet are on the same page before using their tweets on physical goods or otherwise. @episod http://twitter.com/intent/user?screen_name=episod - Taylor

[twitter-dev] Limit to total direct messages able to be sent?

2011-06-06 Thread Shane Thomas
I had this app that would use c# and twitterizer to merrily send a user direct messages, it has since ceased to do so (it still can use twitpic which will send status updates all good but direct messages no more. It will receive direct messages and purge them just won't send them out. I used the

[twitter-dev] 500 Error using POST friendships/create

2011-06-06 Thread Daniel Bernstein
Hey, I'm trying to follow users using the POST friendships/create method on the API but I'm getting a 500 error. The error message told me to post to this group. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi

[twitter-dev] Twitter's iOS integration and what this means for developers

2011-06-06 Thread Jason Costa
Hey all, There have been a lot of questions about what the iOS announcement today means for developers. The integration points noted in Apple’s keynote create huge opportunities for both Twitter and iOS developers. There is single sign-on, which allows you to retrieve a user's identity, avatar,

Re: [twitter-dev] Twitter's iOS integration and what this means for developers

2011-06-06 Thread TJ Luoma
On Mon, Jun 6, 2011 at 8:05 PM, Jason Costa jasonco...@twitter.com wrote: There have been a lot of questions about what the iOS announcement today means for developers. The integration points noted in Apple’s keynote create huge opportunities for both Twitter and iOS developers. The first

[twitter-dev] Re: Twitter's iOS integration and what this means for developers

2011-06-06 Thread BeeRich
Ya. Integrate the supertweet API. On Jun 6, 8:17 pm, TJ Luoma luo...@gmail.com wrote: On Mon, Jun 6, 2011 at 8:05 PM, Jason Costa jasonco...@twitter.com wrote: There have been a lot of questions about what the iOS announcement today means for developers. The integration points noted in