Pushing Tweets -- One more time
Hello, I realize that there are already discussions on pushing tweets to 3rd party apps. However, I'm still a little confused. I'm interested in knowing if its possible to design something very similar to the Twitter's Facebook Application (http://www.facebook.com/ applications/#/apps/application.php?id=2231777543b=ref=pd_r). I have read that: Alex Payne writes on 9/18/2008: If you want to talk directly to the Twitter API, polling is currently the supported way. You can poll us often - we've optimized for that. If you won't be able to sleep at night unless you have an event-based system, check out what Gnip currently offers. You can get notifications from them when public Twitter users send updates. The Facebook application does not appear to poll (its very fast) and it seems to do more than just public Twitter users. Does it use some home cook'n (internal Twitter APIs)? Can i find more information on the Facebook app? Is the answer XMPP? Any example code would be very helpful. Thank you in advance for the help.
Re: Post message to a group using API
Gotcha! So is it possible to update your own account through API, without using the Tweeter interface? Thanks. Nik On Mon, Feb 9, 2009 at 5:18 PM, Alex Payne a...@twitter.com wrote: That's not really the way Twitter works. Generally, you update your own account and people follow you. You post once, multiple people read. That's how messages on Twitter spread to more than one person. On Mon, Feb 9, 2009 at 13:59, Anikanchan Raut anikanc...@gmail.com wrote: I want to send a message to multiple Tweeter users. On Mon, Feb 9, 2009 at 4:57 PM, Alex Payne a...@twitter.com wrote: Is your intention to update on behalf of multiple accounts, or to send a message TO multiple users? On Mon, Feb 9, 2009 at 13:48, Anikanchan Raut anikanc...@gmail.com wrote: What I meant to ask was if I could post a message to multiple users in one go. Also, if I can do it through the API and not the web interface. Thanks. Nik On Mon, Feb 9, 2009 at 4:45 PM, Chad Etzel jazzyc...@gmail.com wrote: Define group ? There are many different interpretations. -Chad On Mon, Feb 9, 2009 at 4:20 PM, Anikanchan anikanc...@gmail.com wrote: I am trying to figure out if I can post a message to a group on twitter using its API. If you can share any information in this regard, it would greatly help and be appreciated. Thanks. Nik -- ~The best thing to be is to be yourself. -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x -- ~The best thing to be is to be yourself. -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x -- ~The best thing to be is to be yourself.
Re: Post message to a group using API
Gotcha! So is it possible to update your own account through API, without using the Tweeter interface? Thanks. Yes, see http://apiwiki.twitter.com/FAQ#HowdoIusetheTwitterAPI specifically http://apiwiki.twitter.com/REST-API-Documentation#update NB: it's spelled Twitter. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- Tell the truth, and run. -- Yugoslav proverb ---
Re: Pushing Tweets -- One more time
Check out Gnip at http://www.gnip.com Using them you should get a large volume of tweets in an event driven manner as Alex indicated. That would give you plenty of speed. On Feb 9, 2009, at 11:08 PM, DATX wrote: Hello, I realize that there are already discussions on pushing tweets to 3rd party apps. However, I'm still a little confused. I'm interested in knowing if its possible to design something very similar to the Twitter's Facebook Application (http:// www.facebook.com/ applications/#/apps/application.php?id=2231777543b=ref=pd_r). I have read that: Alex Payne writes on 9/18/2008: If you want to talk directly to the Twitter API, polling is currently the supported way. You can poll us often - we've optimized for that. If you won't be able to sleep at night unless you have an event-based system, check out what Gnip currently offers. You can get notifications from them when public Twitter users send updates. The Facebook application does not appear to poll (its very fast) and it seems to do more than just public Twitter users. Does it use some home cook'n (internal Twitter APIs)? Can i find more information on the Facebook app? Is the answer XMPP? Any example code would be very helpful. Thank you in advance for the help.
Re: OAuth Documentation Preview
On Tue, Feb 10, 2009 at 7:10 AM, Chris Scott cjscot...@gmail.com wrote: See the Darkslide iPhone app for a nice implementation of this. When you touch the log in button it opens mobile Safari where you log in and authorize the app. Mobile Safari then closes and you are taken back to Darkslide where you are now logged in. I have no idea how this is done from a programming perspective, however, from a user perspective it works well IMHO. From a user perspective I find it confusing and awful. I second the chip hole in skull comment. I'd love to see some research on the topic, though, maybe it's just me.[1] Popping up a browser control inside the app (on the iPhone WebKit allows you to do this) appears to be a superior (but still kinda weak) solution, with no loss in actual security. I too am thankful that plain-old-password-based auth is sticking around for when it's appropriate. -cks [1] Well, there was that link Cameron Kaiser posted: http://sites.google.com/site/oauthgoog/UXFedLogin/desktopapps but I mean some research that supports the idea that it's all fine and ok, not research that suggests it's an ugly hack that ruins usability. I especially liked the quote The flow makes some security people happy because the user never enters their password into the client application. However it makes usability much much worse, and any evil client application on most operating systems can do other evil things to the user's computer anyways such as installing malware.. Well, duh. Thanks for the link, Cameron. -- Christopher St. John http://artofsystems.blogspot.com
Re: Post message to a group using API
Great help! Thanks! Sorry about the wrong spelling and thanks for reminding. One more question: What programming languages does Twitter API support? To be specific, does it support Java and .Net? Nik On Tue, Feb 10, 2009 at 8:47 AM, Cameron Kaiser spec...@floodgap.comwrote: Gotcha! So is it possible to update your own account through API, without using the Tweeter interface? Thanks. Yes, see http://apiwiki.twitter.com/FAQ#HowdoIusetheTwitterAPI specifically http://apiwiki.twitter.com/REST-API-Documentation#update NB: it's spelled Twitter. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- Tell the truth, and run. -- Yugoslav proverb --- -- ~The best thing to be is to be yourself.
Re: Post message to a group using API
On Tue, Feb 10, 2009 at 3:59 PM, Anikanchan Raut anikanc...@gmail.comwrote: Great help! Thanks! Sorry about the wrong spelling and thanks for reminding. One more question: What programming languages does Twitter API support? To be specific, does it support Java and .Net? The API is independent of languages - you'll find a list of libraries here: http://apiwiki.twitter.com/Libraries
Re: Post message to a group using API
The Twitter API uses HTTP for transport. Any programming language that can manipulate sockets and deal with the HTTP protocol can use the API. So, just about all of them... -Chad On Tue, Feb 10, 2009 at 10:59 AM, Anikanchan Raut anikanc...@gmail.com wrote: Great help! Thanks! Sorry about the wrong spelling and thanks for reminding. One more question: What programming languages does Twitter API support? To be specific, does it support Java and .Net? Nik On Tue, Feb 10, 2009 at 8:47 AM, Cameron Kaiser spec...@floodgap.com wrote: Gotcha! So is it possible to update your own account through API, without using the Tweeter interface? Thanks. Yes, see http://apiwiki.twitter.com/FAQ#HowdoIusetheTwitterAPI specifically http://apiwiki.twitter.com/REST-API-Documentation#update NB: it's spelled Twitter. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- Tell the truth, and run. -- Yugoslav proverb --- -- ~The best thing to be is to be yourself.
Re: Twitter trends for particular subjects, hashtags, @replies
Dan, You can use the Gnip notification feeds to obtain some of this information. For example, their data provides the user that is being replied to and I use this to create the Top 10 @replies on http://tweetstats.com/twitter_stats dpc On Feb 7, 4:10 pm, Dan slightlyoffb...@gmail.com wrote: Thanks for the answers. Currently we can pull trends for all tweets, but I am looking through the APIs to find a way to pull trends for all posts that are a reply to a particular user, or all posts that contain a particular hashtag. This way you can find trends from a particular group of users, as opposed to all of twitter. On Feb 7, 12:49 pm, Alex Payne a...@twitter.com wrote: We provide an API method to retrieve current trends:http://apiwiki.twitter.com/Search+API+Documentation#Trends More information about the firehose:http://apiwiki.twitter.com/FAQ#Whenwillthefirehosebeready On Sat, Feb 7, 2009 at 08:50, Sam Sethi samkse...@googlemail.com wrote: So when will the firehose be available and on what format xmpp. It used to exist ... Waiting to see of we use gnip xmpp firehose or Twitter? Thanks in advance Sam W:www.twitblogs.com/ssethi M: +44 7985 705075 Sent from my iPhone On 7 Feb 2009, at 16:31, Chad Etzel jazzyc...@gmail.com wrote: I believe for that you will need the firehose and do your own analysis on what defines a trend in your point of view... Other than that, I don't readily see a way to get that kind of info from current resources. -Chad On Sat, Feb 7, 2009 at 6:11 AM, Dan slightlyoffb...@gmail.com wrote: Has anyone found a way to work the API to get this sort of functionality? We are able to determine the top 10 trends for all of twitter at any given time, but what about trends for all @replies to a particular user, or trends in posts that contain a particular hashtag? -- Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x
Twollars - Sweat, stress and worries about IP blocking/rate limits
Hi Alex and the rest of the Twitter Support Team, By now you might have seen the stream of tweets, messages and everything in my power to try and get a hold of you. We launched our startup today, Twollars.com - which is a virtual thank you currency for Twitter with as goal to support charities and encourage good behavior. Not realizing that there were API limits on the search and public user/show/usernameorid.json - we launched, had one bad loop and twollars.com got blocked, understandably. We then switched over everything to omniwiki.co.uk (proxy wise) but quickly ran into the 100 requests per hour rate limit; and believe we might be blocked now? As you can understand we're sweating here and stress levels building, no startup wants to go south on the day of launch ;) Is it possible you can whitelist omniwiki.co.uk and twollars.com - we'd also be happy to discuss a paid api structure if Twitter prefers that. All the best, Eiso
Re: Twollars - Sweat, stress and worries about IP blocking/rate limits
Hi Elso, I replied to your direct email and we can discuss in that thread. We'll do what we can to help out. Thanks; — Matt Sanford On Feb 10, 2009, at 10:12 AM, Eiso wrote: Hi Alex and the rest of the Twitter Support Team, By now you might have seen the stream of tweets, messages and everything in my power to try and get a hold of you. We launched our startup today, Twollars.com - which is a virtual thank you currency for Twitter with as goal to support charities and encourage good behavior. Not realizing that there were API limits on the search and public user/show/usernameorid.json - we launched, had one bad loop and twollars.com got blocked, understandably. We then switched over everything to omniwiki.co.uk (proxy wise) but quickly ran into the 100 requests per hour rate limit; and believe we might be blocked now? As you can understand we're sweating here and stress levels building, no startup wants to go south on the day of launch ;) Is it possible you can whitelist omniwiki.co.uk and twollars.com - we'd also be happy to discuss a paid api structure if Twitter prefers that. All the best, Eiso
Re: friends timeline problem
Are you sure you're requesting the timeline for the same user with the correct credentials? Some example status IDs that are showing up in one place and not the other would be handy. Thanks! On Mon, Feb 9, 2009 at 18:54, Diane Slater toucan...@gmail.com wrote: Does anyone else see the friends_timeline not working as expected? I have 5 tweets total (toucancrm) , 3 of which are replies. When I go to my home page on the web, I only see the non-replies, and the latest post (3 tweets). When I use the API to retrieve friends_timeline, I only get 2 tweets, the non replies. Shouldn't I see that same 3 updates with the API as I do on the home page? The API says: Returns the 20 most recent statuses posted by the authenticating user and that user's friends. This is the equivalent of /home on the Web. But mine doesn't sync up. I also really don't understand why my home page shows 3 updates, which twitter.com/toucancrm shows 5. Why don't the @replies show up when you click the link for home? Thanks for any help clearing this up! Toucan -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x
Twitfilter
Hey guys, I wrote a Twitter firefox plugin that (for me) solves a groups problem I was having. Basically, I wanted to be able to send filtered tweets to selected individuals. Rather than simply adding hash tags and parsing out tweets, I wanted to have groups where I could send tweets to multiple people at once, and yet not to the entire world. I solved this problem with a very hackish plugin I'm calling Twitfilter. It's basically a heavily modified version of an existing plugin, Twitbin, with a new feature called Filters. Upon logging in, you click on Filters, add the names of the people you want to contact, enter the tweet, and click send. It automatically sends a direct message to all those people. I'm still trying to fix a timing issue, and some of the gui needs to be cleaned up (I was up very late this morning writing this), but the core concept is there. In other words, it's extremely alpha (version 0.1). What do you guys think? aestetix --- Download: http://pinky.ratman.org/~aestetix/twitfilter.xpihttp://pinky.ratman.org/%7Eaestetix/twitfilter.xpi Current official documentation: 1. To use this, you must already have a twitter account. 2. Download and Install the plugin, restart firefox, and you'll see a blue bird icon to the left of your address bar. 3. Click on that, and either click on login (mouseover the buttons until you find it) or click FRIENDS. 4. This allows you to log in, and effectively drops a plugin cookie preserving some semblance of state. 5. Then click on FILTERS 6. Enter the screennames of people you want to contact 7. Click the Mass Distribute Tweet field to enter a message 8. Click Filter Tweets!
Re: Twollars - Sweat, stress and worries about IP blocking/rate limits
Hi Matt, We have the exact same problem. Is there a possibility you could help us out as well? On Feb 10, 12:51 pm, Matt Sanford m...@twitter.com wrote: Hi Elso, I replied to your direct email and we can discuss in that thread. We'll do what we can to help out. Thanks; — Matt Sanford On Feb 10, 2009, at 10:12 AM, Eiso wrote: Hi Alex and the rest of the Twitter Support Team, By now you might have seen the stream of tweets, messages and everything in my power to try and get a hold of you. We launched our startup today, Twollars.com - which is a virtual thank you currency for Twitter with as goal to support charities and encourage good behavior. Not realizing that there were API limits on the search and public user/show/usernameorid.json - we launched, had one bad loop and twollars.com got blocked, understandably. We then switched over everything to omniwiki.co.uk (proxy wise) but quickly ran into the 100 requests per hour rate limit; and believe we might be blocked now? As you can understand we're sweating here and stress levels building, no startup wants to go south on the day of launch ;) Is it possible you can whitelist omniwiki.co.uk and twollars.com - we'd also be happy to discuss a paid api structure if Twitter prefers that. All the best, Eiso
Re: Twollars - Sweat, stress and worries about IP blocking/rate limits
Hi there, My reply to Eiso was pretty much that there is a white list request form at http://twitter.com/help/request_whitelisting. Please be sure to be detailed in the request since that's all the approver has to go on. Thanks; — Matt Sanford On Feb 10, 2009, at 02:57 PM, Sunny wrote: Hi Matt, We have the exact same problem. Is there a possibility you could help us out as well? On Feb 10, 12:51 pm, Matt Sanford m...@twitter.com wrote: Hi Elso, I replied to your direct email and we can discuss in that thread. We'll do what we can to help out. Thanks; — Matt Sanford On Feb 10, 2009, at 10:12 AM, Eiso wrote: Hi Alex and the rest of the Twitter Support Team, By now you might have seen the stream of tweets, messages and everything in my power to try and get a hold of you. We launched our startup today, Twollars.com - which is a virtual thank you currency for Twitter with as goal to support charities and encourage good behavior. Not realizing that there were API limits on the search and public user/show/usernameorid.json - we launched, had one bad loop and twollars.com got blocked, understandably. We then switched over everything to omniwiki.co.uk (proxy wise) but quickly ran into the 100 requests per hour rate limit; and believe we might be blocked now? As you can understand we're sweating here and stress levels building, no startup wants to go south on the day of launch ;) Is it possible you can whitelist omniwiki.co.uk and twollars.com - we'd also be happy to discuss a paid api structure if Twitter prefers that. All the best, Eiso
Re: Twollars - Sweat, stress and worries about IP blocking/rate limits
Ok, this might come across as being sarcastic, but I am being 100% genuine here. My question is: how do you miss this? Again, not trying to piss anyone off, but seriously asking a question hoping you might provide some insight for a product manager. Would it be better if you: - received an email with a read this first? - were forced to play in a sandbox and simulate worst case scenarios? - were allowed to pay for immediate whitelisting? I am just curious on this. I know these are delicate questions, but would love any feedback. On Tue, Feb 10, 2009 at 2:57 PM, Sunny sunde...@gmail.com wrote: Hi Matt, We have the exact same problem. Is there a possibility you could help us out as well? On Feb 10, 12:51 pm, Matt Sanford m...@twitter.com wrote: Hi Elso, I replied to your direct email and we can discuss in that thread. We'll do what we can to help out. Thanks; — Matt Sanford On Feb 10, 2009, at 10:12 AM, Eiso wrote: Hi Alex and the rest of the Twitter Support Team, By now you might have seen the stream of tweets, messages and everything in my power to try and get a hold of you. We launched our startup today, Twollars.com - which is a virtual thank you currency for Twitter with as goal to support charities and encourage good behavior. Not realizing that there were API limits on the search and public user/show/usernameorid.json - we launched, had one bad loop and twollars.com got blocked, understandably. We then switched over everything to omniwiki.co.uk (proxy wise) but quickly ran into the 100 requests per hour rate limit; and believe we might be blocked now? As you can understand we're sweating here and stress levels building, no startup wants to go south on the day of launch ;) Is it possible you can whitelist omniwiki.co.uk and twollars.com - we'd also be happy to discuss a paid api structure if Twitter prefers that. All the best, Eiso
Re: Twollars - Sweat, stress and worries about IP blocking/rate limits
100% agreed Peter. Since Day One there has been a horrendous amount of redundant inquiry on this list. Is the information just not obvious enough? Not organized or presented well enough? Thanks- - Andy Badera - and...@badera.us - (518) 641-1280 - Tech Valley Code Camp 2009.1: http://www.techvalleycodecamp.com/ - Google me: http://www.google.com/search?q=andrew+badera On Tue, Feb 10, 2009 at 6:15 PM, Peter Denton petermden...@gmail.comwrote: Ok, this might come across as being sarcastic, but I am being 100% genuine here. My question is: how do you miss this? Again, not trying to piss anyone off, but seriously asking a question hoping you might provide some insight for a product manager. Would it be better if you: - received an email with a read this first? - were forced to play in a sandbox and simulate worst case scenarios? - were allowed to pay for immediate whitelisting? I am just curious on this. I know these are delicate questions, but would love any feedback. On Tue, Feb 10, 2009 at 2:57 PM, Sunny sunde...@gmail.com wrote: Hi Matt, We have the exact same problem. Is there a possibility you could help us out as well? On Feb 10, 12:51 pm, Matt Sanford m...@twitter.com wrote: Hi Elso, I replied to your direct email and we can discuss in that thread. We'll do what we can to help out. Thanks; — Matt Sanford On Feb 10, 2009, at 10:12 AM, Eiso wrote: Hi Alex and the rest of the Twitter Support Team, By now you might have seen the stream of tweets, messages and everything in my power to try and get a hold of you. We launched our startup today, Twollars.com - which is a virtual thank you currency for Twitter with as goal to support charities and encourage good behavior. Not realizing that there were API limits on the search and public user/show/usernameorid.json - we launched, had one bad loop and twollars.com got blocked, understandably. We then switched over everything to omniwiki.co.uk (proxy wise) but quickly ran into the 100 requests per hour rate limit; and believe we might be blocked now? As you can understand we're sweating here and stress levels building, no startup wants to go south on the day of launch ;) Is it possible you can whitelist omniwiki.co.uk and twollars.com - we'd also be happy to discuss a paid api structure if Twitter prefers that. All the best, Eiso
Re: Twollars - Sweat, stress and worries about IP blocking/rate limits
Good point. It had been so long since I joined I forgot there was no proper welcome message. I'll add one now pointing people to http://apiwiki.twitter.com/FAQ . Thanks; — Matt On Feb 10, 2009, at 03:20 PM, Andrew Badera wrote: 100% agreed Peter. Since Day One there has been a horrendous amount of redundant inquiry on this list. Is the information just not obvious enough? Not organized or presented well enough? Thanks- - Andy Badera - and...@badera.us - (518) 641-1280 - Tech Valley Code Camp 2009.1: http://www.techvalleycodecamp.com/ - Google me: http://www.google.com/search?q=andrew+badera On Tue, Feb 10, 2009 at 6:15 PM, Peter Denton petermden...@gmail.com wrote: Ok, this might come across as being sarcastic, but I am being 100% genuine here. My question is: how do you miss this? Again, not trying to piss anyone off, but seriously asking a question hoping you might provide some insight for a product manager. Would it be better if you: received an email with a read this first? were forced to play in a sandbox and simulate worst case scenarios? were allowed to pay for immediate whitelisting? I am just curious on this. I know these are delicate questions, but would love any feedback. On Tue, Feb 10, 2009 at 2:57 PM, Sunny sunde...@gmail.com wrote: Hi Matt, We have the exact same problem. Is there a possibility you could help us out as well? On Feb 10, 12:51 pm, Matt Sanford m...@twitter.com wrote: Hi Elso, I replied to your direct email and we can discuss in that thread. We'll do what we can to help out. Thanks; — Matt Sanford On Feb 10, 2009, at 10:12 AM, Eiso wrote: Hi Alex and the rest of the Twitter Support Team, By now you might have seen the stream of tweets, messages and everything in my power to try and get a hold of you. We launched our startup today, Twollars.com - which is a virtual thank you currency for Twitter with as goal to support charities and encourage good behavior. Not realizing that there were API limits on the search and public user/show/usernameorid.json - we launched, had one bad loop and twollars.com got blocked, understandably. We then switched over everything to omniwiki.co.uk (proxy wise) but quickly ran into the 100 requests per hour rate limit; and believe we might be blocked now? As you can understand we're sweating here and stress levels building, no startup wants to go south on the day of launch ;) Is it possible you can whitelist omniwiki.co.uk and twollars.com - we'd also be happy to discuss a paid api structure if Twitter prefers that. All the best, Eiso
Re: Twollars - Sweat, stress and worries about IP blocking/rate limits
Awesome Matt, thanks! Steps in the right direction :) On Tue, Feb 10, 2009 at 6:26 PM, Matt Sanford m...@twitter.com wrote: Good point. It had been so long since I joined I forgot there was no proper welcome message. I'll add one now pointing people to http://apiwiki.twitter.com/FAQ. Thanks; — Matt On Feb 10, 2009, at 03:20 PM, Andrew Badera wrote: 100% agreed Peter. Since Day One there has been a horrendous amount of redundant inquiry on this list. Is the information just not obvious enough? Not organized or presented well enough? Thanks- - Andy Badera - and...@badera.us - (518) 641-1280 - Tech Valley Code Camp 2009.1: http://www.techvalleycodecamp.com/ - Google me: http://www.google.com/search?q=andrew+badera On Tue, Feb 10, 2009 at 6:15 PM, Peter Denton petermden...@gmail.comwrote: Ok, this might come across as being sarcastic, but I am being 100% genuine here. My question is: how do you miss this? Again, not trying to piss anyone off, but seriously asking a question hoping you might provide some insight for a product manager. Would it be better if you: - received an email with a read this first? - were forced to play in a sandbox and simulate worst case scenarios? - were allowed to pay for immediate whitelisting? I am just curious on this. I know these are delicate questions, but would love any feedback. On Tue, Feb 10, 2009 at 2:57 PM, Sunny sunde...@gmail.com wrote: Hi Matt, We have the exact same problem. Is there a possibility you could help us out as well? On Feb 10, 12:51 pm, Matt Sanford m...@twitter.com wrote: Hi Elso, I replied to your direct email and we can discuss in that thread. We'll do what we can to help out. Thanks; — Matt Sanford On Feb 10, 2009, at 10:12 AM, Eiso wrote: Hi Alex and the rest of the Twitter Support Team, By now you might have seen the stream of tweets, messages and everything in my power to try and get a hold of you. We launched our startup today, Twollars.com - which is a virtual thank you currency for Twitter with as goal to support charities and encourage good behavior. Not realizing that there were API limits on the search and public user/show/usernameorid.json - we launched, had one bad loop and twollars.com got blocked, understandably. We then switched over everything to omniwiki.co.uk (proxy wise) but quickly ran into the 100 requests per hour rate limit; and believe we might be blocked now? As you can understand we're sweating here and stress levels building, no startup wants to go south on the day of launch ;) Is it possible you can whitelist omniwiki.co.uk and twollars.com - we'd also be happy to discuss a paid api structure if Twitter prefers that. All the best, Eiso
Posting source parameter with curl
I have looked through the api, this group and the web, and cannot find anywhere that describes how to post an update using curl with a source parameter. If anyone could tell how i would go about doing this it would be very helpful. I just got my app approved as a source and would like to add it.
Re: Posting source parameter with curl
I have looked through the api, this group and the web, and cannot find anywhere that describes how to post an update using curl with a source parameter. If anyone could tell how i would go about doing this it would be very helpful. I just got my app approved as a source and would like to add it. Just add source=[key] as an argument, e.g., curl http://invalid/xyz=pdqsource=yoursource -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- Smile if you like this tag line. ---
Re: Posting source parameter with curl
curl http://invalid/xyz=pdqsource=yoursource Er, curl http://invalid/something.json?xyz=pdqsource=yoursource -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- To describe bitter medicine will not improve its flavor. -- Charlie Chan ---
Re: Posting source parameter with curl
On Feb 10, 9:59 pm, Cameron Kaiser spec...@floodgap.com wrote: curlhttp://invalid/xyz=pdqsource=yoursource Er, curlhttp://invalid/something.json?xyz=pdqsource=yoursource Ok thanks, what do the xyz and pdq stand for in that url?
Re: Posting source parameter with curl
Here is a complete cURL example of posting to twitter. //username and password credentials $username = 'myusername'; $password = 'mypassword'; // The message you want to send $message = look world, i am posting to twitter; //the source parameter provided by twitter $appSource = 'twibs'; // The twitter API address $url = 'http://twitter.com/statuses/update.xml'; // Set up and execute the curl process $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_POST, 1); curl_setopt($curl_handle, CURLOPT_POSTFIELDS, status=$messagesource=$appSource); //pass in your login crdentials curl_setopt($curl_handle, CURLOPT_USERPWD, $username:$password); //execute your curl $buffer = curl_exec($curl_handle); //close curl curl_close($curl_handle); On Tue, Feb 10, 2009 at 7:56 PM, SamSoftware bcn.r...@gmail.com wrote: On Feb 10, 9:59 pm, Cameron Kaiser spec...@floodgap.com wrote: curlhttp://invalid/xyz=pdqsource=yoursource Er, curlhttp://invalid/something.json?xyz=pdqsource=yoursource Ok thanks, what do the xyz and pdq stand for in that url?
Re: Posting source parameter with curl
I tried this, and it seems not to work. does Twitter allow to do it at all? basically I am using the urllib library of python to do the samething, and it works fine with posting a message to: http://twitter.com/statuses/update.xml?status=message but can't get it work with the source parameter. Anybody help, much appreciate! Cameron Kaiser wrote: curl http://invalid/xyz=pdqsource=yoursource Er, curl http://invalid/something.json?xyz=pdqsource=yoursource -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- To describe bitter medicine will not improve its flavor. -- Charlie Chan ---
Re: Posting source parameter with curl
I tried this, and it seems not to work. does Twitter allow to do it at all? Well, obviously, or there would be no sources! ;-) basically I am using the urllib library of python to do the samething, and it works fine with posting a message to: http://twitter.com/statuses/update.xml?status=message but can't get it work with the source parameter. First and most obvious question: are you using a source key Twitter has enabled and told you to use? -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- I may have invented CtrlAltDel, but Microsoft made it popular. -- D. Bradley
Re: Posting source parameter with curl
Ah, thanks for the quick reply and good question, Cameron! And I don't have a key registered anywhere, and did realize it. However after some search and failed: can you please tell me how I can have a key and get it enabled? http://apiwiki.twitter.com/FAQ#HowdoIget%E2%80%9CfromMyApp%E2%80%9DappendedtoupdatessentfrommyAPIapplication -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- They make a desert and call it peace. -- Tacitus ---