[twitter-dev] direct_messages/destroy returning 404
My code is able to send and receive direct messages just fine. So when I build the string to destroy an old direct message, I get a 404. It does not make sense. The url that is sent to Twitter is: https://api.twitter.com/1/direct_message/destroy/1625579645.json The ID is the message id that is returned within the direct message, the requesting account is the recipient of the direct message. I am using the twitteroauth php library. Anyone see what I am missing? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] direct_messages/destroy returning 404
direct_messages plural. Abraham - Abraham Williams | Hacker Advocate | http://abrah.am @abraham | http://projects.abrah.am | http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Tue, Sep 21, 2010 at 23:01, DaveH d...@idreia.com wrote: My code is able to send and receive direct messages just fine. So when I build the string to destroy an old direct message, I get a 404. It does not make sense. The url that is sent to Twitter is: https://api.twitter.com/1/direct_message/destroy/1625579645.json The ID is the message id that is returned within the direct message, the requesting account is the recipient of the direct message. I am using the twitteroauth php library. Anyone see what I am missing? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] statuses/update returns Incorrect signature when using in_reply_to_status_id
http://dev.twitter.com/pages/auth, section Signing Requests, states : Then, you take all query parameters and POST body parameters (when the POST body is of the URL-encoded type, otherwise the POST body is ignored), including the OAuth parameters necessary for negotiation with the request at hand, and sort them in lexicographical order by first parameter name and then parameter value (for duplicate parameters), all the while ensuring that both the key and the value for each parameter are URL encoded in isolation. Instead of using the equals (=) sign to mark the key/value relationship, you use the URL-encoded form of %3D. Each parameter is then joined by the URL-escaped ampersand sign, %26. Also, the OAuth RFC states : http://tools.ietf.org/html/rfc5849 2. The parameters are sorted by name, using ascending byte value ordering. If two or more parameters share the same name, they are sorted by their value. Tom On 9/22/10 12:41 AM, Tzanko Stefanov wrote: Great - works now! Thank you very much! I am wondering why such 'intricacies' are not mentioned in the documentation. I mean, how can one figure out the the optional parameter in_reply_to_status_id has to come in front of the oauth parameters in the base string? Or maybe there is some sort of a convention that I am not aware of? Thanks again. On Tue, Sep 21, 2010 at 4:47 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Can you share what the various states are in your request? To save some time, here's an example of a few steps of updating a status in this way. This example replies to tweet 23241674011 with the status @oauth_dancer test Signature Base String POSThttps%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fupdate.xmlin_reply_to_status_id%3D23241674011%26oauth_consumer_key%3Dri8JxYK2ddwSV5xIUfNNvQ%26oauth_nonce%3DyuUeiE2vPilVqaQp7XYqCQHbiEEklS5Bz9fYjNZP0%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1285101894%26oauth_token%3D119476949-gF0B5O1Wwa2UqqIwopAhQtQVTzmfSIOSiHQS7Vf8%26oauth_version%3D1.0%26status%3D%2540oauth_dancer%2520test Authorization Header OAuth oauth_nonce=yuUeiE2vPilVqaQp7XYqCQHbiEEklS5Bz9fYjNZP0, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1285101894, oauth_consumer_key=ri8JxYK2ddwSV5xIUfNNvQ, oauth_token=119476949-gF0B5O1Wwa2UqqIwopAhQtQVTzmfSIOSiHQS7Vf8, oauth_signature=NXOcu3OzXxoVK0PV4YxYu9cFXO0%3D, oauth_version=1.0 POST Body status=%40oauth_dancer%20testin_reply_to_status_id=23241674011 Taylor On Tue, Sep 21, 2010 at 1:38 PM, Tzanko tzanko.stefa...@gmail.com wrote: Hello, When I post to statuses/update with in_reply_to_status_id parameter, I get Incorrect signature. However, statuses/update works fine when in_reply_to_status_id is missing. Could someone please help? How do we need to pass this parameter? Thank you in advance! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] home_timeline.json returns too less tweets and some aren't visilbe on the web
I'm getting data via http://api.twitter.com/1/statuses/home_timeline.json with ajax request but lately i get very strange results. I'm asking by default for last 25 tweets (count=25) but i get sometimes less. Right now for my screen (mlowicki) in app we're developing I get 21 and timeline is different (see how it see in widget - http://twitpic.com/2qtwuu, and in the browser - http://twitpic.com/2qtx0h). In widget after helmer's tweet i get 4 tweets that aren't visible in the browser. And that is strange relation - I get 25 - 4 = 21 tweets. We checked that before when my friend got 24 instead of 25 and one tweets wasn't visible in the web as well. Any ideas? BR, Michał Łowicki -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] home_timeline.json returns too less tweets and some aren't visilbe on the web
Actually, count=x tells twitter to get x results from the database, not to return x items. Deleted tweets etc are counted as well: they are in the database but don't get returned. Tom On Sep 22, 2010, at 12:11 PM, mlowicki mlowi...@gmail.com wrote: I'm getting data via http://api.twitter.com/1/statuses/home_timeline.json with ajax request but lately i get very strange results. I'm asking by default for last 25 tweets (count=25) but i get sometimes less. Right now for my screen (mlowicki) in app we're developing I get 21 and timeline is different (see how it see in widget - http://twitpic.com/2qtwuu, and in the browser - http://twitpic.com/2qtx0h). In widget after helmer's tweet i get 4 tweets that aren't visible in the browser. And that is strange relation - I get 25 - 4 = 21 tweets. We checked that before when my friend got 24 instead of 25 and one tweets wasn't visible in the web as well. Any ideas? BR, Michał Łowicki -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Using @Anywhere under SSL
It is a shame Cassie, I'm having to use OAuth - more flexability but would be nice to have the simplicity of Anywhere On Sep 21, 8:37 pm, Cassie Lynn cassie.schwendi...@gmail.com wrote: yet? Do we have any way of knowing when this might happen? And thanks for asking this here Justin! I asked on @anywhere and no one has replied (it has been almost a week). Thanks! - Cassie On Sep 20, 5:00 am, Tom van der Woerdt i...@tvdw.eu wrote: FYI, there's a Mailing List specifically for @Anywhere. The list you mailed to is the API developer list. http://groups.google.com/group/twitter-dev-anywhere To answer your question: no, there's no SSL version (yet). Tom On Mon, 20 Sep 2010 02:53:05 -0700 (PDT), Justin justin.realw...@gmail.com wrote: I would love to use the Connect with Twitter @Anywhere function but I would need to use it in a secure enviroment - that is under SSL. I first tried this when @Anywhere was first launched adn gave up thinking that perhaps it's a little too early? Having recently returned to it, I was disapointed to discover that the situation doesn't seem to have changed. Does anyone know if this is possible? Simply adding an s to http://platform.twitter.com/anywhere.jsdoesn'twork, I wonder if there's another unpublished URL, or if Twitter have any plans to impliment this. I'd prefer to use @Anywhere over oAuth, but may not have a choice :-( Thanks Justin -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: home_timeline.json returns too less tweets and some aren't visilbe on the web
But tweets that are displayed in widget but not on the web aren't deleted. In some reason there is difference in these timelines. Btw is any way to get exactly x items or some other way to detect when more button should be displayed? On Sep 22, 12:31 pm, Tom van der Woerdt i...@tvdw.eu wrote: Actually, count=x tells twitter to get x results from the database, not to return x items. Deleted tweets etc are counted as well: they are in the database but don't get returned. Tom On Sep 22, 2010, at 12:11 PM, mlowicki mlowi...@gmail.com wrote: I'm getting data viahttp://api.twitter.com/1/statuses/home_timeline.json with ajax request but lately i get very strange results. I'm asking by default for last 25 tweets (count=25) but i get sometimes less. Right now for my screen (mlowicki) in app we're developing I get 21 and timeline is different (see how it see in widget -http://twitpic.com/2qtwuu, and in the browser -http://twitpic.com/2qtx0h). In widget after helmer's tweet i get 4 tweets that aren't visible in the browser. And that is strange relation - I get 25 - 4 = 21 tweets. We checked that before when my friend got 24 instead of 25 and one tweets wasn't visible in the web as well. Any ideas? BR, Michał Łowicki -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: home_timeline.json returns too less tweets and some aren't visilbe on the web
The same situation now: widget - http://twitpic.com/2quvs7 web - http://twitpic.com/2quvx1 In widget there are 4 tweets between first operatester's tweet and last visible by Yahoo that aren't visible on the web. On Sep 22, 1:04 pm, mlowicki mlowi...@gmail.com wrote: But tweets that are displayed in widget but not on the web aren't deleted. In some reason there is difference in these timelines. Btw is any way to get exactly x items or some other way to detect when more button should be displayed? On Sep 22, 12:31 pm, Tom van der Woerdt i...@tvdw.eu wrote: Actually, count=x tells twitter to get x results from the database, not to return x items. Deleted tweets etc are counted as well: they are in the database but don't get returned. Tom On Sep 22, 2010, at 12:11 PM, mlowicki mlowi...@gmail.com wrote: I'm getting data viahttp://api.twitter.com/1/statuses/home_timeline.json with ajax request but lately i get very strange results. I'm asking by default for last 25 tweets (count=25) but i get sometimes less. Right now for my screen (mlowicki) in app we're developing I get 21 and timeline is different (see how it see in widget -http://twitpic.com/2qtwuu, and in the browser -http://twitpic.com/2qtx0h). In widget after helmer's tweet i get 4 tweets that aren't visible in the browser. And that is strange relation - I get 25 - 4 = 21 tweets. We checked that before when my friend got 24 instead of 25 and one tweets wasn't visible in the web as well. Any ideas? BR, Michał Łowicki -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: dev.twitter.com sends consumer secret in clear text
This has been discussed quite a bit previously, and is something the Twitter folks are aware of: http://code.google.com/p/twitter-api/issues/detail?id=1665 Cheers -N On Sep 21, 6:54 pm, ManuelZ m...@alumni.sfu.ca wrote: When you register your Twitter app athttp://dev.twitter.com, you get an api key, a consumer secret and other awesome goodies. The secret is necessary so that you can validate signatures of stuff coming from Twitter (confirm it's from Twitter) and generate signatures for stuff you're sending to Twitter (confirm it's from your application). All application settings are sent in clear text (http) if you follow the links on dev.twitter, which is an attack vector: the interception of the secret can compromise the app. (1) It's been puzzling me for a while why the dev.twitter.com/apps (or at least the app settings page) is not restricted to https only. Granted, Twitter can only be affected through a slightly more sophisticated attack (incl. spoofing the app) + they likely have efficient ways to reverse damage from one compromised application, but as the app developer, you're in a pretty bad spot. (2) Suggestion: if you go tohttps://dev.twitter.com/appsfor all your app settings business, you can protect your secret... with one small problem: certificate error: dev.twitter.com uses an invalid security certificate. The certificate is only valid for the following names: www.twitter.com, twitter.com If anyone from Twitter is listening -- it may be a good idea to fix this. (3) On the bright side, Twitter is way better than Facebook, where even if you go to your app settings over https (it works!), it will redirect you to http after it's re-generated your key. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Tweeting with Net::Twitter + OAuth
Added the traits bit, now I get 'Could not authenticate you.'. help? On Sep 10, 4:19 pm, Marc Mims marc.m...@gmail.com wrote: * wkossen w.kos...@gmail.com [100910 06:45]: my $client = Net::Twitter-new( consumer_key = $ckey, consumer_secret = $csec, access_token = $atok, access_secret = $asec, ); You need to include the OAuth trait: my $client = Net::Twitter-new( traits = ['OAuth', 'API::REST'], consumer_key = $ckey, consumer_secret = $csec, access_token = $atok, access_secret = $asec, ); For more information, see:http://github.com/semifor/Net-Twitter/wiki/Net::Twitter-and-the-death... -Marc -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: home_timeline.json returns too less tweets and some aren't visilbe on the web
After some time in timeline on the web missing tweets are shown... but still from time to time i get wrong results in app. On Sep 22, 2:23 pm, mlowicki mlowi...@gmail.com wrote: The same situation now: widget -http://twitpic.com/2quvs7 web -http://twitpic.com/2quvx1 In widget there are 4 tweets between first operatester's tweet and last visible by Yahoo that aren't visible on the web. On Sep 22, 1:04 pm, mlowicki mlowi...@gmail.com wrote: But tweets that are displayed in widget but not on the web aren't deleted. In some reason there is difference in these timelines. Btw is any way to get exactly x items or some other way to detect when more button should be displayed? On Sep 22, 12:31 pm, Tom van der Woerdt i...@tvdw.eu wrote: Actually, count=x tells twitter to get x results from the database, not to return x items. Deleted tweets etc are counted as well: they are in the database but don't get returned. Tom On Sep 22, 2010, at 12:11 PM, mlowicki mlowi...@gmail.com wrote: I'm getting data viahttp://api.twitter.com/1/statuses/home_timeline.json with ajax request but lately i get very strange results. I'm asking by default for last 25 tweets (count=25) but i get sometimes less. Right now for my screen (mlowicki) in app we're developing I get 21 and timeline is different (see how it see in widget -http://twitpic.com/2qtwuu, and in the browser -http://twitpic.com/2qtx0h). In widget after helmer's tweet i get 4 tweets that aren't visible in the browser. And that is strange relation - I get 25 - 4 = 21 tweets. We checked that before when my friend got 24 instead of 25 and one tweets wasn't visible in the web as well. Any ideas? BR, Michał Łowicki -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Re: dev.twitter.com sends consumer secret in clear text
We don't like it either. I can tell you with confidence that a SSL-based dev.twitter.com will be coming in the future though. If you're sensitive in this area, we still have the classic style app management available at https://twitter.com/apps -- doesn't have all the bells whistles, but gets the job done. Taylor On Wed, Sep 22, 2010 at 5:35 AM, Nik Fletcher nik.fletc...@gmail.com wrote: This has been discussed quite a bit previously, and is something the Twitter folks are aware of: http://code.google.com/p/twitter-api/issues/detail?id=1665 Cheers -N On Sep 21, 6:54 pm, ManuelZ m...@alumni.sfu.ca wrote: When you register your Twitter app athttp://dev.twitter.com, you get an api key, a consumer secret and other awesome goodies. The secret is necessary so that you can validate signatures of stuff coming from Twitter (confirm it's from Twitter) and generate signatures for stuff you're sending to Twitter (confirm it's from your application). All application settings are sent in clear text (http) if you follow the links on dev.twitter, which is an attack vector: the interception of the secret can compromise the app. (1) It's been puzzling me for a while why the dev.twitter.com/apps (or at least the app settings page) is not restricted to https only. Granted, Twitter can only be affected through a slightly more sophisticated attack (incl. spoofing the app) + they likely have efficient ways to reverse damage from one compromised application, but as the app developer, you're in a pretty bad spot. (2) Suggestion: if you go tohttps://dev.twitter.com/appsfor all your app settings business, you can protect your secret... with one small problem: certificate error: dev.twitter.com uses an invalid security certificate. The certificate is only valid for the following names: www.twitter.com, twitter.com If anyone from Twitter is listening -- it may be a good idea to fix this. (3) On the bright side, Twitter is way better than Facebook, where even if you go to your app settings over https (it works!), it will redirect you to http after it's re-generated your key. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Re: home_timeline.json returns too less tweets and some aren't visilbe on the web
Hi mlowicki, There's no way to absolutely guarantee the number of results from the home_timeline. However, you certainly can make it more predictable by including the ?include_rts=true parameter when making your request. This includes retweets in the payload, which, in most cases, are probably the missing tweets you are looking for. Taylor On Wed, Sep 22, 2010 at 6:15 AM, mlowicki mlowi...@gmail.com wrote: After some time in timeline on the web missing tweets are shown... but still from time to time i get wrong results in app. On Sep 22, 2:23 pm, mlowicki mlowi...@gmail.com wrote: The same situation now: widget -http://twitpic.com/2quvs7 web -http://twitpic.com/2quvx1 In widget there are 4 tweets between first operatester's tweet and last visible by Yahoo that aren't visible on the web. On Sep 22, 1:04 pm, mlowicki mlowi...@gmail.com wrote: But tweets that are displayed in widget but not on the web aren't deleted. In some reason there is difference in these timelines. Btw is any way to get exactly x items or some other way to detect when more button should be displayed? On Sep 22, 12:31 pm, Tom van der Woerdt i...@tvdw.eu wrote: Actually, count=x tells twitter to get x results from the database, not to return x items. Deleted tweets etc are counted as well: they are in the database but don't get returned. Tom On Sep 22, 2010, at 12:11 PM, mlowicki mlowi...@gmail.com wrote: I'm getting data viahttp://api.twitter.com/1/statuses/home_timeline.json with ajax request but lately i get very strange results. I'm asking by default for last 25 tweets (count=25) but i get sometimes less. Right now for my screen (mlowicki) in app we're developing I get 21 and timeline is different (see how it see in widget -http://twitpic.com/2qtwuu, and in the browser -http://twitpic.com/2qtx0h). In widget after helmer's tweet i get 4 tweets that aren't visible in the browser. And that is strange relation - I get 25 - 4 = 21 tweets. We checked that before when my friend got 24 instead of 25 and one tweets wasn't visible in the web as well. Any ideas? BR, Michał Łowicki -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] xAuth problem
Hi Narayan, I'd like to help, but I need more information in order to debug. Can you verify that your consumer key and secret are correct (and the same as what you have stored currently on dev.twitter.com)? Is there any reason you can think of that your application may have become suspended? Taylor On Tue, Sep 21, 2010 at 9:13 PM, Narayan Maharjan ngmm...@gmail.com wrote: Hello Taylor, I 've already checked my timestamp before couple of days. The exception occurs on all of the user who are using my application.So I think it may be due to my own application. I use twitter4j api. It shows exception every time i try to login. Please help. Thanks. On Tue, Sep 21, 2010 at 8:36 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi there, Has anything changed about your environment? Perhaps your clocks have changed and you aren't generating valid timestamps? When you applied and were approved for xAuth, was it a conditional approval meant for transitional purposes? Have you tried utilizing xAuth from another code base? What is the specific Twitter API exception that you are receiving? Taylor On Tue, Sep 21, 2010 at 4:22 AM, privatejava ngmm...@gmail.com wrote: Since many days i can see my xAuth is not working .It gives me error/ exception while i try to login my twitter user via xauth method.My application is a standalone app with api twitter4j.I've even already verified my xAuth but why isn't it working? Please help! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Twitters t.co URL
Hi James, Really have no idea. If you're simply posting status updates that already include a tinyurl.com link, I can't think of any reason the links would suddenly stop appearing. Perhaps there was a problem with tinyurl? Taylor On Tue, Sep 21, 2010 at 6:00 PM, james --- cyberfigh...@hotmail.com wrote: Hi Taylor, The problem seemed to have resolved itself . I deleted the postings where the tiny urls where missing. It must have been a glitch. Although would like to know any possible reasons for this for future reference. Regards, Michael From: taylorsinglet...@twitter.com Date: Mon, 20 Sep 2010 07:19:12 -0700 Subject: Re: [twitter-dev] Twitters t.co URL To: twitter-development-talk@googlegroups.com CC: 4bra...@gmail.com Hi there, I don't see any issues with the tinyurls on your page. Is there something more specifically wrong? Thanks, Taylor On Mon, Sep 20, 2010 at 3:18 AM, zoomcreator cyberfigh...@hotmail.com wrote: Hello, I noticed in my twitter app that tiny url is not working anymore in my twitter account feed (http://twitter.com/zoomcreator) . Just wondering what the problem is and whether it has something to do with the change over to t.co url ? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Problem with my curl remote app
http://dev.twitter.com, big blue bar at the bottom of the screen? http://dev.twitter.com/announcements Tom PS: Have you been living under a rock? Every major tech blog announced it... (And sorry if I am rude) On 9/22/10 4:52 PM, Daniel Contarini wrote: This code have been working perfectly until the last 20 days +-, i wanna know what i need to change in this code to make it works again. $userpass=My user and pass; //sure to be correct $host = http://twitter.com/statuses/update.xml? status=.urlencode(htmlentities($message)); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $host); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, $user$pass); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, ); $result = curl_exec($ch); $resultArray = curl_getinfo($ch); curl_close($ch); -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Perl Net::Twitter and oAuth
Hey, that was great! I was just missing the access key and secret, I think. I was working with callback code, which all along I thought I didn't really need. So the example you sent was perfect. When I run an update, I get this error: HTTP::Message content not bytes at /usr/lib/perl5/site_perl/5.8.8/HTTP/ Request/Common.pm line 90 I made sure Net::Twitter was up to date on my server, and it is, 3.13009. When I updated just to be sure, I got this: CPAN: Storable loaded ok (v2.21) Going to read /home/.cpan/Metadata Database was generated on Wed, 22 Sep 2010 00:34:03 GMT cPCPAN: Module (HTTP::Message) holdback (5.837 held back to 5.810) HTTP::Message is up to date (5.810). perlmod--Install done Is there an HTTP::Request update I'm supposed to do? Thanks again! David On Sep 21, 10:47 pm, Marc Mims marc.m...@gmail.com wrote: * sftriman dal...@gmail.com [100921 16:46]: I downloaded the /examples in Net::Twitter, and they don't seem to work. There were 2 in that directory. I've searched tons on Google, and I've read both links on the dev.twitter.com site for perl, but can't get those to work. Maybe someone here can help? David, see if this helps:http://github.com/semifor/Net-Twitter/wiki/Net::Twitter-and-the-death... -Marc -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Status Updates
I've decided to stop sending this messages ...It's not worth of risk! Thanks everybody for your replies. Goran Popovic -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] NET::Twitter::Lite
I'm using Perl with NET::Twitter::Lite to send messages to an account on Twitter which works fine from the command line but as soon as I put it inside a CRONTAB it won't work at all. I've got all the paths correct for a script within a crontab, it just seems to fail at the point it tries to send an update to Twitter... Any clues??? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Problem with my curl remote app
I'm not living under a rock, but almost it :/ Can you help me answer what i need to change , because i'm reading everything about oauth and i'm still lost :/ On 22 set, 12:03, Tom van der Woerdt i...@tvdw.eu wrote: http://dev.twitter.com, big blue bar at the bottom of the screen? http://dev.twitter.com/announcements Tom PS: Have you been living under a rock? Every major tech blog announced it... (And sorry if I am rude) On 9/22/10 4:52 PM, Daniel Contarini wrote: This code have been working perfectly until the last 20 days +-, i wanna know what i need to change in this code to make it works again. $userpass=My user and pass; //sure to be correct $host = http://twitter.com/statuses/update.xml? status=.urlencode(htmlentities($message)); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $host); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, $user$pass); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, ); $result = curl_exec($ch); $resultArray = curl_getinfo($ch); curl_close($ch); -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Re: Problem with my curl remote app
This should be all you need: http://gist.github.com/592098 Abraham - Abraham Williams | Hacker Advocate | http://abrah.am @abraham | http://projects.abrah.am | http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 10:10, Daniel Contarini danielcontar...@gmail.comwrote: I'm not living under a rock, but almost it :/ Can you help me answer what i need to change , because i'm reading everything about oauth and i'm still lost :/ On 22 set, 12:03, Tom van der Woerdt i...@tvdw.eu wrote: http://dev.twitter.com, big blue bar at the bottom of the screen? http://dev.twitter.com/announcements Tom PS: Have you been living under a rock? Every major tech blog announced it... (And sorry if I am rude) On 9/22/10 4:52 PM, Daniel Contarini wrote: This code have been working perfectly until the last 20 days +-, i wanna know what i need to change in this code to make it works again. $userpass=My user and pass; //sure to be correct $host = http://twitter.com/statuses/update.xml? status=.urlencode(htmlentities($message)); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $host); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, $user$pass); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, ); $result = curl_exec($ch); $resultArray = curl_getinfo($ch); curl_close($ch); -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Problem with my curl remote app
I think this is what i need, but i'm getting trouble with this error : Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in twitteroauth.php On 22 set, 14:18, Abraham Williams 4bra...@gmail.com wrote: This should be all you need:http://gist.github.com/592098 Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 10:10, Daniel Contarini danielcontar...@gmail.comwrote: I'm not living under a rock, but almost it :/ Can you help me answer what i need to change , because i'm reading everything about oauth and i'm still lost :/ On 22 set, 12:03, Tom van der Woerdt i...@tvdw.eu wrote: http://dev.twitter.com, big blue bar at the bottom of the screen? http://dev.twitter.com/announcements Tom PS: Have you been living under a rock? Every major tech blog announced it... (And sorry if I am rude) On 9/22/10 4:52 PM, Daniel Contarini wrote: This code have been working perfectly until the last 20 days +-, i wanna know what i need to change in this code to make it works again. $userpass=My user and pass; //sure to be correct $host = http://twitter.com/statuses/update.xml? status=.urlencode(htmlentities($message)); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $host); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, $user$pass); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, ); $result = curl_exec($ch); $resultArray = curl_getinfo($ch); curl_close($ch); -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Re: Problem with my curl remote app
What line is that error occurring on? Abraham - Abraham Williams | Hacker Advocate | http://abrah.am @abraham | http://projects.abrah.am | http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 10:54, Daniel Contarini danielcontar...@gmail.comwrote: I think this is what i need, but i'm getting trouble with this error : Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in twitteroauth.php On 22 set, 14:18, Abraham Williams 4bra...@gmail.com wrote: This should be all you need:http://gist.github.com/592098 Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 10:10, Daniel Contarini danielcontar...@gmail.comwrote: I'm not living under a rock, but almost it :/ Can you help me answer what i need to change , because i'm reading everything about oauth and i'm still lost :/ On 22 set, 12:03, Tom van der Woerdt i...@tvdw.eu wrote: http://dev.twitter.com, big blue bar at the bottom of the screen? http://dev.twitter.com/announcements Tom PS: Have you been living under a rock? Every major tech blog announced it... (And sorry if I am rude) On 9/22/10 4:52 PM, Daniel Contarini wrote: This code have been working perfectly until the last 20 days +-, i wanna know what i need to change in this code to make it works again. $userpass=My user and pass; //sure to be correct $host = http://twitter.com/statuses/update.xml? status=.urlencode(htmlentities($message)); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $host); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, $user$pass); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, ); $result = curl_exec($ch); $resultArray = curl_getinfo($ch); curl_close($ch); -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Problem with my curl remote app
Line 21 On 22 set, 15:19, Abraham Williams 4bra...@gmail.com wrote: What line is that error occurring on? Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 10:54, Daniel Contarini danielcontar...@gmail.comwrote: I think this is what i need, but i'm getting trouble with this error : Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in twitteroauth.php On 22 set, 14:18, Abraham Williams 4bra...@gmail.com wrote: This should be all you need:http://gist.github.com/592098 Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 10:10, Daniel Contarini danielcontar...@gmail.comwrote: I'm not living under a rock, but almost it :/ Can you help me answer what i need to change , because i'm reading everything about oauth and i'm still lost :/ On 22 set, 12:03, Tom van der Woerdt i...@tvdw.eu wrote: http://dev.twitter.com, big blue bar at the bottom of the screen? http://dev.twitter.com/announcements Tom PS: Have you been living under a rock? Every major tech blog announced it... (And sorry if I am rude) On 9/22/10 4:52 PM, Daniel Contarini wrote: This code have been working perfectly until the last 20 days +-, i wanna know what i need to change in this code to make it works again. $userpass=My user and pass; //sure to be correct $host = http://twitter.com/statuses/update.xml? status=.urlencode(htmlentities($message)); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $host); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, $user$pass); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, ); $result = curl_exec($ch); $resultArray = curl_getinfo($ch); curl_close($ch); -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Re: Problem with my curl remote app
You would not happen to be running PHP4 would you? Abraham - Abraham Williams | Hacker Advocate | http://abrah.am @abraham | http://projects.abrah.am | http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 11:38, Daniel Contarini danielcontar...@gmail.comwrote: Line 21 On 22 set, 15:19, Abraham Williams 4bra...@gmail.com wrote: What line is that error occurring on? Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 10:54, Daniel Contarini danielcontar...@gmail.comwrote: I think this is what i need, but i'm getting trouble with this error : Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in twitteroauth.php On 22 set, 14:18, Abraham Williams 4bra...@gmail.com wrote: This should be all you need:http://gist.github.com/592098 Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 10:10, Daniel Contarini danielcontar...@gmail.comwrote: I'm not living under a rock, but almost it :/ Can you help me answer what i need to change , because i'm reading everything about oauth and i'm still lost :/ On 22 set, 12:03, Tom van der Woerdt i...@tvdw.eu wrote: http://dev.twitter.com, big blue bar at the bottom of the screen? http://dev.twitter.com/announcements Tom PS: Have you been living under a rock? Every major tech blog announced it... (And sorry if I am rude) On 9/22/10 4:52 PM, Daniel Contarini wrote: This code have been working perfectly until the last 20 days +-, i wanna know what i need to change in this code to make it works again. $userpass=My user and pass; //sure to be correct $host = http://twitter.com/statuses/update.xml? status=.urlencode(htmlentities($message)); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $host); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, $user$pass); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, ); $result = curl_exec($ch); $resultArray = curl_getinfo($ch); curl_close($ch); -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Geotagged tweets not appearing in search
Hi, I was searching over this group and the internet and haven't found an answer to my question. I'm developing an app that posts geotagged tweets to Twitter via the API (via twitter4j) and now I'm testing it. The geotagged tweets are nicely displayed on the website, with all of the location info (lat,long,place) and they are also seen via the API when querying my own timeline from it. But if I do a search with a geocode with coordinates near to my tweet, it doesn't appear on the response but displays truly geotagged tweets from other people, and also if I do a search via this URL http://search.twitter.com/search.atom?q=from:[MyUserName] it displays all my recent tweets except those with geotagging info. I have turned on in my profile the option to include location info in tweets. ¿What's wrong? Regards. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Suggestion : Increasing the replies count (Separating Status updates and replies)
As all of you know users are allowed only 1000 updates in a day(including replies). With more than 145 million people as users there are going to be calls for increasing the status update limit. So instead of increasing the limit ,Twitter can simply allow accounts to send unlimited replies to users who have addressed the tweet to them. Suppose if I am addressing a tweet to someone say @Techcrunch I love your blog and suppose if Techcrunch says @Ramanean Thank you and these tweets(Replies by Techcrunch) should not be counted as part of daily 1000 limit for @Techcrunch as it's more of a conversation between two users rather than a status updates for followers!!! If the reply limits are increased ,this will open endless possibilities of using Twitter for more important messages!! and more interaction among users and it may also be a good revenue earning opportunity for Twitter!! by exploiting this for growth in a completely different way!!! This would do wonders not only for Twitter but also for others and incase of natural disasters also.! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Re: Problem with my curl remote app
You'd have to remove all the PHP5 specific code. Really, you should upgrade :-) Tom On 9/22/10 9:58 PM, Daniel Contarini wrote: Damn, i'm running this php - 4.4.7. There is a way to post into twtiter with php 4 or i need to upgrade to php 5+ ? On 22 set, 15:48, Abraham Williams 4bra...@gmail.com wrote: You would not happen to be running PHP4 would you? Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 11:38, Daniel Contarini danielcontar...@gmail.comwrote: Line 21 On 22 set, 15:19, Abraham Williams 4bra...@gmail.com wrote: What line is that error occurring on? Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 10:54, Daniel Contarini danielcontar...@gmail.comwrote: I think this is what i need, but i'm getting trouble with this error : Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in twitteroauth.php On 22 set, 14:18, Abraham Williams 4bra...@gmail.com wrote: This should be all you need:http://gist.github.com/592098 Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 10:10, Daniel Contarini danielcontar...@gmail.comwrote: I'm not living under a rock, but almost it :/ Can you help me answer what i need to change , because i'm reading everything about oauth and i'm still lost :/ On 22 set, 12:03, Tom van der Woerdt i...@tvdw.eu wrote: http://dev.twitter.com, big blue bar at the bottom of the screen? http://dev.twitter.com/announcements Tom PS: Have you been living under a rock? Every major tech blog announced it... (And sorry if I am rude) On 9/22/10 4:52 PM, Daniel Contarini wrote: This code have been working perfectly until the last 20 days +-, i wanna know what i need to change in this code to make it works again. $userpass=My user and pass; //sure to be correct $host = http://twitter.com/statuses/update.xml? status=.urlencode(htmlentities($message)); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $host); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, $user$pass); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, ); $result = curl_exec($ch); $resultArray = curl_getinfo($ch); curl_close($ch); -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] #newtwitter and the API
Hey Everyone, Last week we announced #newtwitter, the new twitter.com built on top of the Twitter API. For the Platform team in particular, this was an important event. With #newtwitter using the API all users will become API consumers, providing valuable feedback about issues they encounter, helping us isolate and fix problems that are found. When creating #newtwitter the value of this was clear. A heightened level of visibility communication with our engineers enabled us to reproduce and fix many of the API bugs you’ve encountered and reported to us. #newtwitter makes it easier for us to concretely develop new API features, giving other teams at Twitter an agile environment to experiment with new ideas. All of this combined resulted in many deployed fixes to the API -- and some new features! Many of these have already been announced and are already being used by many of you. Listed below are the various changes and updates that have been made to the API. URL format -- The first important change is that URLs now have a new format. This new format is part of the Javascript routing system used by #newtwitter for page management. This means our website URLs now contain a #! like this: http://twitter.com/#!/themattharris instead of: http://twitter.com/themattharris The two formats work on both versions of twitter.com so you don’t need #newtwitter to use them. There is more information about the #! URL format in Google’s article: Making AJAX Applications Crawlable http://code.google.com/web/ajaxcrawling/docs/getting-started.html New methods A number of new methods have been added to the API. Some of them can be used now, while others only work if you have access to #newtwitter. Some of these methods may be candidates for feature-specific rate limiting in the future so be aware of the headers we return to you. Like all REST API methods, the new ones live on http://api.twitter.com. If you are not using this host please update your code. The non-versioned API endpoints do not support the new parameters or recent enhancements. GET /1/account/totals.{format} Requires authentication. Returns the current count of friends, followers, updates (statuses) and favorites of the authenticating user. Example: twurl /1/account/totals.json GET /1/account/settings.{format} Requires authentication. Returns the current trend, geo and sleep time information for the authenticating user. Example: twurl /1/account/settings.json GET /1/users/suggestions/:category_slug/members.{format} Does not require authentication. Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user. Example: twurl /1/users/suggestions/technology/members.json GET /1/direct_messages/show/:id.{format} Requires authentication. Returns a single direct message, specified by an id parameter. Like the /1/direct_messages.{format} request, this method will include the user objects of the sender and recipient. Example: twurl /1/direct_messages/show/12345678.json GET /1/statuses/retweeted_to_user.{format} Does not require authentication, unless the user is protected. Returns the 20 most recent retweets posted by users the specified user follows. The user is specified using the user_id or screen_name parameters. This method is identical to statuses/retweeted_to_me except you can choose the user to view. Example: twurl /1/statuses/retweeted_to_user.json?screen_name=twitterapi 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 GET /1/friendships/lookup.{format} Requires authentication. Returns the relationship of the authenticating user to the comma separated list of up to 100 screen_names or user_ids provided. Values for connections can be: following, following_requested, followed_by, none. Example: twurl /1/friendships/lookup.json?screen_name=twitter,twitterapi,twittereng POST /1/friendships/update.{format} Requires authentication. Allows you enable or disable retweets and device notifications from the specified user. Valid values for enable are 't','1' or 'true'. All other values are assumed to be false. Example: twurl /1/friendships/update.json -d screen_name=twitterapi -d device=true -d retweets=false GET /1/lists/all.{format} Requires authentication unless requesting for another user. Returns all lists the authenticating or specified user subscribes to, including their own. The user is specified using the user_id or screen_name parameters. If no user is given, the authenticating user is used. Example: twurl /1/lists/all.json?screen_name=twitterapi GET
[twitter-dev] How do I get the id of the last status update?
Hi all, I got a bit stuck I'm afraid. I have a single user application. Using the code below, I can post a status update. However, I would like to receive the id of that last update. include('oAuth/twitteroauth.php'); define(CONSUMER_KEY, ***); define(CONSUMER_SECRET, ***); define(OAUTH_TOKEN, ***); define(OAUTH_SECRET, ***); $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, OAUTH_TOKEN, OAUTH_SECRET); $content = $connection-get('account/verify_credentials'); $connection-post('statuses/update', array('status' = 'text to post')); Anyone with a clue? Thx in advance! :) -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: #newtwitter and the API
As app developers, do we need to re-register for the new #newtwitter? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Re: #newtwitter and the API
Hi EastSideDev, #newtwitter is being rolled out gradually to all users; it's not really possible to predict when you'll receive it, though we're adding new users every day. You don't need to re-register your apps, your account, or anything else to be granted access. Some day, at some time, you'll log into Twitter and see a banner at the top of the screen informing you that you now have access. Access tokens belonging to users who currently have #newtwitter have permission to access the API features that require #newtwitter. Taylor On Wed, Sep 22, 2010 at 2:22 PM, EastSideDev eastside...@gmail.com wrote: As app developers, do we need to re-register for the new #newtwitter? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: #newtwitter and the API
No new registration is needed, #newtwitter is being rolled out gradually and at random. For the API, only the related_results method requires you to have access to #newtwitter. Hope that helps, @themattharris On Sep 22, 2:22 pm, EastSideDev eastside...@gmail.com wrote: As app developers, do we need to re-register for the new #newtwitter? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: How do I get the id of the last status update?
Thank you Abraham for your swift reply! This is the code I use now: $status = $connection-post('statuses/update', array('status' = 'mmmdedju')); $status-id; echo $status; I get error Catchable fatal error: Object of class stdClass could not be converted to string in /home/polskaya/public_html/140karakters/ twitterapi/test.php on line 23 Line 23 is echo $status; What am I overlooking? On 22 sep, 23:16, Abraham Williams 4bra...@gmail.com wrote: $status = $connection-post('statuses/update', array('status' = 'text to post')); $status-id; Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 13:58, Polskaya polsk...@gmail.com wrote: Hi all, I got a bit stuck I'm afraid. I have a single user application. Using the code below, I can post a status update. However, I would like to receive the id of that last update. include('oAuth/twitteroauth.php'); define(CONSUMER_KEY, ***); define(CONSUMER_SECRET, ***); define(OAUTH_TOKEN, ***); define(OAUTH_SECRET, ***); $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, OAUTH_TOKEN, OAUTH_SECRET); $content = $connection-get('account/verify_credentials'); $connection-post('statuses/update', array('status' = 'text to post')); Anyone with a clue? Thx in advance! :) -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: #newtwitter and the API
Is the URL format http://twitter.com/themattharris earmarked to be phased out at some point in the medium future? In many places in my app the @username is linked to http://twitter.com/username and I will have to modify all those URLs to http://twitter.com/#!/username if the old format is going to disappear. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] #newtwitter and the API
Thanks!! A somewhat philosophical question, with some practical overtones. I've got a blog (self-hosted WordPress) and a LinkedIn profile and, of course, a Twitter account. With #newtwitter, I'm beginning to think I can ditch the blog and replace it with my Twitter page - my microblog, as it were. So I'm wondering how much customization someone can do to their Twitter page now, and how much we might be able to expect in the future? For openers, when I look at a Twitter page in #newtwitter, there's a huge blank space on the lower right. Is there any way I can use that space, either static or dynamic, without violating the TOS or causing strain on the servers? Is there some way we'd be able to get the kind of analytics from our Twitter pages that we can get from a self-hosted WordPress blog? -- 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 Matt Harris thematthar...@twitter.com: Hey Everyone, Last week we announced #newtwitter, the new twitter.com built on top of the Twitter API. For the Platform team in particular, this was an important event. With #newtwitter using the API all users will become API consumers, providing valuable feedback about issues they encounter, helping us isolate and fix problems that are found. When creating #newtwitter the value of this was clear. A heightened level of visibility communication with our engineers enabled us to reproduce and fix many of the API bugs you’ve encountered and reported to us. #newtwitter makes it easier for us to concretely develop new API features, giving other teams at Twitter an agile environment to experiment with new ideas. All of this combined resulted in many deployed fixes to the API -- and some new features! Many of these have already been announced and are already being used by many of you. Listed below are the various changes and updates that have been made to the API. URL format -- The first important change is that URLs now have a new format. This new format is part of the Javascript routing system used by #newtwitter for page management. This means our website URLs now contain a #! like this: http://twitter.com/#!/themattharris instead of: http://twitter.com/themattharris The two formats work on both versions of twitter.com so you don’t need #newtwitter to use them. There is more information about the #! URL format in Google’s article: Making AJAX Applications Crawlable http://code.google.com/web/ajaxcrawling/docs/getting-started.html New methods A number of new methods have been added to the API. Some of them can be used now, while others only work if you have access to #newtwitter. Some of these methods may be candidates for feature-specific rate limiting in the future so be aware of the headers we return to you. Like all REST API methods, the new ones live on http://api.twitter.com. If you are not using this host please update your code. The non-versioned API endpoints do not support the new parameters or recent enhancements. GET /1/account/totals.{format} Requires authentication. Returns the current count of friends, followers, updates (statuses) and favorites of the authenticating user. Example: twurl /1/account/totals.json GET /1/account/settings.{format} Requires authentication. Returns the current trend, geo and sleep time information for the authenticating user. Example: twurl /1/account/settings.json GET /1/users/suggestions/:category_slug/members.{format} Does not require authentication. Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user. Example: twurl /1/users/suggestions/technology/members.json GET /1/direct_messages/show/:id.{format} Requires authentication. Returns a single direct message, specified by an id parameter. Like the /1/direct_messages.{format} request, this method will include the user objects of the sender and recipient. Example: twurl /1/direct_messages/show/12345678.json GET /1/statuses/retweeted_to_user.{format} Does not require authentication, unless the user is protected. Returns the 20 most recent retweets posted by users the specified user follows. The user is specified using the user_id or screen_name parameters. This method is identical to statuses/retweeted_to_me except you can choose the user to view. Example: twurl /1/statuses/retweeted_to_user.json?screen_name=twitterapi 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 GET
[twitter-dev] Re: How do I get the id of the last status update?
My fault! I should have done print $status-id; not print $status Thanks again for your help Abraham! On 22 sep, 23:52, Polskaya polsk...@gmail.com wrote: Thank you Abraham for your swift reply! This is the code I use now: $status = $connection-post('statuses/update', array('status' = 'mmmdedju')); $status-id; echo $status; I get error Catchable fatal error: Object of class stdClass could not be converted to string in /home/polskaya/public_html/140karakters/ twitterapi/test.php on line 23 Line 23 is echo $status; What am I overlooking? On 22 sep, 23:16, Abraham Williams 4bra...@gmail.com wrote: $status = $connection-post('statuses/update', array('status' = 'text to post')); $status-id; Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 13:58, Polskaya polsk...@gmail.com wrote: Hi all, I got a bit stuck I'm afraid. I have a single user application. Using the code below, I can post a status update. However, I would like to receive the id of that last update. include('oAuth/twitteroauth.php'); define(CONSUMER_KEY, ***); define(CONSUMER_SECRET, ***); define(OAUTH_TOKEN, ***); define(OAUTH_SECRET, ***); $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, OAUTH_TOKEN, OAUTH_SECRET); $content = $connection-get('account/verify_credentials'); $connection-post('statuses/update', array('status' = 'text to post')); Anyone with a clue? Thx in advance! :) -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: #newtwitter and the API
Regarding: On Sep 22, 10:06 pm, Matt Harris thematthar...@twitter.com wrote: important event. With #newtwitter using the API all users will become API consumers, providing valuable feedback about issues they encounter, helping us isolate and fix problems that are found. I presume this doesn't mean that any actions they do on the website will be counted against their available API requests? Rob -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Re: How do I get the id of the last status update?
$status is an object which contains a parameter of id. So you to echo the id you need to do: echo $status-id; Abraham -- Evobots configured this transmission while traveling at 50 billion times the speed of light. On Sep 22, 2010 2:52 PM, Polskaya polsk...@gmail.com wrote: Thank you Abraham for your swift reply! This is the code I use now: $status = $connection-post('statuses/update', array('status' = 'mmmdedju')); $status-id; echo $status; I get error Catchable fatal error: Object of class stdClass could not be converted to string in /home/polskaya/public_html/140karakters/ twitterapi/test.php on line 23 Line 23 is echo $status; What am I overlooking? On 22 sep, 23:16, Abraham Williams 4bra...@gmail.com wrote: $status = $connection-post('statuses/update', array('status' = 'text to post')); $status-id; Abraham - Abraham Williams | Hacker Advocate |http://abrah.am @abraham |http://projects.abrah.am|http://blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Wed, Sep 22, 2010 at 13:58, Polskaya polsk...@gmail.com wrote: Hi all, I got a bit stuck I'm afraid. I have a single user application. Using the code below, I can post a status update. However, I would like to receive the id of that last update. include('oAuth/twitteroauth.php'); define(CONSUMER_KEY, ***); define(CONSUMER_SECRET, ***); define(OAUTH_TOKEN, ***); define(OAUTH_SECRET, ***); $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, OAUTH_TOKEN, OAUTH_SECRET); $content = $connection-get('account/verify_credentials'); $connection-post('statuses/update', array('status' = 'text to post')); Anyone with a clue? Thx in advance! :) -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Re: #newtwitter and the API
Which makes me wonder: does the API limit apply to the web version? ^^ Tom On Sep 22, 2010, at 11:55 PM, Robert McGovern robert.mcgov...@gmail.com wrote: Regarding: On Sep 22, 10:06 pm, Matt Harris thematthar...@twitter.com wrote: important event. With #newtwitter using the API all users will become API consumers, providing valuable feedback about issues they encounter, helping us isolate and fix problems that are found. I presume this doesn't mean that any actions they do on the website will be counted against their available API requests? Rob -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Check if I have gardenhose or spritzer access
Hello, How can I check if my login has spritzer or gardenhose access? Also, if I have spritzer and would like gardenhose, who should I contact? Regards, Lucas -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Check if I have gardenhose or spritzer access
Until Snowflake comes out, and IDs become non-sequential, look at the status id and figure your rough sample percentage. Once Snowflake comes out, this will be somewhat more difficult. -John On Wed, Sep 22, 2010 at 4:10 PM, Lucas Vickers lucasvick...@gmail.comwrote: Hello, How can I check if my login has spritzer or gardenhose access? Also, if I have spritzer and would like gardenhose, who should I contact? Regards, Lucas -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] lookupUsers hangs
I'm making unauthenticated calls to getFollowerIDs(), then storing a segment of that return value in an integer array (of 100 user IDs or less) and passing that array to lookupUsers(). My program simply hangs at that point. Enabling twitter4j.debug does show output for the getFollowerIDs() call, but nothing for the lookupUsers() call. Any suggestions for how to debug/troubleshoot this further? Regards, Matthew Turland -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] twitter oAuth 401 Unauthorizd error
I have been working on a 401 error from twitter oAuth, but I have no clue. Please see if you can help me Thanks Log === debug: token is now: debug: token_secret is now: debug: Getting request token from http://twitter.com/oauth/request_token debug: callback: debug: signing request with: HMAC-SHA1 debug: Signing with base string: POSThttp%3A%2F%2Ftwitter.com%2Foauth %2Frequest_tokenoauth_callback%3D%26oauth_consumer_key %3D**%26oauth_nonce %3D%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1285202944%26oauth_version%3D1.0 debug: Signing with key: * debug: * Connected to tcp://twitter.com:80 debug: POST /oauth/request_token HTTP/1.1 debug: User-Agent: HTTP_Request2/0.5.2 (http://pear.php.net/package/ http_request2) PHP/5.3.1 debug: Authorization: OAuth realm=http://twitter.com/;, oauth_consumer_key=**, oauth_nonce=, oauth_signature=*%3D, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1285202944, oauth_version=1.0 debug: Host: twitter.com debug: Accept-Encoding: gzip, deflate debug: Content-Length: 0 debug: debug: HTTP/1.1 401 Unauthorized debug: date: Thu, 23 Sep 2010 00:49:04 GMT debug: server: hi debug: status: 401 Unauthorized debug: x-transaction: 1285202944-71537-9675 debug: last-modified: Thu, 23 Sep 2010 00:49:04 GMT debug: x-runtime: 0.00586 debug: content-type: text/html; charset=utf-8 debug: pragma: no-cache debug: x-revision: DEV debug: expires: Tue, 31 Mar 1981 05:00:00 GMT debug: cache-control: no-cache, no-store, must-revalidate, pre- check=0, post-check=0 debug: x-xss-protection: 1; mode=block debug: x-frame-options: SAMEORIGIN debug: vary: Accept-Encoding debug: content-encoding: gzip debug: content-length: 62 debug: connection: close debug: debug: Failed to validate oauth signature and token debug: * Disconnected Net_URL2 Object ( [_options:Net_URL2:private] = Array ( [strict] = 1 [use_brackets] = 1 [encode_keys] = 1 [input_separator] = [output_separator] = ) [_scheme:Net_URL2:private] = http [_userinfo:Net_URL2:private] = [_host:Net_URL2:private] = twitter.com [_port:Net_URL2:private] = [_path:Net_URL2:private] = / oauth/request_token [_query:Net_URL2:private] = [_fragment:Net_URL2:private] = ) --- In exception block ---ERROR: Failed getting token and token secret from response -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: lookupUsers hangs
Didn't notice this list was for general Twitter development. Clarification: I'm using the twitter4j Java Twitter client library from http://twitter4j.org. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] what is the url and parameter of tweet in c++(liboauth)?
what is the url and parameters of tweet in c++(liboauth)? i want to code the fuction of tweet in c++ and base on the api liboauth. but don't know tahat is the POST url and parameters? -- 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] what is the url and parameter of tweet in c++(liboauth)?
Hi, We document the methods of the API on http://dev.twitter.com.doc . The method used to send a Tweet is called statuses/update and is documented on this URL: http://dev.twitter.com/doc/post/statuses/update Hope that helps, @themattharris 2010/9/22 玉柱九天 yuzhujiut...@gmail.com: what is the url and parameters of tweet in c++(liboauth)? i want to code the fuction of tweet in c++ and base on the api liboauth. but don't know tahat is the POST url and parameters? -- 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: xAuth problem
I 'm suprised..today when I came to compile my all classfile and changed my library of twitter api to new version. Also as you said i changed date first to Jan 01 2010 and again at Sept 22 the xAuth worked fine without any exception. Can you tell me what is happening on me.. I don't know how it was fixed my date was already at Sept 22 .Has Twitter blocked my keys or secret? I use xAuth everytime the user logins. I don't save any information neither tokens for user's privacy. So i don't think it's cause of twitter is it? Thanks.. On Sep 22, 7:06 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Narayan, I'd like to help, but I need more information in order to debug. Can you verify that your consumer key and secret are correct (and the same as what you have stored currently on dev.twitter.com)? Is there any reason you can think of that your application may have become suspended? Taylor On Tue, Sep 21, 2010 at 9:13 PM, Narayan Maharjan ngmm...@gmail.com wrote: Hello Taylor, I 've already checked my timestamp before couple of days. The exception occurs on all of the user who are using my application.So I think it may be due to my own application. I use twitter4j api. It shows exception every time i try to login. Please help. Thanks. On Tue, Sep 21, 2010 at 8:36 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi there, Has anything changed about your environment? Perhaps your clocks have changed and you aren't generating valid timestamps? When you applied and were approved for xAuth, was it a conditional approval meant for transitional purposes? Have you tried utilizing xAuth from another code base? What is the specific Twitter API exception that you are receiving? Taylor On Tue, Sep 21, 2010 at 4:22 AM, privatejava ngmm...@gmail.com wrote: Since many days i can see my xAuth is not working .It gives me error/ exception while i try to login my twitter user via xauth method.My application is a standalone app with api twitter4j.I've even already verified my xAuth but why isn't it working? Please help! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Please help: Easy way to do Oauth/xAuth from VBA?
You can try to look into SuperTweet (www.supertweet.com). You register with them as a proxy. Once you do that, you adjust your own script to include your proxy in the script statement, and they convert the script to a valid OAuth command. There are limitations. For instance, you can only have one user, not multiple users, per OAuth account, but for most people that should be fine. Here is a sample of my original statement. NOTE: I just included the active code, 'START CODE Set objXML = CreateObject(Msxml2.XMLHTTP) objXML.Open POST, _ http://; _ strUserName : _ strTwitterPassword @twitter.com/statuses/update.xml? status= _ strMessage, _ False objXML.setRequestHeader _ Content-Type, _ text/xml objXML.Send 'END CODE The above code is obsolete. What I did was to register my new account with Supertweet. You supply ST with your username and Twitter password. Finally, you create a DIFFERENT password for ST. Once your registration is finished, you structure your code a bit different. The big difference, is that you don't use your Twitter password in the new code, but you use the SuperTweet password. Here is the new code: 'BEGIN CODE Set objXML = CreateObject(Msxml2.XMLHTTP) objXML.Open POST, _ http://api.supertweet.net/1/statuses/update.xml;, _ False, _ strUserName, _ strTweetPassword objXML.setRequestHeader _ Content-Type, _ application/x-www-form-urlencoded objXML.Send status= strMessage 'END CODE As you can see, there are two major differences. The first difference is the different CURL statement, along with using the SuperTweet password instead of the Twitter password. The second difference is the Request Header parameter. Replace text/ xml with application/x-www-form-urlencoded (NOTE: There is a space at the end of application/x-www-form- urlencoded . This may or may not have an effect on your own stuff. Hope this helps. Obviously, there are a lot of other commands to check, but this should be a good start. On Aug 30, 7:31 pm, Timo elliott.t...@gmail.com wrote: Hi, I have an application that posts tweets automatically from PowerPoint each time a presenter gets to a particular slide: It's a relatively simple VBA script that uses basic authentication (until tomorrow, when it gets turned off!) . Because it's a full- client application, I requested, and obtained, the ability to use xAuth. But I've struggled to find an easy way to use xAuth / Oauth from VBA. I'm not even sure it's possible at all using only VBA -- specifically, I haven't found any native VBA HMAC-SHA1 code, and lack the skills to write one (I found this post on SHA1 in VBA, but don't know how to include the key / HMAC part -- anybody know?:http://splinter.com.au/blog/?p=86). As a workaround, I tried adding a DLL to do the HMAC-SHA1 part, based on this post:http://blog.gobansaor.com/2008/02/22/xlaws-excel-vba-code-for-accessi..., and haven't completely given up, but my attempts so far don't seem to generate the right signature (i.e. when I cut and paste the available xAuth demo code from twitter, I get a different result than they do). I also started checking out the HMAC-SHA1 library fromhttp://www.cryptosys.net/#api, but my application is freeware, so trying to avoid commercial code... And I know there are .Net VB libraries like TwitterVBhttp://twittervb.codeplex.com/, but I don't know how to access those methods/properties from VBA -- is it possible? Could somebody point me to demo code that shows how to use something like that from VBA? Many, many thanks in advance to anybody who can help my application from dying tomorrow!... -- 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] what is the url and parameter of tweet in c++(liboauth)?
2010/9/23 玉柱九天 yuzhujiut...@gmail.com: what is the url and parameters of tweet in c++(liboauth)? i want to code the fuction of tweet in c++ and base on the api liboauth. but don't know tahat is the POST url and parameters? This probably helps http://github.com/gregkh/bti The latest release of bti supports oauth using liboauth -- 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 -- A mathematician is a device for turning coffee into theorems. - Paul Erdos Contacts: +62 857 8038 8298 +62 813 9876 6576 Skype: dwi.sasongko GTalk: ruckuus -- 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] Using Twurl to Update Profile Image
Has anyone been successful in using Twurl to update a user profile image? Pre oAuth, I previously had a curl script: curl -u {UserName}:{Password} --header 'Expect: ' -F image='@{FilePath}' http://api.twitter.com/1/account/update_profile_image.xml; Twurl doesn't like using -F, but not sure how to define the file path... Let me know if you've had any luck. Thanks! William K. -- 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] twitter oAuth 401 Unauthorizd error
There's an oauth_callback in your Base String but not in your POST/Authorization header. Tom On 9/23/10 3:00 AM, bill wrote: I have been working on a 401 error from twitter oAuth, but I have no clue. Please see if you can help me Thanks Log === debug: token is now: debug: token_secret is now: debug: Getting request token from http://twitter.com/oauth/request_token debug: callback: debug: signing request with: HMAC-SHA1 debug: Signing with base string: POSThttp%3A%2F%2Ftwitter.com%2Foauth %2Frequest_tokenoauth_callback%3D%26oauth_consumer_key %3D**%26oauth_nonce %3D%26oauth_signature_method%3DHMAC- SHA1%26oauth_timestamp%3D1285202944%26oauth_version%3D1.0 debug: Signing with key: * debug: * Connected to tcp://twitter.com:80 debug: POST /oauth/request_token HTTP/1.1 debug: User-Agent: HTTP_Request2/0.5.2 (http://pear.php.net/package/ http_request2) PHP/5.3.1 debug: Authorization: OAuth realm=http://twitter.com/;, oauth_consumer_key=**, oauth_nonce=, oauth_signature=*%3D, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1285202944, oauth_version=1.0 debug: Host: twitter.com debug: Accept-Encoding: gzip, deflate debug: Content-Length: 0 debug: debug: HTTP/1.1 401 Unauthorized debug: date: Thu, 23 Sep 2010 00:49:04 GMT debug: server: hi debug: status: 401 Unauthorized debug: x-transaction: 1285202944-71537-9675 debug: last-modified: Thu, 23 Sep 2010 00:49:04 GMT debug: x-runtime: 0.00586 debug: content-type: text/html; charset=utf-8 debug: pragma: no-cache debug: x-revision: DEV debug: expires: Tue, 31 Mar 1981 05:00:00 GMT debug: cache-control: no-cache, no-store, must-revalidate, pre- check=0, post-check=0 debug: x-xss-protection: 1; mode=block debug: x-frame-options: SAMEORIGIN debug: vary: Accept-Encoding debug: content-encoding: gzip debug: content-length: 62 debug: connection: close debug: debug: Failed to validate oauth signature and token debug: * Disconnected Net_URL2 Object ( [_options:Net_URL2:private] = Array ( [strict] = 1 [use_brackets] = 1 [encode_keys] = 1 [input_separator] = [output_separator] = ) [_scheme:Net_URL2:private] = http [_userinfo:Net_URL2:private] = [_host:Net_URL2:private] = twitter.com [_port:Net_URL2:private] = [_path:Net_URL2:private] = / oauth/request_token [_query:Net_URL2:private] = [_fragment:Net_URL2:private] = ) --- In exception block ---ERROR: Failed getting token and token secret from response -- 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