[twitter-dev] Re: graph API call returning 'This Method requires authentication'
A late follow-up on this, but I'm hitting the same problem: - It's only happening with friends/ids.json, all other calls work - Bizarrely I can call it fine from command-line curl on the same machine, but using curl within PHP I get the error - I've tried rejigging my curl/php code to use the in-url syntax (eg someone:passw...@twitter... as the URL) rather than curl_setopt, with no luck The documentation seems to indicate this method doesn't even require authentication, so I'm left scratching my head. If I can create a minimal reproducible case, I'll file an issue, but for now I just want to document this for posterity. Pete On Sun, Jun 7, 2009 at 7:56 AM, developerinlondon wrote: > > Hi, > > For some reason I am getting the above error message returned for a > specific ID only: > > curl -u username:password > http://twitter.com/friends/ids.xml?user_id=2064571515 > > > /friends/ids.xml?user_id=2064571515 > This method requires authentication. > > > Any other Twitter IDs it works fine and I get a list of IDs for them. > Eg the following works: > curl -u username:password > http://twitter.com/friends/ids.xml?user_id=23943320 > > Any ideas what I need to be doing to fix this? > The pattern seems to be always occuring when I try a UserID with 10 > digits. > > Thanks, > > Nayeem >
[twitter-dev] Re: Twitter recripocal follow feature
This is how Facebook friends works, I am not sure it would work well within the Twitter community. On Aug 29, 2:41 pm, StuffDone wrote: > Is there or can there be a recripocal option in Twitter that does one > or both of the following. > > 1) When clicking to follow, places a stipulation on acceptance that > the followed person agrees to follow the person making the request. > > 2) Filter to search followed to find out which of those you follow are > also following you in return. > > I would like to be able to set up my Twitter to follow only those who > also follow me and to make acceptance a condition of mutual > "following". > > I believe this would be a very desirable feature for Twitter that > improves the value of a Twitter account. > > Thanks. > > p...@paulkruger.us
[twitter-dev] Re: help!!!
Generally that would mean the picture is too big. It can't be over 700k. Your second question? Wordpress/PEBKAC issue. Find your answers there. ∞ Andy Badera ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera) On Sat, Aug 29, 2009 at 8:42 PM, francina wrote: > > i can't upload a picture for my twitter account, it says the pic is > too big. what does this mean? also, i tried to link a wordpress blog > to twitter and it says my page does not exist. what does this mean??? > I need your help soon please! > ~francina >
[twitter-dev] help!!!
i can't upload a picture for my twitter account, it says the pic is too big. what does this mean? also, i tried to link a wordpress blog to twitter and it says my page does not exist. what does this mean??? I need your help soon please! ~francina
[twitter-dev] Re: Twitter recripocal follow feature
How, exactly, does this improve the value of a Twitter account? On Aug 29, 3:41 pm, StuffDone wrote: > Is there or can there be a recripocal option in Twitter that does one > or both of the following. > > 1) When clicking to follow, places a stipulation on acceptance that > the followed person agrees to follow the person making the request. > > 2) Filter to search followed to find out which of those you follow are > also following you in return. > > I would like to be able to set up my Twitter to follow only those who > also follow me and to make acceptance a condition of mutual > "following". > > I believe this would be a very desirable feature for Twitter that > improves the value of a Twitter account. > > Thanks. > > p...@paulkruger.us
[twitter-dev] Re: Receiving Invalid 403 Errors - You cannot send messages to users who are not following you.
i believe the dm limit is 250 per day. http://help.twitter.com/forums/10711/entries/15364 Joseph Cheek jos...@cheek.com, www.cheek.com twitter: http://twitter.com/cheekdotcom Dewald Pretorius wrote: > Are you sending the news items to your users via DMs? > > If so, your service will be severely restricted by the 1,000 DMs per > day limit. > > Dewald > > On Aug 28, 10:37 pm, bosher wrote: > >> Hello, >> >> My Twitter service just launched today -http://tweetmenews.com/ >> >> After having a surge in users joining the site, I'm now receiving the >> following error messages: >> >> 403:The request is understood, but it has been refused. An >> accompanying error message will explain why. >> /direct_messages/new.xml >> You cannot send messages to users who are not following you.> error> >> >> I manually checked that the users I'm getting this error for are in >> fact following following the service's Twitter >> Account:http://twitter.com/TweetMeNews >> >> Can someone offer some ideas on why this is suddenly happening? This >> is obvious not ideal for day 1. >> >> Thanks >>
[twitter-dev] Re: heavy throttling by search.twitter.com API from GAE application
I'm not sure if this is related. I've been using Services_Twitter to use the Search API and I keep getting the error message "Unsupported endpoint search". I'm searching a simple 7-letter word. Anyone have any idea what that message means? Maybe this is related to something going on with Twitter's Search API?
[twitter-dev] Re: Statuses/destroy is returning 400 even though tweet is deleted sucessfully
I have the same problem right now. Exactly as above all. On Aug 28, 5:03 am, Naveen Ayyagari wrote: > I am seeing this issue as well. Users are reporting it very frequently > now... > > At first I thought it was a bug in the client, but it happens every > time I try to delete a status right now, and it has become one of the > highest reported bugs in out app. > > Twitter reports 400 with the JSON below, but the message is > successfully deleted. > { > "request":"\/statuses\/destroy\/3587663087.json", > "error":"We could not delete that status for some reason." > > } > > Looking at this thread it seems to be a problem for at least a week, > can we get some kind of official nod that the issue is at least on the > Twitter teams radar? > > On Aug 26, 2009, at 2:41 PM, Tom Nichols wrote: > > > > > +1 - I am experiencing the same problem. > > > I'm running Twitter API requests as part of a unit test for my code > > (HTTPBuilder-http://groovy.codehaus.org/modules/http-builder/). This > > has always worked fine up until a couple weeks ago. Looks like there > > is a bug report here: > >http://code.google.com/p/twitter-api/issues/detail?id=949 > > > It might have something to do with the time between when the tweet is > > posted and deleted -- at least in my case, my unit test creates the > > tweet and deletes it just a second or two later. It could have to do > > with cluster propagation -- i.e. the original post hasn't been > > propagated to the node which is handling the 'delete.' I'm just > > speculating of course, but before this error cropped up, I was seeing > > a different behavior where sometimes the delete request would return > > successfully, but my tweet would remain visible. This is probably a > > similar root cause, except the delete occurs while the post is still > > propagating, and makes it to a cluster node after the delete > > propagates or something. I tried putting a delay of ~10s between the > > post and delete, and it did not seem to help... > > > On Aug 19, 9:18 am, srikanth reddy wrote: > >> yes i too encountered this (both status/destroy and direct_messages/ > >> destroy > >> are giving 400 error but the status gets deleted successfully. The > >> response > >> text says something like "somehow we could not delete this tweet." > > >> On Wed, Aug 19, 2009 at 3:38 PM, deepikagupta > >> wrote: > > >>> Hi, > > >>> I am facing an issue with statuses/destroy API call. It returns 400 > >>> (bad request) even though mentioned tweet id is delered sucessfully. > > >>> The method was working fine few days back but started gicing trouble > >>> recently. > > >>> Anyone having same trouble? Is anything wrong with this API call? > >
[twitter-dev] Twitter recripocal follow feature
Is there or can there be a recripocal option in Twitter that does one or both of the following. 1) When clicking to follow, places a stipulation on acceptance that the followed person agrees to follow the person making the request. 2) Filter to search followed to find out which of those you follow are also following you in return. I would like to be able to set up my Twitter to follow only those who also follow me and to make acceptance a condition of mutual "following". I believe this would be a very desirable feature for Twitter that improves the value of a Twitter account. Thanks. p...@paulkruger.us
[twitter-dev] /friendships/destroy.json /blocks/blocking /blocking/ids
Couple of issues sprouting, i have been editing the code so i'm going back and back over for some error at my end, but it's looking mighty odd. It looks like: /friendships/destroy.json is not being updated blocks/blocking.json is not returning the same users as /blocks/ blocking/ids.json Logging below. My ip for is 67.23.28.168 and times Europe/London. logging for friendships/destory: 2009-08-29 17:10:56,702 - twitterauth.utils - INFO - twitter api exe. - https://twitter.com/friendships/destroy.json. kwargs={'screen_name': u'arthurcooke'} method=POST is_auth=True 2009-08-29 17:10:57,166 - twitterauth.utils - DEBUG - api auth response, {u'id': 16612822, u'verified': False, u'profile_sidebar_fill_color': u'252429', u'profile_text_color': u'66', u'followers_count': 14, u'protected': True, u'location': u'Leeds, UK', u'profile_background_color': u'1A1B1F', u'status': {u'favorited': False, u'truncated': False, u'text': u'Relaxing in Aspen.', u'created_at': u'Mon Aug 10 22:45:51 + 2009', u'source': u'web', u'in_reply_to_status_id': None, u'in_reply_to_screen_name': None, u'in_reply_to_user_id': None, u'id': 3233921143}, u'utc_offset': 0, u'statuses_count': 46, u'description': u'Runner, Mountain Biker, Science Teacher, Film Fan', u'friends_count': 18, u'profile_link_color': u'2FC2EF', u'profile_image_url': u'http:// a3.twimg.com/profile_images/81150781/IMG_0320_normal.JPG', u'notifications': False, u'profile_background_image_url': u'http:// s.twimg.com/a/1251493570/images/themes/theme9/bg.gif', u'screen_name': u'arthurcooke', u'profile_background_tile': False, u'favourites_count': 0, u'name': u'arthur cooke', u'url': None, u'created_at': u'Mon Oct 06 12:07:50 + 2008', u'time_zone': u'London', u'profile_sidebar_border_color': u'181A1E', u'following': True} then..not long later 2009-08-29 17:10:59,746 - twitterauth.utils - INFO - twitter api exe. - https://twitter.com/statuses/friends.json. kwargs={'screen_name': u'b_e_n_', 'page': 1} method=GET is_auth=False the response is parsed and friends username listed in log..note including the one who was just destroyed. 2009-08-29 17:11:00,206 - twittersearch.models - DEBUG - get current friends for b_e_n_ - [u'TomChivers', u'Love_London', u'Fast140', u'performativeweb', u'bbcbreaking', u'rhonafwelsh', u'danifromCO', u'elliottzone', u'maustyn', u'unstuckdesign', u'arthurcooke', u'jools2'] logging for blocks/blocking, last few logs show 3 blocked users from blocking.json and 2 from ids.json: 009-08-29 17:11:39,268 - twitterauth.utils - INFO - twitter api exe. - https://twitter.com/blocks/blocking.json. kwargs={'page': 1} method=GET is_auth=True 2009-08-29 17:11:39,608 - twitterauth.utils - DEBUG - api auth response, [{u'id': 16803782, u'verified': False, u'profile_sidebar_fill_color': u'e0ff92', u'profile_text_color': u'00', u'followers_count': 8, u'protected': False, u'location': u'United States', u'profile_background_color': u'9ae4e8', u'utc_offset': -32400, u'statuses_count': 0, u'description': u':spends a lot of hours surfing the net', u'friends_count': 111, u'profile_link_color': u'ff', u'profile_image_url': u'http:// a3.twimg.com/profile_images/ 62184497/212297864a2022621782b584997122l_normal.jpg', u'notifications': False, u'profile_background_image_url': u'http:// s.twimg.com/a/1251493570/images/themes/theme1/bg.gif', u'screen_name': u'SARAH161008', u'profile_background_tile': False, u'favourites_count': 0, u'name': u'SARAH161008', u'url': u'http://MY- OWN-PAGE.TK', u'created_at': u'Thu Oct 16 07:03:12 + 2008', u'time_zone': u'Alaska', u'profile_sidebar_border_color': u'87bc44', u'following': False}, {u'id': 16804065, u'verified': False, u'profile_sidebar_fill_color': u'e0ff92', u'profile_text_color': u'00', u'followers_count': 7, u'protected': False, u'location': u'', u'profile_background_color': u'9ae4e8', u'utc_offset': -32400, u'statuses_count': 0, u'description': u':wants to GAIN weight!wants to try bungee jumping & sky diving (but im acrophobic)', u'friends_count': 84, u'profile_link_color': u'ff', u'profile_image_url': u'http://a1.twimg.com/profile_images/ 62185674/212297864a2698743034b849032084l_normal.jpg', u'notifications': False, u'profile_background_image_url': u'http:// s.twimg.com/a/1251493570/images/themes/theme1/bg.gif', u'screen_name': u'JOYCE161008', u'profile_background_tile': False, u'favourites_count': 0, u'name': u'JOYCE161008', u'url': u'http://MY- OWN-PAGE.TK', u'created_at': u'Thu Oct 16 07:40:38 + 2008', u'time_zone': u'Alaska', u'profile_sidebar_border_color': u'87bc44', u'following': False}, {u'id': 69771552, u'verified': False, u'profile_sidebar_fill_color': u'e0ff92', u'profile_text_color': u'00', u'followers_count': 3, u'protected': False, u'location': None, u'profile_background_color': u'9ae4e8', u'status': {u'favorited': False, u'truncated': False, u'text': u'except whole foods mac n cheese is just not as good as kraft. http://a4a2b.easyurl.net', u'created_at': u'Sat Aug 29 10:49:
[twitter-dev] 401 Error
I need some help Sorry for my English(I'm from Brazil). I'm developing one program using oAuth and c# twitter library... Everything works fine except when I try to send an update using characters like 'ç'... I make some tests and I have strange results... e.g: When I send an update "Vou Almoçar!" (I'm going to have lunch) I get error 401 Unauthorized... but if simply send 'ç' as update I don't get the 401 error...But there is another problem. If i change the 'ç' to 'c' I don't get the error too. Someone help?
[twitter-dev] Can someone give or help me make a recurring tweets script
I'm looking to generate a twitter recurring tweet script so I can host it on my site for personal use.
[twitter-dev] Re: Build a Library based on OAuth
Well, of course when I wrote "store", I meant to write those values inside web.config file; so in a manner that lets me change them easily. The question here is if it correct to read Token ad TokenSecret and use those values so I have not to log in every times. This is a library that I use inside my server and against my account. Thanks. On 28 Ago, 21:44, Andrew Badera wrote: > Noo. > > You should always be prepared to request new tokens on behalf of > users, and you should always be ready to swap your app's consumer key > and secret. > > Never store any sort of hardcoded string -- like your tokens -- in > your applications. Worst case, put them in a human-readable config > file the system parses out on-load. (Some frameworks make it easy. > .NET .config files, Python YAML files.) Better, store everything in a > DB, and be prepared to re-approve and re-pop your DB on the fly. > > ∞ Andy Badera > ∞ This email is: [ ] bloggable [x] ask first [ ] private > ∞ Google me:http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera) > > On Thu, Aug 27, 2009 at 12:22 PM, > > > > slexten...@alice.it wrote: > > > Hello, I just want a confirmation. > > I need to build a library to enhance my CMS. > > I need that news added on my portal are added to Twitter too. > > I got my Twitter account, and I got my Twitter application. > > To add a tweet by code I allowed my app on my twitter account. > > I derived from a debug session the OAuth Token and the OAuth > > TokenSecret so, since those values will not expire, I store them in my > > app and I use without re-log/auth my app. > > > Is this a correct approach? > > Thanks- Nascondi testo citato > > - Mostra testo citato -
[twitter-dev] blocks/blocking - page paramater dodgy?
Hi, Could be me, but I'm gettings matching returns from blocks/blocking whatever the page parameter is, logging below. Also i'm finding the blocking/ids not returning the same as the blocks/ blocking results. Are the /ids/ results cached? If so, is this true of all the friends/followers/ id methods? 2009-08-29 15:06:05,851 - twitterauth.utils - INFO - twitter api exe. - https://twitter.com/blocks/blocking.json. kwargs={'page': 1} method=GET is_auth=True 2009-08-29 15:06:06,823 - twitterauth.utils - DEBUG - api auth response, [{'id': 16803782, 'verified': False, 'profile_sidebar_fill_color': 'e0ff92', 'profile_text_color': '00', 'followers_count': 8, 'protected': False, 'location': 'United States', 'profile_background_color': '9ae4e8', 'utc_offset': -32400, 'statuses_count': 0, 'description': ':spends a lot of hours surfing the net', 'friends_count': 111, 'profile_link_color': 'ff', 'profile_image_url': 'http://a3.twimg.com/profile_images/ 62184497/212297864a2022621782b584997122l_normal.jpg', 'notifications': False, 'profile_background_image_url': 'http://s.twimg.com/a/ 1251493570/images/themes/theme1/bg.gif', 'screen_name': 'SARAH161008', 'profile_background_tile': False, 'favourites_count': 0, 'name': 'SARAH161008', 'url': 'http://MY-OWN-PAGE.TK', 'created_at': 'Thu Oct 16 07:03:12 + 2008', 'time_zone': 'Alaska', 'profile_sidebar_border_color': '87bc44', 'following': False}, {'id': 16804065, 'verified': False, 'profile_sidebar_fill_color': 'e0ff92', 'profile_text_color': '00', 'followers_count': 7, 'protected': False, 'location': '', 'profile_background_color': '9ae4e8', 'utc_offset': -32400, 'statuses_count': 0, 'description': ':wants to GAIN weight!wants to try bungee jumping & sky diving (but im acrophobic)', 'friends_count': 84, 'profile_link_color': 'ff', 'profile_image_url': 'http://a1.twimg.com/profile_images/ 62185674/212297864a2698743034b849032084l_normal.jpg', 'notifications': False, 'profile_background_image_url': 'http://s.twimg.com/a/ 1251493570/images/themes/theme1/bg.gif', 'screen_name': 'JOYCE161008', 'profile_background_tile': False, 'favourites_count': 0, 'name': 'JOYCE161008', 'url': 'http://MY-OWN-PAGE.TK', 'created_at': 'Thu Oct 16 07:40:38 + 2008', 'time_zone': 'Alaska', 'profile_sidebar_border_color': '87bc44', 'following': False}, {'id': 69771552, 'verified': False, 'profile_sidebar_fill_color': 'e0ff92', 'profile_text_color': '00', 'followers_count': 3, 'protected': False, 'location': None, 'profile_background_color': '9ae4e8', 'status': {'favorited': False, 'truncated': False, 'text': 'except whole foods mac n cheese is just not as good as kraft. http://a4a2b.easyurl.net', 'created_at': 'Sat Aug 29 10:49:19 + 2009', 'source': 'web', 'in_reply_to_status_id': None, 'in_reply_to_screen_name': None, 'in_reply_to_user_id': None, 'id': 3623286748L}, 'utc_offset': None, 'statuses_count': 1, 'description': None, 'friends_count': 690, 'profile_link_color': 'ff', 'profile_image_url': 'http:// a1.twimg.com/profile_images/387598494/12215739_lynde_20_normal.gif', 'notifications': False, 'profile_background_image_url': 'http:// s.twimg.com/a/1251493570/images/themes/theme1/bg.gif', 'screen_name': 'Blackburn432', 'profile_background_tile': False, 'favourites_count': 0, 'name': 'TrinidadBlackburn', 'url': None, 'created_at': 'Sat Aug 29 03:05:08 + 2009', 'time_zone': None, 'profile_sidebar_border_color': '87bc44', 'following': False}] 2009-08-29 15:06:06,824 - twitterauth.utils - INFO - twitter api exe. - https://twitter.com/blocks/blocking.json. kwargs={'page': 2} method=GET is_auth=True 2009-08-29 15:06:07,710 - twitterauth.utils - DEBUG - api auth response, [{'id': 16803782, 'verified': False, 'profile_sidebar_fill_color': 'e0ff92', 'profile_text_color': '00', 'followers_count': 8, 'protected': False, 'location': 'United States', 'profile_background_color': '9ae4e8', 'utc_offset': -32400, 'statuses_count': 0, 'description': ':spends a lot of hours surfing the net', 'friends_count': 111, 'profile_link_color': 'ff', 'profile_image_url': 'http://a3.twimg.com/profile_images/ 62184497/212297864a2022621782b584997122l_normal.jpg', 'notifications': False, 'profile_background_image_url': 'http://s.twimg.com/a/ 1251493570/images/themes/theme1/bg.gif', 'screen_name': 'SARAH161008', 'profile_background_tile': False, 'favourites_count': 0, 'name': 'SARAH161008', 'url': 'http://MY-OWN-PAGE.TK', 'created_at': 'Thu Oct 16 07:03:12 + 2008', 'time_zone': 'Alaska', 'profile_sidebar_border_color': '87bc44', 'following': False}, {'id': 16804065, 'verified': False, 'profile_sidebar_fill_color': 'e0ff92', 'profile_text_color': '00', 'followers_count': 7, 'protected': False, 'location': '', 'profile_background_color': '9ae4e8', 'utc_offset': -32400, 'statuses_count': 0, 'description': ':wants to GAIN weight!wants to try bungee jumping & sky diving (but im acrophobic)', 'friends_count': 84, 'profile_link_color': 'ff', 'profile_image_url': 'http://a1.twi
[twitter-dev] Repeating tweets
Hi Wonder if any of you guys can help explain something to me. Why or what causes repeating tweets? For example (and there are loads of these if you look hard enough!) http://twitter.com/#search?q=For%20me%2C%20I%20don't%20see%20what%20he%20said%20as%20simply%20right Why would these accounts be posting the same tweet? It's done via API, obviously by robotic/spam accounts as they appear to be following lots of people but no one following them back. How do these spammers identify which tweets to repeat? (they don't even retweet!) What's their purpose/goal? Should I just report them as @spam as I come across them? I did look for an FAQ or previous post, but couldn't see anything that matched, although plenty of articles regarding twitter spam! Seems to becoming more and more of a problem. Help cure my curiosity :) md2k9
[twitter-dev] another twitter archival/offline browsing software - twitter-to-pdf
hi, here is the link - https://sourceforge.net/projects/twitter-to-pdf/ Its a java web application that runs on jetty/derby, and saves multi user tweets in xml, html, consolidated PDF. benefit - starting page- instead of seeing 20 tweets, see- 10,000 tweets ,Things remain in db even if 3200 tweet limit exceeded, regular cleanups... (just 8 java files) Thanks & Cegards -Hari Sujathan
[twitter-dev] OAuth and landing+source searches
I'm trying to understand how to search for tweets originating from an OAuth app. I only seem to be able to do source searches for apps that are grandfathered in from the old basic auth days, e.g. http://search.twitter.com/search.atom?q=landing+source:tweetie http://search.twitter.com/search.atom?q=landing+source:twitterrific http://search.twitter.com/search.atom?q=landing+source:tweetdeck A few questions: 1) Are OAuth-based app sources searchable by name, or is this not yet implemented? 3) How, if at all, do these source names differ from the value of the Application Name field at http://twitter.com/apps/edit/ 2) If the app name has a space, e.g. "Foo Bar", what should be passed for the value of landing+source? "foo+bar"? "foobar"? TIA. I'm hoping that I'm just doing something wrong...
[twitter-dev] Characters Multiply Escaped?
It appears as though some characters are getting multiply escaped in the XML responses, is this by design? Unfortunately, it's causing a problem for an application that I am writing. I am using expat to parse a friends_timeline response and displaying the message in a Gtk application. Consider the following (partial) text element in the XML: ...for fall. ->@inspiredjen The original, intended message reads "...for fall. ->@inspiredjen". As you can see, it appears the greater-than sign is escaped twice...once to >, and then again to >. The problem is, there are other characters in other messages that are getting escaped just once, as you'd expect. For example, in the same fetch I am currently running, standalone ampersands are getting properly escaped as &. The end result is that some characters will display properly and some won't. Oddly enough, it is displaying properly on the web, and in Tweetie. Any suggestions?
[twitter-dev] Getting screen name from user id without rate limit
I'm trying to develop a twitter app that checks if someone is a spammer. I have the userid, but to get the screenname I have to call http://twitter.com/users/show.xml?id= which causes a limit request. Once I have the screen name I could get the data I need without a limit request. Does anyone know a way to get the screen name from a user Id without incurring a rate limit charge?
[twitter-dev] Re: Started getting "Incorrect Signature" but I verified the signature is correct
I'm having the same issue with the same api call. I can call verify_credentials and get back a valid response but passing the same details to this resource gets me the "Incorrect signature". On Aug 28, 2:48 am, jmathai wrote: > Not sure what I'm doing wrong here (but I've been doing it for 2 days > now). I'm having trouble with a specific call. I plugged the values > into Eran's form to validate that my signature was correct (assuming > his form is correct). They match. Anyone else having problems with > this? > > http://www.hueniverse.com/hueniverse/2008/10/beginners-gui-1.html > > jmat...@[~]: telnet twitter.com 80 > Trying 168.143.162.100... > Connected to twitter.com. > Escape character is '^]'. > POST /friendships/create.json?id=47537461 HTTP/1.1 > Host: twitter.com > Authorization: OAuth realm="http://twitter.com/friendships/ > create.json",oauth_consumer_key="4oaLychIwGHyFbhe4IRBUA",oauth_token="42099395- > JS6hZgn3BMo3utA312iFITYDZkjIFTW27icq0iHFb",oauth_nonce="9235222c326d637cbfb3980dcfc5d18a",oauth_timestamp="1251441668",oauth_signature_method="HMAC- > SHA1",oauth_version="1.0",oauth_signature="fQjwjlUSia%2BZhEFsN > %2FXwRvCSmWM%3D" > > HTTP/1.1 401 Unauthorized > Date: Fri, 28 Aug 2009 06:41:31 GMT > Server: hi > WWW-Authenticate: Basic realm="Twitter API" > Status: 401 Unauthorized > Cache-Control: no-cache, max-age=300 > Content-Type: application/json; charset=utf-8 > Content-Length: 82 > Set-Cookie: lang=en; path=/ > Set-Cookie: > _twitter_sess=BAh7CToTcGFzc3dvcmRfdG9rZW4iLWVlODFlYzNjODJhZWUxMzNmNGQ4MzFh > %250ANmFjNTQzMmE1OTBhMjgwNjI6CXVzZXJpBMNiggI6B2lkIiU3NTM1MmRmNzA2%250AYzUzYWU4MjBlNTdmNjYxYTBlNDFjZCIKZmxhc2hJQzonQWN0aW9uQ29udHJv > %250AbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%253D%253D-- > b67e2c06caf9578fbc9aedba5ba7ec6a6c46afb3; domain=.twitter.com; path=/ > Expires: Fri, 28 Aug 2009 06:46:30 GMT > Vary: Accept-Encoding > Connection: close > > {"request":"\/friendships\/create.json?id=47537461","error":"Incorrect > signature"}Connection closed by foreign host.
[twitter-dev] Re: Automated URL shortening
I have seen my URLs both shorted and not; it appeared to me that the gating factor was the length of the tweet - if the non-shortened version fit in 140 chars, it would leave it alone. this was just based on observation, however. Joseph Cheek jos...@cheek.com, www.cheek.com twitter: http://twitter.com/cheekdotcom Andrew Badera wrote: > Shortening is sometimes turned off due to system issues or bit.ly issues. > > ∞ Andy Badera > ∞ This email is: [ ] bloggable [x] ask first [ ] private > ∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera) > > > > On Thu, Aug 27, 2009 at 3:40 PM, Matt Terenzio wrote: > >> Are the rules on whether a URL is automatically shortened or not >> openly available anywhere? >> >> I was pushing a URL like this through the API: >> >> http://www.domain.com/story/1234567 >> >> and it is not shortened in the tweet. >> >> I decided to implement my own short URLs and started pushing this >> through: >> >> http://go.domain.com/12xhf >> >> and it seemed like that caused it to be converted to a bit.ly URL >> >> Can that be true? >>
[twitter-dev] Re: Wondering if this would be against TOS
Thank you for the clarification, glad to hear that it shouldn't conflict with the TOS. On 8/28/09, Andrew Badera wrote: > > 1. If you're not putting messages in front of someone, it's not spam. > If you're not aggressively following and @'g people, it's probably not > spam. > 2. It would probably be better to do it all with one account -- most > users don't wish to sign up for and maintain more than one. But people > having multiple accounts is not, to my knowledge, against TOS by any > means. (But maybe it should be ) > > ∞ Andy Badera > ∞ This email is: [ ] bloggable [x] ask first [ ] private > ∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera) > > > > On Fri, Aug 28, 2009 at 12:24 AM, Peter J. Walsh wrote: >> >> tl;dr: I'm a hobbyist programmer writing an application that passes >> data to/from devices using twitter, and was wondering if this would be >> a violation of the TOS? >> >> or if you prefer, the longer version: >> >> I'm a hobbyist programmer writing an application. An application that >> controls other applications on a host by receiving data sent to >> twitter from a remote device such as a cell phone. It's not very far >> along, so far the only thing it can do is query the status of uTorrent >> at the request of the remote device and return it through direct >> messaging, and add torrents passed through a direct message. I was >> wondering if this portion would constitute spam? >> >> The application also requires a person to have two accounts, one for >> themselves, and one for the application. As a hobbyist programmer I >> don't really spread my applications around, just to a few people to >> help test them. So far this particular application has only been sent >> to one other person. So I was wondering also if this creation of two >> accounts would cause issues? If this would cause issues, I could >> rewrite the application to only need one account for all it's users, >> but this would hinder it's adoption of other applications that don't >> support a HTTP interface. >> >> Of course if any of these things would cause any issues I would be >> more than willing to discontinue development. >> >
[twitter-dev] Re: Automated URL shortening
I use my own URL shortener with the help of WordPress, WordTwit (a plugin). I bought a shortened version of my domain name (joebrooks.me - joeb.me) I get URLs that are like this http://joeb.me/hv ,as long as I keep up my own database the URLS will never fail. On Thu, Aug 27, 2009 at 2:40 PM, Matt Terenzio wrote: > > Are the rules on whether a URL is automatically shortened or not > openly available anywhere? > > I was pushing a URL like this through the API: > > http://www.domain.com/story/1234567 > > and it is not shortened in the tweet. > > I decided to implement my own short URLs and started pushing this > through: > > http://go.domain.com/12xhf > > and it seemed like that caused it to be converted to a bit.ly URL > > Can that be true? >
[twitter-dev] Re: Started getting "Incorrect Signature" but I verified the signature is correct
I am actually having the same issue with the same api call. All of my other requests work but friendships/create gives me "Incorrect signature". On Aug 28, 2:48 am, jmathai wrote: > Not sure what I'm doing wrong here (but I've been doing it for 2 days > now). I'm having trouble with a specific call. I plugged the values > into Eran's form to validate that my signature was correct (assuming > his form is correct). They match. Anyone else having problems with > this? > > http://www.hueniverse.com/hueniverse/2008/10/beginners-gui-1.html > > jmat...@[~]: telnet twitter.com 80 > Trying 168.143.162.100... > Connected to twitter.com. > Escape character is '^]'. > POST /friendships/create.json?id=47537461 HTTP/1.1 > Host: twitter.com > Authorization: OAuth realm="http://twitter.com/friendships/ > create.json",oauth_consumer_key="4oaLychIwGHyFbhe4IRBUA",oauth_token="42099395- > JS6hZgn3BMo3utA312iFITYDZkjIFTW27icq0iHFb",oauth_nonce="9235222c326d637cbfb3980dcfc5d18a",oauth_timestamp="1251441668",oauth_signature_method="HMAC- > SHA1",oauth_version="1.0",oauth_signature="fQjwjlUSia%2BZhEFsN > %2FXwRvCSmWM%3D" > > HTTP/1.1 401 Unauthorized > Date: Fri, 28 Aug 2009 06:41:31 GMT > Server: hi > WWW-Authenticate: Basic realm="Twitter API" > Status: 401 Unauthorized > Cache-Control: no-cache, max-age=300 > Content-Type: application/json; charset=utf-8 > Content-Length: 82 > Set-Cookie: lang=en; path=/ > Set-Cookie: > _twitter_sess=BAh7CToTcGFzc3dvcmRfdG9rZW4iLWVlODFlYzNjODJhZWUxMzNmNGQ4MzFh > %250ANmFjNTQzMmE1OTBhMjgwNjI6CXVzZXJpBMNiggI6B2lkIiU3NTM1MmRmNzA2%250AYzUzYWU4MjBlNTdmNjYxYTBlNDFjZCIKZmxhc2hJQzonQWN0aW9uQ29udHJv > %250AbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%253D%253D-- > b67e2c06caf9578fbc9aedba5ba7ec6a6c46afb3; domain=.twitter.com; path=/ > Expires: Fri, 28 Aug 2009 06:46:30 GMT > Vary: Accept-Encoding > Connection: close > > {"request":"\/friendships\/create.json?id=47537461","error":"Incorrect > signature"}Connection closed by foreign host.
[twitter-dev] statuses/followers.xml and statuses/followers.json can return different results?
It looks like the two requests don't always return the same content. I'm seeing the xml version return the following.. Sat Aug 29 14:23:24 + 2009 3625414292 - It's probably bad form to wear a white dress to a bridal shower when you're not the bride right? Pity, b/c I have a dress I'm dying to wear. and the json return this status":{..."text":"Next named storm is developing. Hope it does not get into the Gulf in time to ruin people's Labor Day plans.","created_at":"Tue Aug 25 12:34:19 + 2009",... Notice that the status is from several days ago. The user in question has a protected account, if that makes a difference.
[twitter-dev] if you will be using the Geolocation API ...
reading up on the dev list, I noticed some replies to the geolocation thing and sorry to matt for picking his reply ;)) I'd like to add some of the "usual stuff we know US based devs do forget but would be really great if they just thought about it because the rest of the world likes to use them too". Also I am surprised that the geolocation of the person can be attached to the tweets but still not to the profile - something which would make location based services so much easier, even without having each tweet tell the world where you are? Short summary: - when developping your app, please make sure to get international users to test them and get their input so you don't make something US-only - before adding a geo location to every tweet, i rather expect people to be willing to add a real location in long / lat to their profile. having it just in the tweets is the second step without doing the first. the ecosytem would profit much more from it, would it be a profile thing. On Fri, Aug 21, 2009 at 17:00, Matt Kaufman wrote: > > I think that issue can be simplified down to zip code radiAl query > (simple) once you know the users relevent vicinity. It's not like > browsers are actually accurate as an actual gps (netbooks iPhone... > Chipsets will change that soon) great. my zipcode is 23554, and that resolves to Lübeck, SH. :) As in: there is more on the world than just US zipcodes. Searches for anything outside of the US have been proven to be quite ineffective as they resolve around things currently like name of town. And that usually fails alone because the search does not recognize the name of the town as it is locally. // Sorting / overemphasize of state level Very often, location based application do go for the state level (as the US has so many of them) and does include the country, but neglects that others might like geographic centers. If you do an application please use a format like continent - country - town - exact location state in this is optional in many cases and not the center point in many countries. more often than that, there is the additional level above town like "car plate key" or else. // Outputting wrong characters if you use the application to resolve against something with the coordinates please make sure your application does understand special characters when you output them (like Lübeck) // I dont want to share that As a user, I might want to share with the world my country or my town where I am currently at but not pinpointing me on the map. Matt also brought up the the point about threats on exact geolocation. I know of at least one couple who got separated because the guy did a location aware thing from the new girls house. But I would not mind sharing my location in my profile in general. For purposes of human profile readers, I do not put long and lat in my profile, and if I do use the correct "Lübeck, Deutschland" most of my visitors do not understand if they are from outside Germany. Which is why I am opting for Germany. Not because I want -but because that is the lowest thing we all can agree on being understandable. Nicole
[twitter-dev] Re: Best way to get tweets from me, to me, mentioning me
On Thu, Aug 27, 2009 at 06:47, Scott Haneda wrote: > > Thanks. These users will be mobile, largely, and asking them to log in to > see what will amount to "comments" is asking too much. This is more a add > on feature that some may find value in. Why would they want to see their own messages then? besides that, going for @username is good in the search - except the search has proven to provide unreliable results in the past. sign up for a service like tweetlater and hootsuite and do the same tracking in all three services, and notice the differences. add the @replies on the website and it is the best to cache the results back at your place. ;) NIcole