Re: [twitter-dev] Twitter Live Data Public Streaming ...
You can use the sample.json, it's about the 1% of the data, anyway a lot of data. http://dev.twitter.com/pages/streaming_api_methods#statuses-sample -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] 500 Error using POST friendships/create
Hey, I'm trying to follow users using the POST friendships/create method on the API but I'm getting a 500 error. The error message told me to post to this group. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Some doubts about API
Thanks, Why no more than 10 per hour? I think it's not hourly limited, because I tested it sending up to 250 messages to a friend in 10 minutes and all was received. In the other hand, 8/hour is a good rate, about 190 DM (invitations for the event) is enough for almost everybody. What do you think? 2011/5/29 Tom van der Woerdt i...@tvdw.eu 250 per day per sending account, spread over the day. Try not to send more than 10 per hour, although I think Twitter divides it in blocks of 4 hours. Better way? I'd say that you shouldn't use Twitter for this. :-) Lifetime of tokens: infinite until revoked. Also, yes you can report an user as spam, but you shouldn't report a Twitter user for things they do on your site. Tom On 5/29/11 2:25 AM, dnog wrote: Hi, I'm planning to build a tool to convocate events, like events on Facebook, but Facebookless, just for twitter users. There is any limitation (added to the 350req/h rate limit) sending direct messages? Is there any better way to notify users? What is the lifetime of the tokens? Can I store it in a DB for example (if infinite lifetime)? Finally, if somebody make a SPAM event, blocking is enough or there is any mechanism to notify Twitter the problem and block the user? Thanks -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Daniel Doña Álvarez - Visit www.qk6.in -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] short twitter tutorial for everyone
Hi I have compiled a very brief tutorial for beginners...view and review. Here is the link. http://vineetdaniel.me/Scalabilty/twitter-development/ Regards Vineet Daniel Cell : +918106217121 Websites : Blog http://vineetdaniel.blogspot.com | Linkedinhttp://in.linkedin.com/in/vineetdaniel | Twitter https://twitter.com/vineetdaniel -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Launching Twitter for iOS using twitter:// url schemes
Hi, I can't find any documentation, or even a place to ask this question, so sorry if this is off-topic... I'm an iOS developer, and I'd like to attempt to open the Twitter app on the device, (from my app) at a particular profile, or even in a state to @mention a particular username. Currently I can do this... BOOL didOpenOtherApp = NO; if ([device respondsToSelector:@selector(isMultitaskingSupported)] [device isMultitaskingSupported]) { NSString *urlString = [NSString stringWithFormat:@twitter:// %@, USER_NAME]; didOpenOtherApp = [NSApp openURL:[NSURL URLWithString:urlString]; } if (!didOpenOtherApp) { NSString *urlString = [NSString stringWithFormat:@https:// twitter.com/%@, USER_NAME]; didOpenOtherApp = [NSApp openURL:[NSURL URLWithString:urlString]; } And, if the user has Twitter for iPhone installed, then it'll open, but it won't go to that profile or anything, so, it responds to twitter:// but not anything in the actual URL, that I can make out. So, essentially, I'm just wondering if there is any documentation on the format of the URL strings that are meaningful to Twitter on iOS devices, and if it's even possible to do what I'm trying here? I'd love to be able to launch the app and put it into a state ready for posting a new tweet, maybe something like: twitter://tweet@USER_NAME Thanks Dan -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] the question about the limitation of the number of api call
Hi, I have read the api document and I found the count of api call is 350 per person. I wondered if my app has plenty of people to use, which is your limitation? For example, I have 100,000 users and they use our app to access the twitter's data. Assume our user will call your api 6 times each throuth our application per hour, can this be supported by your api? If not, how about your limitation about your api calling, can you give me an certain number about this? -- 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] Can you search for tweets linking to any page within a domain?
Say I have a website at http://instantwatcher.com and I want to search for all tweets, including ones condensed by TinyURL, that link to any URL within this domain. Is this possible, and if so how can I do it? Thank you. -- 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] Display tweets according to the design guidelines
Hi there, I want to use the Twitter search API and display tweets formatted according to http://dev.twitter.com/pages/display_guidelines How do I go from a tweet in JSON format to the specified format without having to do the string manipulation myself? Is there a javascript tool that can do this? Thanks -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Search with Geocode
I have problems trying making queries as: http://search.twitter.com/search.json?geocode=37.781157,-122.398720,1mi The results allways: {results:[],max_id:9449483417488384,since_id: 9449483417488384,refresh_url:? since_id=9449483417488384q=,results_per_page:15,page: 1,completed_in:0.017688,warning:adjusted since_id to 9449483417488384 due to temporary error,since_id_str:9449483417488384,max_id_str:9449483417488384,query:} You may try more options at: http://metaki.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Twitter Button does not run into iPhone Web Page
Hi!! Oh yea!! I could check the link and runs OK but if you Open the same link fom twitter application for iPhone an error appears: prohibido. User has been suspended. :b Any idea?? If you Sant to checkit I could send you a DM. My Account is @danielatik Thanks!! On 28 oct, 20:19, Matt Harris thematthar...@twitter.com wrote: Hi Daniel, What error are you receiving. When I load that URL on my device I don't get any errors. Best, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Thu, Oct 28, 2010 at 4:51 PM, Daniel daniel.a...@gmail.com wrote: Hi! I'm developing an address search Bot and I return an URL for users with the map... Example: http://doo.ly/p2b70 If you open this link from an iPhone Safari's an error is occurred... Any idea? -- 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] Twitter Button does not run into iPhone Web Page
Hi! I'm developing an address search Bot and I return an URL for users with the map... Example: http://doo.ly/p2b70 If you open this link from an iPhone Safari's an error is occurred... Any idea? -- 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: Search with geocode does not respect search radius?
the issue is still happening... You could check it at http://metaki.com Some times the search api query with geo params returns tweets with the lat lon of the BIO and not the lat lon of the tweet!!! You may check this problem for example in Santiago de Chile, or in Buenos Aires. On 16 oct, 05:51, Johannes la Poutre jsixp...@gmail.com wrote: Update: the ticket is closed and @TweepsAround seems to be working fine again. Details:http://code.google.com/p/twitter-api/issues/detail?id=1930 Quote: Comment 3 by project member tokofu, Today (13 hours ago) We've deployed some changes which should have fixed this issue so i'm closing the ticket. Many thanks! On Oct 11, 9:38 pm, themattharris thematthar...@twitter.com wrote: Thanks for filing the ticket on this, we'll post there when a fix is deployed. Progress wise I checked in with the team today and they continue to work on a fix. To keep things connected there is another thread that was discussing the issue with geocoded search here: http://groups.google.com/group/twitter-development-talk/browse_thread... More information will be filed on the ticket here: http://code.google.com/p/twitter-api/issues/detail?id=1930 Thanks for bearing with us whilst we work out what went wrong with the location index and how to resolve it. Best, @themattharris On Oct 10, 9:29 pm, Nick nick.fritzkow...@gmail.com wrote: We are having issues with this as well and it has completely broken our system. We have sent many support tickets but have received no response to them. It looks to be breaking plain searches to not just those requested via the API. Some examples of broken searches are: http://search.twitter.com/search?q=bigpond+near%3Aaustralia http://search.twitter.com/search.json?q=bigpondgeocode=-27.766513,13... These were working before this issue. Best Regards Nick Fritzkowski On Oct 6, 2:42 am, Matt Harris thematthar...@twitter.com wrote: This is a know issue which the team is working on at the moment. I'll post an update when a fix is deployed. --- @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Mon, Oct 4, 2010 at 8:36 PM, _ado adri...@tijsseling.com wrote: For what it's worth, I'm seeing the same issue. Radius parameter is completely ignored. Data returned for, for example, a 1 mile radius will return results spanning 60 miles. -- 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: Problem with my curl remote app
is it supposed to work on PHP 5.3.3 ? Or just on php 5.2.x ? On 22 set, 17:02, Tom van der Woerdt i...@tvdw.eu wrote: 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
[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
[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
[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
Fwd: [twitter-dev] twitter api to get current month followers in the removal of basic authentication
Sir, I used twitter api for member's followers, friends etc., I want to draw a google line chart for this month followers or followers by month.(eg., month vs followers added). Is is possible, Please advice me. note: Api need to be used in the removal of basic authentication. Thanks, Greeta -- 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] How can I echo or print the currentloggedinuser's twitter screenName into a a html input?
^^ -- 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: Are IDs globally unique? Or just unique for each object type?
That means no two or more status messages from different users will have same id ever globally or they can have ? Vineet Daniel Cell : +918106217121 Websites : Blog http://vinetedaniel.blogspot.com | Linkedinhttp://in.linkedin.com/in/vineetdaniel | Twitter https://twitter.com/vineetdaniel On Fri, Sep 3, 2010 at 6:54 PM, Colin Howe colintheh...@googlemail.comwrote: Cool. Thanks for the help :) On Sep 3, 2:16 pm, John Kalucki j...@twitter.com wrote: Unique for each object type. On Fri, Sep 3, 2010 at 11:09 AM, Colin Howe colintheh...@googlemail.com wrote: Are IDs globally unique? Or just unique for each object type? In other words, is it possible to have a user with the ID 7 and also a DM with the ID 7? -- 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] OAuth query ?
Hi My app is registered with twitter and I have unique keys to access my status messages etc. Can a different user authenticate using the same keys i.e multiple users using same login module and keys. Can the auth api work like an email login page ? Vineet Daniel -- 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: OAuth rate limit of 150
I had this issue as well. Posted this ticket on the project's page: http://github.com/jnunemaker/twitter/issues#issue/59 On Sep 3, 1:05 pm, Matt Harris thematthar...@twitter.com wrote: Hey Roger, Thanks for posting the solution which worked for you and glad it was sorted out. For completeness the answer to your question about getting a different rate limit on a different IP is expected if authentication isn't happening. This is because each IP has it's own 150 requests. Best, Matt On Fri, Sep 3, 2010 at 7:09 AM, Roger Ertesvåg webfo...@webfokus.no wrote: So just in case case someone else experience the same problem, I solved it by switching from version 0.9.8 to 0.9.7 of the Ruby Twitter Gem. Still not sure what the problem was, but I'm pretty sure I was properly authenticated since I could do things like updating lists. Regards Roger On Aug 31, 10:09 pm, Roger Ertesvåg webfo...@webfokus.no wrote: Hi Matt, thanks for your thorough response. So I assume this rate limit would be IP based then? I did some tests and got different rate limits on the server and on my development machine, which seems to support your theory that I'm not authenticated properly. After some more testing it seems that the problem is in the library, after switching to a previous version I get a rate limit of 350. I will do some more testing tomorrow to confirm this. Again, thanks for your help. Regards Roger On Aug 31, 8:34 pm, Matt Harris thematthar...@twitter.com wrote: Hey Roger, Thanks for sharing your code. A few things about the rate limits you are seeing: The 150 rate limit is for non-authenticated requests to the Twitter API. These requests happen when no user identifying details are sent. The 350 rate limit is for OAuth authenticated requests to the Twitter API. These requests happen when you send a user token and secret. As you are not authenticating with Basic Auth in any of your requests you would only see the unauthenticated rate limit (150) or your OAuth rate limit (350). The reason you could be seeing 150 is that the token and secret you have are no longer valid - although in that situation I would expect us to return an error saying Could not authenticate with OAuth. I'll be looking into other reasons why that might be happening later today. Hope that explains what you are seeing, Matt On Tue, Aug 31, 2010 at 12:39 AM, Roger Ertesvåg webfo...@webfokus.no wrote: Hi, I'm using the ruby twitter gem: http://github.com/jnunemaker/twitter So to set it up I do: oauth = Twitter::OAuth.new(CONFIG['twitter_key'], CONFIG['twitter_secret']) oauth.authorize_from_access(CONFIG['twitter_atoken'], CONFIG['twitter_asecret']) base = Twitter::Base.new(oauth) Then when I do: base.rate_limit_status I get: #Hashie::Mash hourly_limit=150 remaining_hits=150 reset_time=Tue Aug 31 08:26:37 + 2010 reset_time_in_seconds=1283243197 If I use the exact same code for other accounts I have I get: #Hashie::Mash hourly_limit=350 remaining_hits=350 reset_time=Tue Aug 31 08:22:40 + 2010 reset_time_in_seconds=1283242960 Also, if I was not authorized by OAuth shouldn't the limit be even lower? Regards Roger On Aug 31, 1:03 am, Matt Harris thematthar...@twitter.com wrote: Hi Roger, It sounds like the OAuth part of your request isn't being seen by our servers. A rate limit of 150 will be reported whenever you make a request without authorisation. Can you share the code you are using to make the requests so we can see what might be going wrong? Thanks, Matt On Mon, Aug 30, 2010 at 11:30 AM, Roger Ertesvåg webfo...@webfokus.no wrote: The OAuth rate limit for one of my accounts is stuck at 150. From what I'm reading, and seeing from other accounts I have, it is my understanding that it should be 350. What can I do to fix this? Regards Roger Ertesvag -- 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 -- Matt Harris Developer Advocate, Twitterhttp://twitter.com/themattharris -- 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 -- Matt Harris Developer Advocate, Twitterhttp://twitter.com/themattharris -- Twitter developer documentation and
[twitter-dev] Re: Apigee Support for OAuth--
I got to know Apigee this (http://blog.heroku.com/archives/2010/5/27/ apigee_add_on_for_twitter_public_beta/) Heroku newsletter, when they announced the Apigee for Twitter Add-on. Apigee's console has been an incredible tool for tinkering and learning more about with twitter's api. The biggest issue with Apigee is that you can only proxy twitter calls through Heroku add-on, which is troublesome if I need to move on to more powerful cloud services, such as Amazon EC2. On Aug 30, 7:41 pm, shanley shanley.k...@gmail.com wrote: Hey all- A number of Twitter devs are usingwww.apigee.com(free tools for API analytics, testing, debugging and protection) so wanted to drop all of you note to reassure you that we do support APIs using OAuth- Here's how to do it, using the Twitter API as an example: 1. Do the OAuth dance with the canonical API endpoint (e.g. api.twitter.com). 2. Once you have a user's token, use it to sign requests' base strings, which you would also build using the canonical endpoint from step 1. 3. Then send those signed requests to your Apigee URL, such as twitter.myusername.apigee.com. In this way traffic can flow to and from Twitter via your Apigee API using OAuth. Our Twitter console for reviewing sharing requests and responses to the Twitter API also supports OAuth with your Twitter sign-in:http://app.apigee.com/console/twitter Let me know if you have any questions, happy to help out. Cheers, Shanley Apigee Support Team -- 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: Since Id on Favourites (recap)
Great. I really appreciate it. On Aug 30, 9:59 pm, Matt Harris thematthar...@twitter.com wrote: Hey Daniel, Thanks for pointing this out. I've reopened the original ticket indicating this needs documenting: http://code.google.com/p/twitter-api/issues/list?cursor=125 Thanks, Matt On Fri, Aug 27, 2010 at 10:59 AM, Daniel Ribeiro dan...@gmail.com wrote: This issue has came up two years ago (http://groups.google.com/group/ twitter-development-talk/browse_thread/thread/4e6b9b0ae26db3bf/ 84a9f110942a07b9?lnk=gstq=since_id+favorites#84a9f110942a07b9). The feature is still working, and still undocumented (as far as I know). Am i wrong? Is it documented somehwere other than its api (somewhere like global search parameters), and is it supported? If not, what is that status update on this issue (will it be supported, can it be removed without warnings)? -- 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 -- Matt Harris Developer Advocate, Twitterhttp://twitter.com/themattharris -- 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] Since Id on Favourites (recap)
This issue has came up two years ago (http://groups.google.com/group/ twitter-development-talk/browse_thread/thread/4e6b9b0ae26db3bf/ 84a9f110942a07b9?lnk=gstq=since_id+favorites#84a9f110942a07b9). The feature is still working, and still undocumented (as far as I know). Am i wrong? Is it documented somehwere other than its api (somewhere like global search parameters), and is it supported? If not, what is that status update on this issue (will it be supported, can it be removed without warnings)? -- 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: Update on Twifficiency
It would be nice to have something that make things clearer to the user that the requesting app is requesting write rights. Like a big red warning on the Deny/allow page. On Aug 18, 6:17 pm, Tom van der Woerdt i...@tvdw.eu wrote: +1 On 8/18/10 10:55 PM, Eric Marden - API Hacker wrote: On behalf of the Internet. Thank you. ~e On Wed, Aug 18, 2010 at 3:45 PM, Brian Sutorius bsutor...@twitter.com mailto:bsutor...@twitter.com wrote: Hi all, Over the past 24 hours, we've received some questions about the Twifficiency app, so we thought we'd use this as an opportunity to quickly share some information around our Developer Principles. For background, the Twifficiency app computes a Twifficiency score based on different aspects of your Twitter account and posts the score as a Tweet. While the developer included a disclaimer that these Tweets would be posted to Twitter, user feedback indicated that the text was too far down on the page to be noticed before proceeding. As a result, many users were surprised that their scores were being tweeted automatically. Which brings us to our Developer Principles, one of which is Don't surprise users. Specifically, we require developers to get users' permission before sending Tweets or other messages on their behalf. Allowing an application to access your account does not constitute consent for actions to automatically be taken on your behalf. Twifficiency violated this principle, so we suspended the app yesterday afternoon while we worked with the developer to make sure users were better informed about the application's actions and could control whether or not a Tweet would be posted. With these changes --which include a more prominent warning and a checkbox on the main page-- the application has been re-enabled. Our developer principles can be found in our API Terms of Service: http://dev.twitter.com/pages/api_terms Brian Sutorius API Policy
[twitter-dev] Wrong GEOCODE results
Hi! This is the thirth time I post this problem and no body may help me. This is a very important problem than only occurs in some countries of South America as Chile, Argentina, Peru. This is a clear problem related to the geocode query... I'm trying to make a search query with GEOCODE params but this is not working propperly. I created this geolocalizated tweet with echofon: http://twitter.com/DanielAtik/status/18794641441 As you may see here is the lat, lon of this tweet: http://maps.google.com/maps?q=-33.437790,-70.635895 But if I make a search with search API this tweet does not appears as you can see: http://search.twitter.com/search.json?geocode=-33.437790,-70.635895,2km or for delimeted more: http://search.twitter.com/search.json?geocode=-33.437790,-70.635895,2... As you may see at returned JSON, the tweets has not GEO values. Is there anything wrong?? Any help may be appreciated ;) Daniel
[twitter-dev] GEOCODE search problem [URGENT]
Hi! I'm trying to make a search query with GEOCODE params but this is not working propperly in Chile. I created this geolocalizated tweet with echofon: http://twitter.com/DanielAtik/status/18794641441 As you may see here is the lat, lon of this tweet: http://maps.google.com/maps?q=-33.437790,-70.635895 But if I make a search with search API this tweet does not appears as you can see: http://search.twitter.com/search.json?geocode=-33.437790,-70.635895,2km or for delimeted more: http://search.twitter.com/search.json?geocode=-33.437790,-70.635895,2kmq=prueba As you may see at returned JSON, the tweets has not GEO values. Is there anything wrong?? Any help may be appreciated ;) You must make tests in http://metaki.com Daniel
[twitter-dev] Re: GEOCODE search problem [URGENT]
Sorry but I do not understand your answer!! If you make the geocode search in Europe or in USA you may see the geocode returns Point (lat, lon) information, but in Chile only returns the Location, Profile information!!! Any idea? Daniel On 3 ago, 12:01, Jonathan Reichhold jonathan.reichh...@gmail.com wrote: Simple answer is that the tweet isn't in the index as a search with no geocode value i.e.http://search.twitter.com/search?q=Prueba1 Tweet is from 3:15 PM Jul 17thhttp://twitter.com/DanielAtik/status/18794641441 The index doesn't go back that far. Jonathan On Tue, Aug 3, 2010 at 7:26 AM, Daniel daniel.a...@gmail.com wrote: Hi! I'm trying to make a search query with GEOCODE params but this is not working propperly in Chile. I created this geolocalizated tweet with echofon: http://twitter.com/DanielAtik/status/18794641441 As you may see here is the lat, lon of this tweet: http://maps.google.com/maps?q=-33.437790,-70.635895 But if I make a search with search API this tweet does not appears as you can see: http://search.twitter.com/search.json?geocode=-33.437790,-70.635895,2km or for delimeted more: http://search.twitter.com/search.json?geocode=-33.437790,-70.635895,2... As you may see at returned JSON, the tweets has not GEO values. Is there anything wrong?? Any help may be appreciated ;) You must make tests inhttp://metaki.com Daniel
[twitter-dev] Re: Searching for tweets by place_id
Hi!! I'm developping http://metaki.com (Alpha version) but I have troubles with geocode lat, lon and tweets... You may see my last question with no answer :b http://groups.google.com/group/twitter-development-talk/browse_thread/thread/fb9e284bed19d31a Any help will be appreciate ;) Daniel On 29 jul, 00:56, Matt Harris thematthar...@twitter.com wrote: Hi Benn, In search you can use the parameter place:place_id to restrict results to public Tweets from a known place. You will need to know the place_id that we use first. For example, to see all Tweets from Twitter HQ (place_id = 247f43d441defc03) I would make this request: curlhttp://search.twitter.com/search.json?q=place%3A247f43d441defc03 Best, Matt On Wed, Jul 28, 2010 at 9:52 PM, benn bno...@gmail.com wrote: Is there a way to search for tweets by place_id? Or can we only use a geo search with a very small radiues? -- Matt Harris Developer Advocate, Twitterhttp://twitter.com/themattharris
[twitter-dev] How can I display all the users connected to my site?
Kind of like a who's online kinda thing. Is this possible?
[twitter-dev] GEOCODE search problem in Chile
Hi! I'm trying to make a search query with GEOCODE params but this is not working propperly. I created this geolocalizated tweet with echofon: http://twitter.com/DanielAtik/status/18794641441 As you may see here is the lat, lon of this tweet: http://maps.google.com/maps?q=-33.437790,-70.635895 But if I make a search with search API this tweet does not appears as you can see: http://search.twitter.com/search.json?geocode=-33.437790,-70.635895,2km or for delimeted more: http://search.twitter.com/search.json?geocode=-33.437790,-70.635895,2kmq=prueba As you may see at returned JSON, the tweets has not GEO values. Is there anything wrong?? Any help may be appreciated ;) Daniel
Re: [twitter-dev] Geotagging broken when user is using a foreign language
Oh dear, thanks a lot for this info. I was trying for two days to get this working! Thanks! Daniel Am 06.07.2010 um 13:24 schrieb janole: Please see bug report 1725 - http://bit.ly/anxAiC Apparently, you cannot geotag tweets anymore when a user's account is configured to any non-English language. My client users started to report this error a couple of days ago. When they switch back to English (lang = en), everything's fine again and they can geo-tag their tweets. ole @ mobileways.de / @janole on Twitter / Symbian S60 Twitter client #Gravity
[twitter-dev] Re: Problems getting Chrome extension getting oauth_token
OK, I managed to solve this problem. All I had to do was change the POST to a GET. You should use the POST HTTP method when using this end point doesn't seem to be the case. - Dan On Jul 3, 4:35 pm, Daniel daniel.mcken...@gmail.com wrote: So, I thought I'd learn a bit about Chrome extension development by making a small extension that just needs to send to Twitter. Funny thing is, Chrome extensions aren't hard, getting OAuth to work is. I got the oauth.js library linked from the OAuth.net site and tried setting it up (http://oauth.googlecode.com/svn/code/javascript/). Problem is, every time I get a Failed to validate oauth signature and token error. I've checked signatures, and it seems OK, and even looked at the headers that it's sending what is expected and the raw signature string looks correct. I've used Google's signature checker and the signature is right, even made an app in C# to confirm. I've checked my time and it's OK. I even tried the Chrome provided OAuth library, but not no avail. I've hit a wall, I don't know what else to do. Here's the snippet of code, function getRequestToken() { var accessor = { consumerSecret: consumer.consumerSecret, consumerKey: consumer.consumerKey }; var message = { action: consumer.serviceProvider.requestTokenURL, method: POST, parameters: []}; message.parameters.push(['oauth_callback', 'oob']); console.info(Starting OAuth requests); doOAuthCall( message, accessor, function(data, textStatus) { console.log(data); var list = OAuth.getParameterMap( OAuth.decodeForm(data) ); consumer.token = list.oauth_token; consumer.tokenSecret = list.oauth_token_secret; getAuthentication(); }); } and I use a modified version of the doOAuthCall from OAuth Explorer,http://sevengoslings.net/~fangel/oauth-explorer/ function doOAuthCall( message, accessor, oncmp ) { OAuth.completeRequest(message, accessor); var bs = OAuth.SignatureMethod.getBaseString( message ); var ah = OAuth.getAuthorizationHeader('OAuth', message.parameters ); var cg = OAuth.addToURL( message.action, message.parameters ); console.log(bs); console.log(ah); jQuery.ajaxSetup({ 'beforeSend': function(xhr) { xhr.setRequestHeader(Authorization, ah) }, 'error': function(req, err) { oncmp(req.responseText, err ) } }); jQuery.get( message.action, [], oncmp, 'text'); } The Authorization header, Authorization:OAuth realm=OAuth, oauth_callback=oob, oauth_consumer_key=xx, oauth_version=1.0, oauth_timestamp=1278129985, oauth_nonce=zBRCtf, oauth_signature_method=HMAC-SHA1, oauth_signature=53drmjGf %2B1nMvD264pyx736L1hk%3D Any help will be much appreciated, thanks :)
[twitter-dev] Problems getting Chrome extension getting oauth_token
So, I thought I'd learn a bit about Chrome extension development by making a small extension that just needs to send to Twitter. Funny thing is, Chrome extensions aren't hard, getting OAuth to work is. I got the oauth.js library linked from the OAuth.net site and tried setting it up (http://oauth.googlecode.com/svn/code/javascript/). Problem is, every time I get a Failed to validate oauth signature and token error. I've checked signatures, and it seems OK, and even looked at the headers that it's sending what is expected and the raw signature string looks correct. I've used Google's signature checker and the signature is right, even made an app in C# to confirm. I've checked my time and it's OK. I even tried the Chrome provided OAuth library, but not no avail. I've hit a wall, I don't know what else to do. Here's the snippet of code, function getRequestToken() { var accessor = { consumerSecret: consumer.consumerSecret, consumerKey:consumer.consumerKey }; var message = { action: consumer.serviceProvider.requestTokenURL, method: POST, parameters: []}; message.parameters.push(['oauth_callback', 'oob']); console.info(Starting OAuth requests); doOAuthCall( message, accessor, function(data, textStatus) { console.log(data); var list = OAuth.getParameterMap( OAuth.decodeForm(data) ); consumer.token = list.oauth_token; consumer.tokenSecret = list.oauth_token_secret; getAuthentication(); }); } and I use a modified version of the doOAuthCall from OAuth Explorer, http://sevengoslings.net/~fangel/oauth-explorer/ function doOAuthCall( message, accessor, oncmp ) { OAuth.completeRequest(message, accessor); var bs = OAuth.SignatureMethod.getBaseString( message ); var ah = OAuth.getAuthorizationHeader('OAuth', message.parameters ); var cg = OAuth.addToURL( message.action, message.parameters ); console.log(bs); console.log(ah); jQuery.ajaxSetup({ 'beforeSend': function(xhr) { xhr.setRequestHeader(Authorization, ah) }, 'error': function(req, err) { oncmp(req.responseText, err ) } }); jQuery.get( message.action, [], oncmp, 'text'); } The Authorization header, Authorization:OAuth realm=OAuth, oauth_callback=oob, oauth_consumer_key=xx, oauth_version=1.0, oauth_timestamp=1278129985, oauth_nonce=zBRCtf, oauth_signature_method=HMAC-SHA1, oauth_signature=53drmjGf %2B1nMvD264pyx736L1hk%3D Any help will be much appreciated, thanks :)
Re: [twitter-dev] Re: Which IETF standard has the year appearing after the time?
*Question:* I'm tweeting throught twitter for iPhone and geotagging each tweet. When I try this search API query http://search.twitter.com/search.json?geocode=-33.4135,-70.5999,10miq=danielatik http://search.twitter.com/search.json?geocode=-33.4135,-70.5999,10miq=danielatikI cannot see GEO lat, long information. Any idea? Daniel Atik 2010/6/22 Peter Cross zootl...@gmail.com Thanks for the explanation. It's easy enough to parse, it just seemed so bizarre (and I was having a bad oAuth day!). -ZPC On Jun 21, 4:37 pm, themattharris thematthar...@twitter.com wrote: The time format is a little weird and as far as I know, doesn't match any RFC. Instead it matches the ruby default and is represented in tokens by: %a %b %d %H:%M:%S %Z %Y The format has been like this since the API was first released which means, for backwards compatibility with other applications, we can't easily change it with this version of the API. I hope that explains the why it is still in the format it is. Hopefully you can use the token string above to parse the date using the time parsing functions of your chosen language. Matt On Jun 21, 12:40 pm, Peter Cross zootl...@gmail.com wrote: This date is from a call tohttp:// api.twitter.com/1/statuses/user_timeline.xml: created_atMon Jun 21 19:06:21 + 2010/created_at begin rant I've never seen the year come after the time... in any standard date format. It's as if someone thought Hmmm... how can we make this date format more difficult to work with?. Why, why why? Now I have to write a special handler for this one exception. It's sloppy. /end rant This isn't an XML standard date format either. -ZPC
[twitter-dev] Problem with the API Console
Hello everyone, I'm new to the twitter API and found the API Conlose (http:// dev.twitter.com/console) very handy to try requests and understand what you can do with it, but I'm kind of stuck with the impossibility to set up parameters : For example, I try to retrive the last tweets of a particular user I choose GET statuses/user_timeline with json protocol and in the parameters and values fields I set id and radiohead as the user screen name. The result I get is my own timeline. That is the default result when you set no parameters at all and the parameters don't show up in the generated request either. Am I missing something ? A basic search on Google and this website, and the reading of the FAQ didn't show up anything interesting. Does anyone else experience this problem ? Thanks.
[twitter-dev] Re: Problem with the API Console
Thanks a lot !
[twitter-dev] Re: Using @anywhere and the Twitter Search Widget
What is the status on this? It happens all the time for me... On May 10, 8:14 am, Elenor elenor@gmail.com wrote: I get this as well. It happens in Safari (4.0.5) and Chrome (5.0.375). It's not just with the search widget though, it happens inhttp://platform.twitter.com/anywhere.jswhen you call twttr.anywhere() which useshttps://api.twitter.com/xd_receiver.html I've been getting it with the hovercards, although it doesn't stop them from working. You can also see it happening here:http://dev.twitter.com/anywhere/begin On Apr 23, 4:31 pm, Dustin Diaz dus...@twitter.com wrote: What is the url of your site? -- Subscription settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Twitter API roadmap: When will geolocation be enabled for direct messages too?
Hi Twitter team, all Are there any plans to enable geolocation support for direct messages (i.e. not only for public status updates) anytime soon? There's definitely a demand (and potential for new apps and business) for this. For example, if you'd like to instantly order a location-based service through Twitter, you may want the supplier to know your exact location, but not necessarily the public. Further, people are likely more willing to allow and use geolocation for private, direct messages rather than public status updates. We're currently building a Twitter app prototype where geolocation support in DMs would be a win-win-win. Cheers Daniel To unsubscribe from this group, send email to twitter-development-talk+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [twitter-dev] Mentions with changed screen name?
Done! It's at http://code.google.com/p/twitter-api/issues/detail?id=1459 Thanks again for the great service :) Dan On Mon, Feb 15, 2010 at 5:24 PM, Raffi Krikorian ra...@twitter.com wrote: i don't think there is a way to do this currently. could i ask a favor and ask you to note this feature request on the google code tracker? On Sun, Feb 14, 2010 at 12:21 PM, Daniel Peebles pumpkin...@gmail.comwrote: So in general it's not possible to see that for example that old tweets mentioning e.g., @pumpkingod (my old screen name) are actually referring to user id 13447902 whose current screen name is @copumpkin? Are there any plans to add a way to look those up? Thanks, Daniel On Sat, Feb 13, 2010 at 5:18 PM, Raffi Krikorian ra...@twitter.comwrote: there isn't an API call that will give you an old screen name of a user. mentions are computed both at posting time, and by doing textual lookups depending on the situation. On Sat, Feb 13, 2010 at 11:46 AM, Daniel Peebles pumpkin...@gmail.comwrote: I've been trying to extract mentions from some historical tweets I collected (some a couple of years old) and as the mentions are textual, some of the screen names have changed. Is there any way to look up a user id based on an old screen name of that user? Does twitter even maintain that information? Do the API methods for mentions simply extract possible mentions at posting time or are they doing a textual lookup as well? Thanks, Daniel -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
Re: [twitter-dev] Mentions with changed screen name?
So in general it's not possible to see that for example that old tweets mentioning e.g., @pumpkingod (my old screen name) are actually referring to user id 13447902 whose current screen name is @copumpkin? Are there any plans to add a way to look those up? Thanks, Daniel On Sat, Feb 13, 2010 at 5:18 PM, Raffi Krikorian ra...@twitter.com wrote: there isn't an API call that will give you an old screen name of a user. mentions are computed both at posting time, and by doing textual lookups depending on the situation. On Sat, Feb 13, 2010 at 11:46 AM, Daniel Peebles pumpkin...@gmail.comwrote: I've been trying to extract mentions from some historical tweets I collected (some a couple of years old) and as the mentions are textual, some of the screen names have changed. Is there any way to look up a user id based on an old screen name of that user? Does twitter even maintain that information? Do the API methods for mentions simply extract possible mentions at posting time or are they doing a textual lookup as well? Thanks, Daniel -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
[twitter-dev] Mentions with changed screen name?
I've been trying to extract mentions from some historical tweets I collected (some a couple of years old) and as the mentions are textual, some of the screen names have changed. Is there any way to look up a user id based on an old screen name of that user? Does twitter even maintain that information? Do the API methods for mentions simply extract possible mentions at posting time or are they doing a textual lookup as well? Thanks, Daniel
[twitter-dev] package a new version
Hey, I've been making use of python-twitter on maemo to write a twitter app called 'witter'. This evening i wrote some code to use max_id in getUsertimeline but then disocvered whilst it is in your latest source tree, that addition isn't in the last packaged version you did. And whoever added it to maemo seems to have just pulled your packaged versions. Any chance you could package up a 0.7 release? Regardless, thanks for python-twitter it's making my app cleaner as i replace my own bits, and it made picking up oauthtwitter nice and easy. So it's appreciated. Sincerely Daniel would http://danielwould.wordpress.com
Re: [twitter-dev] Re: Oauth authentication jquery
But how can I made Oauth authentication without exposing my secret key with javascript? I need to make a http request with secret key, or not? 2009/12/31 Phil Plante phil.pla...@endlesspaths.com All that aside, the other problem would be exposing your secret key. I am sure you can imagine how terribly bad that can end up... On Dec 30, 10:57 pm, Hari hariharanwebm...@gmail.com wrote: Is it a case of same origin policy http://en.wikipedia.org/wiki/Same_origin_policy On Dec 10, 8:27 am, Daniel Silva danielmartinssi...@gmail.com wrote: When I trying to do Oauth authentication with jquery it always receives a empty response. I'm doing this: $.ajax({ beforeSend: function(xhr) { xhr.setRequestHeader(Authentication, authorizationHeader) }, url:'https://twitter.com/oauth/request_token', type: 'get', contentType: 'application/x-www-form-urlencoded', async: false, success: function(msg){ alert( Data: + msg ); } }); //output -- Data: Can someone help me? -- best regards, Daniel Silva -- Cumprimentos, Daniel Silva
[twitter-dev] php/curl/api http_code returns 0
Since december 3rd a working php-script (it runs almost a year for now) stopped communicating with the twitter-api. Now, I receive allways the non-existing http_code 0. It's wired: If I run the script on a different server - it still works fine. Here is the code: $url = 'http://twitter.com/statuses/update.xml'; $curl_handle = curl_init(); curl_setopt($curl_handle, CURLOPT_URL, $url); curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_handle, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($curl_handle, CURLOPT_VERBOSE, 1); curl_setopt($curl_handle, CURLOPT_POST, 1); curl_setopt($curl_handle, CURLOPT_POSTFIELDS, status=Just another message); curl_setopt($curl_handle, CURLOPT_USERPWD, username:password); $buffer = curl_exec($curl_handle); $twitter_status = curl_getinfo($curl_handle); $twitter_s_h_c = $twitter_status[http_code]; curl_close($curl_handle); This is the result of the main server (where it stopped working - but I can use curl to catch other services than twitter (!)): Status: url - http://twitter.com/statuses/update.xml: http_code - 0: header_size - 0: request_size - 0: filetime - -1: ssl_verify_result - 0: redirect_count - 0: total_time - 0: namelookup_time - 0.021014: connect_time - 0: pretransfer_time - 0: size_upload - 0: size_download - 0: speed_download - 0: speed_upload - 0: download_content_length - 0: upload_content_length - 0: starttransfer_time - 0: redirect_time - 0 This is the result of the test server: Status: url - http://twitter.com/statuses/update.xml: content_type - application/xml; charset=utf-8: http_code - 200: header_size - 829: request_size - 289: filetime - -1: ssl_verify_result - 0: redirect_count - 0: total_time - 0.722216: namelookup_time - 0.002029: connect_time - 0.171671: pretransfer_time - 0.171746: size_upload - 0: size_download - 1925: speed_download - 2665: speed_upload - 0: download_content_length - 1925: upload_content_length - 0: starttransfer_time - 0.722104: redirect_time - 0 I checked out older messages around here and at the google results and I found just three hints, that don't apply to this case. I hope anyone can give me a hint to solve this issue. Greetings, Daniel
[twitter-dev] GET /:user/:list_id/members/:id or
Hi. When i try get the relationship between one list and one user I always receive a not found error. This method works? -- regards, Daniel Silva
Re: [twitter-dev] Re: GET /:user/:list_id/members/:id or
This is not for relationship between two users? 2009/12/15 Yusuke yus...@mac.com It works for me, Try this: wget http://twit4j:twitte...@api.twitter.com/1/friendships/show.json? source_screen_name=twit4jtarget_screen_name=followsOneWayhttp://twit4j:twitte...@api.twitter.com/1/friendships/show.json?%0Asource_screen_name=twit4jtarget_screen_name=followsOneWay On 12月15日, 午後9:08, Daniel Silva danielmartinssi...@gmail.com wrote: Hi. When i try get the relationship between one list and one user I always receive a not found error. This method works? -- regards, Daniel Silva -- regards, Daniel Silva
[twitter-dev] BUG! I can't post only the emoticon =* in twitter.
Hello, I can't post only the emoticon =* in twitter. The twitter return as a search. Why this?? hugs varga -- «VJ VARGA»® E-mail: daniel.va...@gmail.com Jabber: va...@jabber.org MSN: va...@brasnet.org Orkut: VJ VARGA Linux user #443229 www.metareciclagem.org www.youtube.com/dvarga http://twitter.com/vj_varga
[twitter-dev] lists
Is there any way to know if a given user is related to another given user lists? -- regards Daniel Silva
Re: [twitter-dev] Oauth authentication just run in IE .. Why?
I do understand that in a web application that problem may occur, however I'm developing a w3c widget, and so, I don't have any associated domain. How can I authenticate a w3c widget using Oauth with javascript? 2009/11/30 Raffi Krikorian ra...@twitter.com i think that's the problem - you can't make an ajax request to a server that is not hosting the HTML/Javascript that you are loading in the browser (look for same origin policyhttp://www.google.com/search?q=xmlhttprequest+Same+Origin+Policy). it *may* be possible to do it using jsonp, but i haven't tried it myself. Yes, it is. I'm using this Oauth API http://oauth.googlecode.com/svn/code/javascript/oauth.js is this a cross domain ajax request issue? I'm doing Oauth authentication for my application and it run's well in IE. When i change to Firefox, Safari or Opera this error appears [Exception... Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send] nsresult: 0x80004005 (NS_ERROR_FAILURE) location: JS frame :: when I'm sending the tokens for application. Why this append? thanks for the help.. best regards, Daniel -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi -- regards, Daniel Silva
[twitter-dev] Re: lists
Or given a user lists with all the id of list members. 2009/12/9 Daniel Silva danielmartinssi...@gmail.com Is there any way to know if a given user is related to another given user lists? -- regards Daniel Silva --
[twitter-dev] Oauth authentication jquery
When I trying to do Oauth authentication with jquery it always receives a empty response. I'm doing this: $.ajax({ beforeSend: function(xhr) { xhr.setRequestHeader(Authentication, authorizationHeader) }, url:'https://twitter.com/oauth/request_token', type: 'get', contentType: 'application/x-www-form-urlencoded', async: false, success: function(msg){ alert( Data: + msg ); } }); //output -- Data: Can someone help me? -- best regards, Daniel Silva
[twitter-dev] Twitter REST API Method: favorites
authentication is required for this method? they say yes, but i already tried without authentication with sucess. -- best regards, Daniel
Re: [twitter-dev] statuses/user_timeline following propertie
Humm. ok. But if I navigate through my application, list three/four times 20 users. Then I get no requests for an hour. Are you thinking of increasing requests? 2009/12/2 Abraham Williams 4bra...@gmail.com http://groups.google.com/group/twitter-development-talk/browse_thread/thread/42ba883b9f8e3c6e?tvc=2 On Tue, Dec 1, 2009 at 19:44, dmsiva danielmartinssi...@gmail.com wrote: I send http://twitter.com/statuses/user_timeline.xml request with one screen_name attribute. Then server give's me a list of status of this user. Each status have a user tag that contains following attribute. This following attribute refers to authenticated user? Why sometimes this attribute is null ( following/)? regards, Daniel -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham Project | Awesome Lists | http://twitterli.st This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, WI, United States -- best regards, Daniel Silva
Re: [twitter-dev] home_timeline contains retweets that retweeted_to_me does not
How can we make a retweet undo? regards, Daniel Silva
[twitter-dev] Undo Retweets?
How can we make a retweet undo? regards, Daniel Silva
[twitter-dev] Oauth authentication Jsonp
someone already tried and succeeded in doing Oauth authentication throughjsonp. I've tried several ways and nothing :S -- best regards, Daniel Silva
[twitter-dev] Sending direct messages
User just can send direct messages for mutualy friends users. How do I know what these users? -- regards, Daniel Silva
Re: [twitter-dev] Oauth authentication just run in IE .. Why?
Yes, it is. I'm using this Oauth API http://oauth.googlecode.com/svn/code/javascript/oauth.js 2009/11/29 Raffi Krikorian ra...@twitter.com is this a cross domain ajax request issue? I'm doing Oauth authentication for my application and it run's well in IE. When i change to Firefox, Safari or Opera this error appears [Exception... Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send] nsresult: 0x80004005 (NS_ERROR_FAILURE) location: JS frame :: when I'm sending the tokens for application. Why this append? thanks for the help.. best regards, Daniel -- Raffi Krikorian Twitter Platform Team ra...@twitter.com | @raffi -- Cumprimentos, Daniel Silva
[twitter-dev] Re: Suggestion for User record
This would be so useful. +1
[twitter-dev] Does API authentication failure count against a user's login attempts?
This seems to be a recurring problem for some people, where their twitter account is constantly being locked out. http://getsatisfaction.com/twitter/topics/i_am_locked_out My guess is that there are apps/services out there that are continually attempting to authenticate, even if the stored password they have is incorrect.
[twitter-dev] Re: Which services use twitter username and password as account identifier
Or, do both. Allow them to login via OAuth, and then let them create an account later to avoid future round-trips (or to associate multiple twitter accounts) This is what http://feedflix.com does with the Netflix OAuth API. On Mar 1, 6:18 pm, Paul Kinlan paul.kin...@gmail.com wrote: Hi Sam, I think most things other than a basic username and password will confuse most people, which is why asking for their twitter username and password is done (rightly or wrongly) because people know it, use it all the time on twitter and don't have to remember yet another password. I will give JainRains solution a look over. Trouble is, it looks two phase, log-in via openId/facebook/etc then hook up your twitter account (using oAuth); obviously once you have set up your twitter account your only ever have to log in using the JainRain stuff. I do like using the twitter account and password (like many app developers) because its central, you can verifiy the details and let people use your service in one simple step and you don't need another external sevice to authenticate against. I just worry that using external services will limit who uses Twitter apps, and I also worry that managing the credentials myself will negate all the benefits that oAuth provides (because most people will use the same password as their twitter password). Onhttp://oauth.twe2.comyou only ever type anything when you are redirected to Twitters site, twe2 doesn't ask for anything ever. In my opinon it is the cleanest thing from a UX point of view, however, it's not (from what I have been told) how your supposed to use oAuth. Paul. 2009/3/1 Sam K Sethi samkse...@googlemail.com Hi Paul As you know we already have a working version of Twitters OAuth on a test sitehttp://ouath.twitblogs.comand will integrate into our live site when twitter let us. The way we are looking to overcome the user login issue is to use JainRain'swww.rpxnow.comand associate a users ID to their OAuth token. Our worry is will this all confuse non-technical users Thanks in advance Sam www.twitblogs.com/ This email is: [ ] bloggable [ ] twittable [ ] ask first [X] private 2009/3/1 Dossy Shiobara do...@panoptic.com On 3/1/09 1:28 PM, Petermdenton wrote: Dossy, serioulsy, no one is saying the sky is falling. This list is for application developers to discuss development topics as they please. You may know everything, but for those of us who wish to discuss We need to resist spreading FUD. Twitter has its problems, but creating ones where there aren't any helps no one. -- Dossy Shiobara | do...@panoptic.com |http://dossy.org/ Panoptic Computer Network |http://panoptic.com/ He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on. (p. 70)
[twitter-dev] [json] Public Timelines uses String ID instead Integer
Hi there. I got this when i request Public Timeline: Public Timeline: id:1265475802 instead of (as Replies/Friends/Users): id:1265346640, On some JSON libraries isn't the same, so will be very nice to have fixed this. Thanks, Daniel
Re: How to accept follow request via API
Thanks for pointing this one. Does anybody can comment on using requests to the Twitter website (not the API part) as a API. That would be a workaround to the issue. Does it break the usage licence or any other Twitter's policy? Regards, Daniel 2009/1/30 cjmartin cjmar...@gmail.com This api call has been requested and accepted (although with a low priority and milestone of V2, whenever that is) at http://code.google.com/p/twitter-api/issues/detail?id=8q=label:Type-Enhancementcolspec=ID%20Stars%20Type%20Status%20Priority%20Owner%20Summary%20Opened%20Milestone Everyone else that wants it should go star it to remind them that it's important to us. On Jan 17, 1:03 am, Abraham Williams 4bra...@gmail.com wrote: Was the flow previously that by following someone you where approving them to follow you? Or has it always been the way it currently is? On Thu, Jan 15, 2009 at 02:18, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: OK, that's answers my question - it is not possible to establish a relation between 2 users via API in order to allow sending direct messages. It arises question number two: Is it prohibited to pretend web GUI so my app will using pure HTTP will accept follow request ? Thank you, Daniello 2009/1/15 Damon Clinkscales sca...@pobox.com Until the follow request is approved by user A, B is not really following A. Therefore A can't send a DM to B. AFAIK, there's not a way to do the follow approval process step via the API. That step is done in the Twitter UI. -damon On Wed, Jan 14, 2009 at 10:40 AM, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: Following your advice I executed: 3.) curl -u user_a:pass_a -d http://twitter.com/friendships/create/user_b.json {description:,screen_name:user_b,url:null,name:user_b,protec ted:false,profile_image_url:http:\/\/ static.twitter.com \/images\/default_profile_normal.png,location:,id:xxx,followers_cou nt:1} but I can not send direct messages from user_a to user_b ;( 4.) curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.} -- | Abraham Williams |http://the.hackerconundrum.com | Web608 | Community Evangelist |http://web608.org | ggd | betaGeek |http://girlsgeeksanddating.com | Micro-email:http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private
Re: How to accept follow request via API
Are you blocking the whole TOR network? Just kidding ;-) Gustavo Melo wrote: lol On Fri, Jan 30, 2009 at 5:59 PM, Alex Payne a...@twitter.com mailto:a...@twitter.com wrote: Don't scrape our site. Seriously. Our operations staff will blackhole your IP. On Fri, Jan 30, 2009 at 06:14, Daniel Kwiecinski daniel.kwiecin...@gmail.com mailto:daniel.kwiecin...@gmail.com wrote: Thanks for pointing this one. Does anybody can comment on using requests to the Twitter website (not the API part) as a API. That would be a workaround to the issue. Does it break the usage licence or any other Twitter's policy? Regards, Daniel 2009/1/30 cjmartin cjmar...@gmail.com mailto:cjmar...@gmail.com This api call has been requested and accepted (although with a low priority and milestone of V2, whenever that is) at http://code.google.com/p/twitter-api/issues/detail?id=8q=label:Type-Enhancementcolspec=ID%20Stars%20Type%20Status%20Priority%20Owner%20Summary%20Opened%20Milestone http://code.google.com/p/twitter-api/issues/detail?id=8q=label:Type-Enhancementcolspec=ID%20Stars%20Type%20Status%20Priority%20Owner%20Summary%20Opened%20Milestone Everyone else that wants it should go star it to remind them that it's important to us. On Jan 17, 1:03 am, Abraham Williams 4bra...@gmail.com mailto:4bra...@gmail.com wrote: Was the flow previously that by following someone you where approving them to follow you? Or has it always been the way it currently is? On Thu, Jan 15, 2009 at 02:18, Daniel Kwiecinski daniel.kwiecin...@gmail.com mailto:daniel.kwiecin...@gmail.com wrote: OK, that's answers my question - it is not possible to establish a relation between 2 users via API in order to allow sending direct messages. It arises question number two: Is it prohibited to pretend web GUI so my app will using pure HTTP will accept follow request ? Thank you, Daniello 2009/1/15 Damon Clinkscales sca...@pobox.com mailto:sca...@pobox.com Until the follow request is approved by user A, B is not really following A. Therefore A can't send a DM to B. AFAIK, there's not a way to do the follow approval process step via the API. That step is done in the Twitter UI. -damon On Wed, Jan 14, 2009 at 10:40 AM, Daniel Kwiecinski daniel.kwiecin...@gmail.com mailto:daniel.kwiecin...@gmail.com wrote: Following your advice I executed: 3.) curl -u user_a:pass_a -d http://twitter.com/friendships/create/user_b.json {description:,screen_name:user_b,url:null,name:user_b,protec ted:false,profile_image_url:http:\/\/ static.twitter.com http://static.twitter.com \/images\/default_profile_normal.png,location:,id:xxx,followers_cou nt:1} but I can not send direct messages from user_a to user_b ;( 4.) curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.} -- | Abraham Williams |http://the.hackerconundrum.com | Web608 | Community Evangelist |http://web608.org | ggd | betaGeek |http://girlsgeeksanddating.com | Micro-email:http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x -- -- Analista Desenvolvedor www.espacodj.com http://www.espacodj.com
SPANISH OR SPECIAL CHARACTERS
Hi!! I'm using ASP.NET to post status updates into twitter but all the accents and special characters are shown as ?. Any solution? My Code is: Dim user As String = Convert.ToBase64String (System.Text.Encoding.UTF8.GetBytes(username : pass)) Dim bytes As Byte() = System.Text.Encoding.ASCII.GetBytes (status= status source=metaki) Dim request As HttpWebRequest = CType(WebRequest.Create (http://twitter.com/statuses/update.xml;), HttpWebRequest) request.Method = POST request.ServicePoint.Expect100Continue = False request.Headers.Add(Authorization, Basic user) request.ContentType = application/x-www-form-urlencoded request.ContentLength = bytes.Length Dim reqStream As Stream = request.GetRequestStream() reqStream.Write(bytes, 0, bytes.Length) reqStream.Close()
Re: How to accept follow request via API
Following your advice I executed: 3.) *curl -u user_a:pass_a -d http://twitter.com/friendships/create/user_b.json {description:,screen_name:user_b,url:null,name:user_b,protected:false,profile_image_url:http:\/\/ static.twitter.com \/images\/default_profile_normal.png,location:,id:xxx,followers_count:1} * but I can not send direct messages from user_a to user_b ;( 4.) *curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.}* Any ideas, Daniello 2009/1/14 Abraham Williams 4bra...@gmail.com I assumed that a protected user would be able to dm a requesting user but I guess not. You can repeat step one switching the users and then it will work. On Wed, Jan 14, 2009 at 08:20, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: Ok, I did the following according your advice: 1.) *curl -u user_b:pass_b -d http:nielllo.jsonm/friendships/create/user_a.json {description:,screen_name:user_a,url:null,name:user_a,protected:true,profile_image_url:http:\/\/ s3.amazonaws.com \/twitter_production\/profile_images\/_o_normal.jpg,location:London,id:xx,followers_count:8} * 2.) *curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.}* And I've check the user_a twitter page, there is pending request from user_b but is not accepted. Any ideas? Daniello 2009/1/14 Abraham Williams 4bra...@gmail.com Call http://apiwiki.twitter.com/REST+API+Documentation#create as user B to friend user A. Then call http://apiwiki.twitter.com/REST+API+Documentation#new as user A to send a DM to user B. On Wed, Jan 14, 2009 at 07:04, daniello daniel.kwiecin...@gmail.comwrote: Hi, The problem: User A has his updates protected. User B has his updates public. There is no relation between these users yet. I need to send the direct message from user A to user B. I have credentials of both users. What API invocations should I execute in order to be able to send direct messages from user A to B. (ie how to accept the follow request by API) Thanks in advance, Daniello -- | Abraham Williams | Web Developer | http://abrah.am | Web608 | Community Evangelist | http://web608.org | ggd | betaGeek | http://girlsgeeksanddating.com | Micro-email: http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private -- | Abraham Williams | http://the.hackerconundrum.com | Web608 | Community Evangelist | http://web608.org | ggd | betaGeek | http://girlsgeeksanddating.com | Micro-email: http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private
Require API Source
Twitter should not set web as the source of tweets coming from the API. To avoid viral scams (like the recent Twply) users should be able to tell if a friend's tweet came from twitter.com or not. I suggest that Twitter always use the given source name or make api the default instead of web.
Re: Will we see Twitter Connect soon
No they didn't, Google is just using the Twitter API like everyone else. Google asks for your twitter name and password, which IMO is flirting with doing-evil. I think that making Twitter an OpenID provider is going too far, I would rather see Twitter be a Relying Party. Having a reliable and secure OpenID, then associating your twitter username and other details to it is the best option, IMO. It would be nice if the OpenID providers stored this info and passed it along automatically to other RPs. Also, people can change their twitter name, so it couldn't be in the OpenID. They would have to do a yahoo-ish implementation. On Jan 5, 7:02 pm, Andrew Badera and...@badera.us wrote: Twitter already partnered with Google's FriendConnect ... Thanks- - Andy Badera - and...@badera.us - (518) 641-1280 - Google me:http://www.google.com/search?q=andrew+badera On Mon, Jan 5, 2009 at 5:15 PM, Twitblogs samkse...@googlemail.com wrote: When twitter finally supports oauth what user autentication system will they use? With our application we will remove the need for username/password but that means users will need to still login to our service for authentication. Of course we could use Google Friend Connect or JanRain's RPXonline to authenticate users but then we would have to map this user account to the users twitter account via oauth. But it seems a missed opportunity to me. www.twitter.com/usernameis a RESTful address that could be an openid endpoint. The profile could support SREG. Twitter connect could be a third party authentication service for 3rd party twitter developer apps. The two are not linked oauth on its own will be great but openid (twitter connect) and oauth would be better. What do you think?