[twitter-dev] Re: whitelist site -- horror story
Well if you are getting, it should reset every hour, so if there is some debugging available there. Also there is a method in the api for seeing your limit status, although I have had inconsistent results there On Jun 18, 2009, at 8:46 PM, markanson wrote: I have a site that is whitelisted but it is only making about a hundred API calls each day (it is in development) and everything was working fine until today Suddenly, when any of the applications I have built call the Twitter API the API returns this: 400 Bad Request Bad Request Your browser sent a request that this server could not understand. The weird thing is, sometimes it returns proper results. But if I try to refresh or repeat the request a minute later, the same 400 error message returns. I am certain that the code I have written is valid, as it was all working properly for over a month and only started showing problems today. What is happening is really worrying for me because I have spent 4 months developing Twitter based application and now things are all falling apart for no apparent reason. The site is here http://nowww.us/ but I have blocked all debugging information so you won't see errors in the main search form. But an example for developers to examine, I have made a page that demonstrates the problem and displays some error details: http://nowww.us/twitter-search.php?q=food&submit=Search can someone help me please? This is a really messing up my brain and I can't see what I can do. mark
[twitter-dev] airline accident case study
It happened again. just can't help to share this case study: "Continental airlines incident" was emerging at about 8:29am this morning on the twitter daily new topic list on my http://web2express.org website. it was probably at the same time as other major news outlets broke the news, maybe even a litter bit earlier. Surprisingly, this top news did not show up on Twitter.com's trending topics list, nor on google trends at all for the whole day. (I just checked and compared the lists) This case study shows the difference between various trending applications. A good real time semantic analysis is the key that makes the difference, I think. -aj -- AJ Chen, PhD Co-Chair, Semantic Web SIG, sdforum.org http://web2express.org Palo Alto, CA
[twitter-dev] Re: Getting users profile from their username
Yeah, oAuth is the way to go. However, if you just want to grab some data, you can use the curl function below and the username and password are your credentials, not the users who profile you want to see. On Jun 18, 2009, at 5:46 PM, JDG wrote: OAuth :) On Thu, Jun 18, 2009 at 18:38, Slicey wrote: Thanks, is there any way I would be able to do it without the password? On Jun 19, 12:53 am, Peter Denton wrote: > you can do something like this > > function getUserInfo($screen_name) > { > $mas_username = 'YOURUSERNAME'; > $mas_password = 'YOURPASSWORD'; > > $host = "http://twitter.com/users/show/$screen_name.xml";; > $ch = curl_init(); > curl_setopt($ch, CURLOPT_URL, $host); > curl_setopt($ch, CURLOPT_HEADER, false); > curl_setopt($ch, CURLOPT_VERBOSE, 1); > curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); > curl_setopt($ch, CURLOPT_USERPWD, "$mas_username:$mas_password"); > curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); > $result = curl_exec($ch); > $responseInfo=curl_getinfo($ch); > curl_close($ch); > > $status_code = intval($responseInfo['http_code']); > switch($status_code) { >case 200: > if (simplexml_load_string($result)) { > $xml = new SimpleXMLElement($result); > print_r($xml); > } >break; > } > } > > > > On Thu, Jun 18, 2009 at 4:44 PM, Slicey wrote: > > > I'm trying to create a clone of the users twitter page. > > > On Jun 19, 12:25 am, JDG wrote: > > > Maybe I'm missing something here, but can't you just create a link to " > >http://twitter.com/$username"; ? > > > > On Thu, Jun 18, 2009 at 14:47, Slicey wrote: > > > > > I'm currently building a site in PHP where a user enters their > > > > username and uploads an audio clip to our site. Then the get a tiny > > > > url where they can view their twitter profile with the audio clip on > > > > it. > > > > > Is it possible to call a users profile by their username through php? > > > > -- > > > Internets. Serious business. > > -- > Peter M. Dentonwww.twibs.com > i...@twibs.com > > Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c -- Internets. Serious business.
[twitter-dev] Re: getting the initial tweet on a subject
> I am wondering if it is possible for me to get the first ever tweet on > a trending topic? You could try to page back arbitrarily far but there is no specific method for this, and it won't work for extremely fat or popular topics. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- Michael Jackson is [reverse] Pinocchio: more lies, less nose. -- Vanity Fair
[twitter-dev] Re: Getting users profile from their username
OAuth :) On Thu, Jun 18, 2009 at 18:38, Slicey wrote: > > Thanks, is there any way I would be able to do it without the > password? > > On Jun 19, 12:53 am, Peter Denton wrote: > > you can do something like this > > > > function getUserInfo($screen_name) > > { > > $mas_username = 'YOURUSERNAME'; > > $mas_password = 'YOURPASSWORD'; > > > > $host = "http://twitter.com/users/show/$screen_name.xml";; > > $ch = curl_init(); > > curl_setopt($ch, CURLOPT_URL, $host); > > curl_setopt($ch, CURLOPT_HEADER, false); > > curl_setopt($ch, CURLOPT_VERBOSE, 1); > > curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); > > curl_setopt($ch, CURLOPT_USERPWD, "$mas_username:$mas_password"); > > curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); > > $result = curl_exec($ch); > > $responseInfo=curl_getinfo($ch); > > curl_close($ch); > > > > $status_code = intval($responseInfo['http_code']); > > switch($status_code) { > >case 200: > > if (simplexml_load_string($result)) { > > $xml = new SimpleXMLElement($result); > > print_r($xml); > > } > >break; > > } > > } > > > > > > > > On Thu, Jun 18, 2009 at 4:44 PM, Slicey wrote: > > > > > I'm trying to create a clone of the users twitter page. > > > > > On Jun 19, 12:25 am, JDG wrote: > > > > Maybe I'm missing something here, but can't you just create a link to > " > > >http://twitter.com/$username"; ? > > > > > > On Thu, Jun 18, 2009 at 14:47, Slicey wrote: > > > > > > > I'm currently building a site in PHP where a user enters their > > > > > username and uploads an audio clip to our site. Then the get a tiny > > > > > url where they can view their twitter profile with the audio clip > on > > > > > it. > > > > > > > Is it possible to call a users profile by their username through > php? > > > > > > -- > > > > Internets. Serious business. > > > > -- > > Peter M. Dentonwww.twibs.com > > i...@twibs.com > > > > Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c > -- Internets. Serious business.
[twitter-dev] getting the initial tweet on a subject
Hi, I am wondering if it is possible for me to get the first ever tweet on a trending topic? --deostroll
[twitter-dev] Re: Users not being indexed by Search
Should we still be sending these? Any new insight on what is happening? The issue seems to have been growing over the past week where almost all of my support requests for my app are about this issue... Brooks On Jun 16, 7:59 pm, Doug Williams wrote: > Chad, > Let's see what light the article sheds and work from there. > > Send me false-positives in private so that I can share them with our > scientist. > > Thanks, > Doug > > > > On Tue, Jun 16, 2009 at 5:55 PM, Chad Etzel wrote: > > > Thanks. Even after sending the first email, I got about 5 or 6 other > > complaints about the same thing. It just seems strange that so many > > are getting flagged... people I know, even. I know you can't divulge > > your algorithm, so I won't ask... > > > -Chad > > > On Tue, Jun 16, 2009 at 8:41 PM, Doug Williams wrote: > > > We exclude users from the search index if they are performing behaviors > > that > > > are outside of our TOS or if they look spammy to our support staff or > > > algorithms. The support folks are writing up an article for > > >http://help.twitter.comto explain this policy. I'll drop the link here > > when > > > that is available. > > > > Thanks, > > > Doug > > > > -- > > > Do you follow me?http://twitter.com/dougw > > > > On Tue, Jun 16, 2009 at 10:27 AM, Brooks Bennett > > > wrote: > > > >> I sent this to @twitterapi as well: > > >>http://twitter.com/BrooksBennett/status/2191822737 > > > >> Here are some people pondering the occurrence: > > > >>http://twitter.com/Sideache/statuses/2188774064 > > >>http://twitter.com/LynnMaudlin/statuses/2188727280 > > > >> This has been an issue off and on for about a month, but in the last > > >> few days it has really escalated. > > > >> Brooks > > > >> On Jun 16, 11:29 am, Chad Etzel wrote: > > >> > Hi Matt/Doug, > > > >> > In the last week or so, I've been getting a lot of complaints from > > >> > TweetGrid users that people are not showing up in their searches. > > >> > They automatically assume it's TweetGrid's fault and lob a complaint > > >> > my way. I go verify that the user in question has stopped being > > >> > indexed by Search and then reply to them that this is the case and > > >> > that they should open a support ticket with Twitter. > > > >> > This is somewhat time consuming and tedious. I'm not sure how to ask > > >> > for a solution to this situation. I guess I just wanted to express > > >> > that people are more actively starting to notice when people do not > > >> > appear in search results. I have no idea why people are being dropped > > >> > from indexing (I check each account manually), but is this a very > > >> > common thing to flip the admin bit to block people from search? > > > >> > -Chad
[twitter-dev] oauth_verifier param missing from callback?
Yesterday I received an oauth_verifier back from Twitter. Today I do not. No code has changed in the app. Is it missing for some reason or am I likely to have screwed something else up?
[twitter-dev] Re: OAuth and "native" clients
> Or is the door for basic auth really closing forever? This has been discussed in a number of threads and an exact determination has not yet been made. However, this might give you some context: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/5a37cb4b60801507/33c17b028322f0fb -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- The cost of living has not adversely affected its popularity. --
[twitter-dev] OAuth and "native" clients
The fact that Basic Auth is going to be phased out in favor of OAuth is mentioned in several places, and it is not possible right now to register an app for a "source parameter" if it uses basic auth. However, I can't see how you can implement a sensible user experience using OAuth for native clients, in particular those in mobile platforms like the iPhone or Android. Redirecting users to enter their credentials in a mobile browser, and instructing them to "go back and open the app again" is a terrible experience. OAuth works wonders for webapps, but it really sucks for native ones. Is there an unwritten policy that says that mobile clients would get registered if you ask nicely? Or is the door for basic auth really closing forever?
[twitter-dev] Re: location data for searched tweets
The entire user profile, including location, is returned for each match in the Streaming API /track method. Matches are by keyword, not phrase. -John Kalucki Services, Twitter Inc. On Jun 18, 5:29 pm, Germig wrote: > Hi, is it not possible to get the location data as a return value > after a search request? For example, if I get the tweets for the query > "swine flue", it won´t be possible to get location data fot them? > So I need a method to get users details. But it cost a lot api calls > for every user. > Is there any clever way to solve this? > Thanks.
[twitter-dev] Re: Following duration
This is not information available through the API. On Thu, Jun 18, 2009 at 17:56, wineshtain wrote: > > Hello, > > What would be the simplest way to find for how long one users is > following another? > > Thanks, > > Wineshtain > -- Abraham Williams | Community | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham Project | http://fireeagle.labs.poseurtech.com This email is: [ ] blogable [x] ask first [ ] private.
[twitter-dev] Re: location data for searched tweets
Do a lot of caching on your servers. Abraham On Thu, Jun 18, 2009 at 19:29, Germig wrote: > > Hi, is it not possible to get the location data as a return value > after a search request? For example, if I get the tweets for the query > "swine flue", it won´t be possible to get location data fot them? > So I need a method to get users details. But it cost a lot api calls > for every user. > Is there any clever way to solve this? > Thanks. > -- Abraham Williams | Community | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham Project | http://fireeagle.labs.poseurtech.com This email is: [ ] blogable [x] ask first [ ] private.
[twitter-dev] Re: Getting users profile from their username
Yes. Have a look at the documentation: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-users%C2%A0show Basically what Peter had but without: $mas_username = 'YOURUSERNAME'; $mas_password = 'YOURPASSWORD'; curl_setopt($ch, CURLOPT_USERPWD, "$mas_username:$mas_password"); On Thu, Jun 18, 2009 at 19:38, Slicey wrote: > > Thanks, is there any way I would be able to do it without the > password? > > On Jun 19, 12:53 am, Peter Denton wrote: >> you can do something like this >> >> function getUserInfo($screen_name) >> { >> $mas_username = 'YOURUSERNAME'; >> $mas_password = 'YOURPASSWORD'; >> >> $host = "http://twitter.com/users/show/$screen_name.xml";; >> $ch = curl_init(); >> curl_setopt($ch, CURLOPT_URL, $host); >> curl_setopt($ch, CURLOPT_HEADER, false); >> curl_setopt($ch, CURLOPT_VERBOSE, 1); >> curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); >> curl_setopt($ch, CURLOPT_USERPWD, "$mas_username:$mas_password"); >> curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); >> $result = curl_exec($ch); >> $responseInfo=curl_getinfo($ch); >> curl_close($ch); >> >> $status_code = intval($responseInfo['http_code']); >> switch($status_code) { >> case 200: >> if (simplexml_load_string($result)) { >> $xml = new SimpleXMLElement($result); >> print_r($xml); >> } >> break; >> } >> } >> >> >> >> On Thu, Jun 18, 2009 at 4:44 PM, Slicey wrote: >> >> > I'm trying to create a clone of the users twitter page. >> >> > On Jun 19, 12:25 am, JDG wrote: >> > > Maybe I'm missing something here, but can't you just create a link to " >> >http://twitter.com/$username"; ? >> >> > > On Thu, Jun 18, 2009 at 14:47, Slicey wrote: >> >> > > > I'm currently building a site in PHP where a user enters their >> > > > username and uploads an audio clip to our site. Then the get a tiny >> > > > url where they can view their twitter profile with the audio clip on >> > > > it. >> >> > > > Is it possible to call a users profile by their username through php? >> >> > > -- >> > > Internets. Serious business. >> >> -- >> Peter M. Dentonwww.twibs.com >> i...@twibs.com >> >> Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c > -- Abraham Williams | Community | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham Project | http://fireeagle.labs.poseurtech.com This email is: [ ] blogable [x] ask first [ ] private.
[twitter-dev] location data for searched tweets
Hi, is it not possible to get the location data as a return value after a search request? For example, if I get the tweets for the query "swine flue", it won´t be possible to get location data fot them? So I need a method to get users details. But it cost a lot api calls for every user. Is there any clever way to solve this? Thanks.
[twitter-dev] Re: Getting users profile from their username
Thanks, is there any way I would be able to do it without the password? On Jun 19, 12:53 am, Peter Denton wrote: > you can do something like this > > function getUserInfo($screen_name) > { > $mas_username = 'YOURUSERNAME'; > $mas_password = 'YOURPASSWORD'; > > $host = "http://twitter.com/users/show/$screen_name.xml";; > $ch = curl_init(); > curl_setopt($ch, CURLOPT_URL, $host); > curl_setopt($ch, CURLOPT_HEADER, false); > curl_setopt($ch, CURLOPT_VERBOSE, 1); > curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); > curl_setopt($ch, CURLOPT_USERPWD, "$mas_username:$mas_password"); > curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); > $result = curl_exec($ch); > $responseInfo=curl_getinfo($ch); > curl_close($ch); > > $status_code = intval($responseInfo['http_code']); > switch($status_code) { > case 200: > if (simplexml_load_string($result)) { > $xml = new SimpleXMLElement($result); > print_r($xml); > } > break; > } > } > > > > On Thu, Jun 18, 2009 at 4:44 PM, Slicey wrote: > > > I'm trying to create a clone of the users twitter page. > > > On Jun 19, 12:25 am, JDG wrote: > > > Maybe I'm missing something here, but can't you just create a link to " > >http://twitter.com/$username"; ? > > > > On Thu, Jun 18, 2009 at 14:47, Slicey wrote: > > > > > I'm currently building a site in PHP where a user enters their > > > > username and uploads an audio clip to our site. Then the get a tiny > > > > url where they can view their twitter profile with the audio clip on > > > > it. > > > > > Is it possible to call a users profile by their username through php? > > > > -- > > > Internets. Serious business. > > -- > Peter M. Dentonwww.twibs.com > i...@twibs.com > > Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c
[twitter-dev] Re: Green Profile Pictures
Hi there, It's users showing support for Iran. Check out http://search.twitter.com/search?q=%23iranelection+green and http://helpiranelection.com/ for information on the green avatars. Thanks; — Matt Sanford On Jun 18, 2009, at 5:03 PM, Dewald Pretorius wrote: I'm suddenly seeing a lot of profile pictures that have a sickly green hue. I know it's not an API issue, but just wondering if it's a bug with image processing, or just some new user fad.
[twitter-dev] Re: Green Profile Pictures
its because of Iran On Thu, Jun 18, 2009 at 5:03 PM, Dewald Pretorius wrote: > > I'm suddenly seeing a lot of profile pictures that have a sickly green > hue. I know it's not an API issue, but just wondering if it's a bug > with image processing, or just some new user fad. > -- Peter M. Denton www.twibs.com i...@twibs.com Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c
[twitter-dev] Green Profile Pictures
I'm suddenly seeing a lot of profile pictures that have a sickly green hue. I know it's not an API issue, but just wondering if it's a bug with image processing, or just some new user fad.
[twitter-dev] Re: Getting users profile from their username
you can do something like this function getUserInfo($screen_name) { $mas_username = 'YOURUSERNAME'; $mas_password = 'YOURPASSWORD'; $host = "http://twitter.com/users/show/$screen_name.xml";; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $host); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERPWD, "$mas_username:$mas_password"); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); $result = curl_exec($ch); $responseInfo=curl_getinfo($ch); curl_close($ch); $status_code = intval($responseInfo['http_code']); switch($status_code) { case 200: if (simplexml_load_string($result)) { $xml = new SimpleXMLElement($result); print_r($xml); } break; } } On Thu, Jun 18, 2009 at 4:44 PM, Slicey wrote: > > I'm trying to create a clone of the users twitter page. > > On Jun 19, 12:25 am, JDG wrote: > > Maybe I'm missing something here, but can't you just create a link to " > http://twitter.com/$username"; ? > > > > On Thu, Jun 18, 2009 at 14:47, Slicey wrote: > > > > > I'm currently building a site in PHP where a user enters their > > > username and uploads an audio clip to our site. Then the get a tiny > > > url where they can view their twitter profile with the audio clip on > > > it. > > > > > Is it possible to call a users profile by their username through php? > > > > -- > > Internets. Serious business. > -- Peter M. Denton www.twibs.com i...@twibs.com Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c
[twitter-dev] Re: Getting users profile from their username
I'm trying to create a clone of the users twitter page. On Jun 19, 12:25 am, JDG wrote: > Maybe I'm missing something here, but can't you just create a link to > "http://twitter.com/$username"; ? > > On Thu, Jun 18, 2009 at 14:47, Slicey wrote: > > > I'm currently building a site in PHP where a user enters their > > username and uploads an audio clip to our site. Then the get a tiny > > url where they can view their twitter profile with the audio clip on > > it. > > > Is it possible to call a users profile by their username through php? > > -- > Internets. Serious business.
[twitter-dev] Re: Getting users profile from their username
Maybe I'm missing something here, but can't you just create a link to " http://twitter.com/$username"; ? On Thu, Jun 18, 2009 at 14:47, Slicey wrote: > > I'm currently building a site in PHP where a user enters their > username and uploads an audio clip to our site. Then the get a tiny > url where they can view their twitter profile with the audio clip on > it. > > Is it possible to call a users profile by their username through php? > -- Internets. Serious business.
[twitter-dev] Re: Mixing basic auth with OAuth
Hi, I had posted that script: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/2985c36158742455/6a179766f32f4d50 I think it ran at around 1000 conversions/hour, but you can easily parallelize to get more throughput. - Jon On Jun 17, 4:20 pm, Abraham Williams <4bra...@gmail.com> wrote: > You have the code already finished for basic auth and maybe for oauth as > well. it is pretty much just a simple if statment in your code to choose > which one to run. > Someone also posted a ruby script that I think screenscraped the oauth > authorize page to automate a switch from basic auth to oauth. I don't know > what Twitters view is on practice though. > > Abraham > > > > > > On Wed, Jun 17, 2009 at 14:49, Simon wrote: > > > > You can stop taking peoples accounts, use sign in with twitter and for > > all > > > the existing user who have not done it yet basic auth is still around. > > > I have that basically set up, but the problem is getting the basic > > auth users switched... I can't run both. The user must either be on > > one, or the other. So adding OAuth must go hand in hand with deleting > > basic auth, which is just unnecessary steps for me to code and the > > user to do. Speaking from an ease of use point of view, I don't WANT > > to users to return to switch to OAuth. Simple. > > > What will Twitter do when it will supposedly switch off basic auth? > > What about services like twitpic that still runs on basic auth? The > > crap thing is, is that a service like twitpic, users DO come back and > > switching to OAuth will be easier. Mine isn't. Users don't enter their > > details ever again. I'm sure they'll make it easier to switch to OAuth > > no doubt. I hope. > > > I'll probably add the OAuth, and then have to direct users who want to > > switch to OAuth, through the laborious steps. :( > > > > Paul > > > > 2009/6/17 Simon > > > > > On Jun 16, 2:58 pm, Paul Kinlan wrote: > > > > > Hi, > > > > > Since you have all the passwords, could you not just log into the > > users > > > > > account and authorise access to your oauth based application? > > > > > No, it's way too many users. I don't have that time. But see that's > > > > exactly my point. I HAVE the password, instead of manually going > > > > through the motions (which I can), why can't there be an API method > > > > that can do it automatically? > > > > > > Looking at what you have done, other than letting the user tweet what > > > > they > > > > > are listenting too you don't need any authentication, would it not be > > > > easier > > > > > to get the user to follow you, in response you send a DM to them with > > a > > > > url > > > > > in that contains a unique url in that they can then enter their > > lastFM > > > > > username in. Because they are following you, you can still DM the > > stats > > > > > that you send. > > > > > The goal is to automatically tweet what the people are listening to. > > > > That method won't work. > > > > > > > Hi. I made a mashup in the beginning of the year (before OAuth). > > You > > > > > > can check it out here:http://www.tweekly.fm. > > > > > > > I really want to switch to OAuth (for the sake of security), but > > > > > > Twitter isn't exactly making it easy. I've read through some old > > > > > > threads, but couldn't precisely find what I wanted to say. Sorry, > > if > > > > > > its been said before. > > > > > > > My mashup only requires the user to enter their details once. The > > only > > > > > > time they enter it again, is to delete it. It's an automation > > service. > > > > > > It sends data from last.fm to twitter. > > > > > > > Switching to OAuth is a nightmare for both me (as a coder) and the > > > > > > user. I can't run both basic auth and OAuth for the same user (its > > the > > > > > > way my mashup works). So if a user wants to switch to OAuth, they > > have > > > > > > to delete the old basic auth details. Its unnecessary hurdles. > > > > > > > Its been said before. All I want is an API method to use basic auth > > to > > > > > > get the OAuth access tokens. This way, I can easily write one > > script, > > > > > > to convert all my users to OAuth. No hassles for me, and no hassles > > > > > > for the users. > > -- > Abraham Williams | Community |http://web608.org > Hacker |http://abrah.am|http://twitter.com/abraham > Project |http://fireeagle.labs.poseurtech.com > This email is: [ ] blogable [x] ask first [ ] private.
[twitter-dev] Re: oAuth authentication
i dl'ed the code, and simply added my key/secret to index.php. is there anything else i need to do? On Jun 18, 2:20 pm, Peter Denton wrote: > did you follow his php example verbatim with the exception of info from > connections tab?
[twitter-dev] Following duration
Hello, What would be the simplest way to find for how long one users is following another? Thanks, Wineshtain
[twitter-dev] Re: Rate Limit on Unfollows?
Doug, thanks - that makes total sense, and I agree with you there. Jesse On Thu, Jun 18, 2009 at 3:47 PM, Doug Williams wrote: > There is no limit to the number of unfollows. Using software to constantly > churn followers in a repeated pattern of following and unfollowing will > however risk suspension. > > Thanks, > Doug > > > > > On Thu, Jun 18, 2009 at 2:36 PM, Jesse Stay wrote: > >> Is it true that there is now a rate limit on number of unfollows per day? >> One of my users said that your support rep is telling them they risk >> suspension if they go over 500 unfollows a day. Might be worth an >> announcement if that is the case so we can share that with our users... >> >> If I can suggest against this, or perhaps another solution (or an >> exception for certain cases), one of the services I offer is the ability to >> remove all of your friends at once. This is something Loic Lemeur and >> others have done, and I think some times some people just want to start >> over. With a 500/day limit it may be near impossible for some people to >> remove all their friends at once. >> >> A better solution to kill spam, as I mentioned before, is to remove the >> follow limits and ratios on people that are already following an individual >> before that individual follows them, and increase the limits (I think 200 >> per day would be fine) for people trying to follow those that aren't already >> following them. I would leave out the unfollow limits due to the reasons >> specified, and they would be unnecessary with the limit rules I mentioned. >> >> Jesse >> > >
[twitter-dev] Re: Rate Limit on Unfollows?
There is no limit to the number of unfollows. Using software to constantly churn followers in a repeated pattern of following and unfollowing will however risk suspension. Thanks, Doug On Thu, Jun 18, 2009 at 2:36 PM, Jesse Stay wrote: > Is it true that there is now a rate limit on number of unfollows per day? > One of my users said that your support rep is telling them they risk > suspension if they go over 500 unfollows a day. Might be worth an > announcement if that is the case so we can share that with our users... > > If I can suggest against this, or perhaps another solution (or an exception > for certain cases), one of the services I offer is the ability to remove all > of your friends at once. This is something Loic Lemeur and others have > done, and I think some times some people just want to start over. With a > 500/day limit it may be near impossible for some people to remove all their > friends at once. > > A better solution to kill spam, as I mentioned before, is to remove the > follow limits and ratios on people that are already following an individual > before that individual follows them, and increase the limits (I think 200 > per day would be fine) for people trying to follow those that aren't already > following them. I would leave out the unfollow limits due to the reasons > specified, and they would be unnecessary with the limit rules I mentioned. > > Jesse >
[twitter-dev] Rate Limit on Unfollows?
Is it true that there is now a rate limit on number of unfollows per day? One of my users said that your support rep is telling them they risk suspension if they go over 500 unfollows a day. Might be worth an announcement if that is the case so we can share that with our users... If I can suggest against this, or perhaps another solution (or an exception for certain cases), one of the services I offer is the ability to remove all of your friends at once. This is something Loic Lemeur and others have done, and I think some times some people just want to start over. With a 500/day limit it may be near impossible for some people to remove all their friends at once. A better solution to kill spam, as I mentioned before, is to remove the follow limits and ratios on people that are already following an individual before that individual follows them, and increase the limits (I think 200 per day would be fine) for people trying to follow those that aren't already following them. I would leave out the unfollow limits due to the reasons specified, and they would be unnecessary with the limit rules I mentioned. Jesse
[twitter-dev] Re: What is the status of URL shortening by Twitter? (no more bit.ly)?
On Jun 18, 5:08 pm, Stuart wrote: > If you have a reasonable use case Tweetmeme will be happy to whitelist > you. Send a request to @tweetmemedev for more info. Thanks, will do once my project is a bit further down the road. What tweetmeme offers is definitely what I wuld be looking for. Björn
[twitter-dev] Re: Delay after deleting friendship
We are working on this problem. Unfortunately there is no workaround at this time. Thanks, Doug On Thu, Jun 18, 2009 at 10:58 AM, Jonathan wrote: > > I noticed that after I create or delete a friendship via the API, > there's a varying delay before the deleted friend disappears from my > Twitter friends page sometimes it's several minutes. Why the > delay, and is there any way around it? > > Thanks, > Jonathan >
[twitter-dev] Re: oAuth authentication
did you follow his php example verbatim with the exception of info from connections tab?
[twitter-dev] Twitter Application Platform
We're building a number of Twitter Apps and have started to build standard components for each to make reuse easier. We launched http://www.twables.com yesterday to be our starting point (warning, still needs lots of work!). Does anyone else want access to a toolkit of these components? Is there any interest in putting other apps in this directory / sharing user preferences between apps? Am I missing any other projects on this that I should be aware of? Thanks! Leonard
[twitter-dev] Delay after deleting friendship
I noticed that after I create or delete a friendship via the API, there's a varying delay before the deleted friend disappears from my Twitter friends page sometimes it's several minutes. Why the delay, and is there any way around it? Thanks, Jonathan
[twitter-dev] Re: Get last login date
Yea I've been using the last update, but wanted to see if I could add another layer of data. Thanks for your help. On Jun 17, 10:39 pm, Justyn wrote: > You could use the timestamp of their last update - I imaging this > would work for most needs, unless you truly needed to know the last > time they accessed Twitter and browsed. > > On Jun 17, 7:07 pm, Stuart wrote: > > > > > 2009/6/17 drewcrazy : > > > > Is there currently a twitter call that can capture the last login date > > > of a user? > > > Nope. > > > -Stuart > > > --http://stut.net/projects/twitter
[twitter-dev] Getting users profile from their username
I'm currently building a site in PHP where a user enters their username and uploads an audio clip to our site. Then the get a tiny url where they can view their twitter profile with the audio clip on it. Is it possible to call a users profile by their username through php?
[twitter-dev] Re: cannot authenticate to oAuth - php, abrahams code
are these on recently created apps? i created an app a few days ago, and a request for a request_token always fails.. On Jun 18, 12:30 pm, Peter Denton wrote: > I think I was just suffering from a code ID-10-T. > > Basically I believe I was creating a token session information at 2 places > in my code and as a result it caused the authentication to fail. > > > > On Thu, Jun 18, 2009 at 11:23 AM, Matt Sanford wrote: > > Hi Peter, > > Can you give a little more information so people who search for this in > > the future can maybe find the same issue? > > > Thanks; > > – Matt Sanford / @mzsanford > > Twitter Dev > > > On Jun 18, 2009, at 11:17 AM, Peter Denton wrote: > > > its something on my end. Thanks for your help Matt. > > > On Thu, Jun 18, 2009 at 10:41 AM, Peter Denton > > wrote: > > >> Hi Matt, > >> No matter what I do, even if I delete cookies, sessions, I can not > >> authenticate except once every few dozen attempts. This is the response I > >> get. > > >> [request] => > >> /account/verify_credentials.xml?oauth_version=1.0&oauth_nonce=10f29b374a549c7d5bd0ad89ecc8b892&oauth_timestamp=1245346747&oauth_consumer_key=MlC6u6i1v7zLofmbeQOw4w&oauth_signature_method=HMAC-SHA1&oauth_signature=E%2Fxi84w9QZGN8TBJJ%2BwjftrUgEI%3D > >> [error] => Could not authenticate you. > > >> Thanks > >> Peter > > >> On Thu, Jun 18, 2009 at 9:55 AM, Matt Sanford wrote: > > >>> Hi Peter, > > >>>I just tested Abraham's instance of his code at > >>>http://twitter.abrah.amand it worked correctly for me. Perhaps it is > >>> something token or application specific? Can you let me know the exact > >>> error > >>> message and the token you're using? > > >>> Thanks; > >>> — Matt > > >>> On Jun 18, 2009, at 9:50 AM, Peter Denton wrote: > > >>> Hello, > Is anyone else having issues authenticating with oAuth using Abraham's > code? I have not been able to login since last night. > > Thanks > Peter > > >> -- > >> Peter M. Denton > >>www.twibs.com > >> i...@twibs.com > > >> Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c > > > -- > > Peter M. Denton > >www.twibs.com > > i...@twibs.com > > > Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c > > -- > Peter M. Dentonwww.twibs.com > i...@twibs.com > > Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c
[twitter-dev] Re: oAuth authentication
i created my app (key/secret) a few days ago... and i cannot authenticate.. i tried both the abraham and epitwitter clients, with the same failure On Jun 18, 9:33 am, Peter Denton wrote: > not a new app registration, but just started really testing for oAuth. > > I have not been able to authenticate since last night. How about you? > > On Wed, Jun 17, 2009 at 3:35 PM, root wrote: > > > i see the same. is this for a new app? > > > On Jun 17, 1:27 pm, Peter Denton wrote: > > > Hello, > > > Is anyone getting 'could not authenticate' for every oAuth request? > > > Also, is there a method for checking the status of the oAuth service? > > > > Thanks > > -- > Peter M. Dentonwww.twibs.com > i...@twibs.com > > Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c
[twitter-dev] Re: cannot authenticate to oAuth - php, abrahams code
I think I was just suffering from a code ID-10-T. Basically I believe I was creating a token session information at 2 places in my code and as a result it caused the authentication to fail. On Thu, Jun 18, 2009 at 11:23 AM, Matt Sanford wrote: > Hi Peter, > Can you give a little more information so people who search for this in > the future can maybe find the same issue? > > Thanks; > – Matt Sanford / @mzsanford > Twitter Dev > > On Jun 18, 2009, at 11:17 AM, Peter Denton wrote: > > its something on my end. Thanks for your help Matt. > > On Thu, Jun 18, 2009 at 10:41 AM, Peter Denton wrote: > >> Hi Matt, >> No matter what I do, even if I delete cookies, sessions, I can not >> authenticate except once every few dozen attempts. This is the response I >> get. >> >> [request] => >> /account/verify_credentials.xml?oauth_version=1.0&oauth_nonce=10f29b374a549c7d5bd0ad89ecc8b892&oauth_timestamp=1245346747&oauth_consumer_key=MlC6u6i1v7zLofmbeQOw4w&oauth_signature_method=HMAC-SHA1&oauth_signature=E%2Fxi84w9QZGN8TBJJ%2BwjftrUgEI%3D >> [error] => Could not authenticate you. >> >> Thanks >> Peter >> >> >> On Thu, Jun 18, 2009 at 9:55 AM, Matt Sanford wrote: >> >>> >>> Hi Peter, >>> >>>I just tested Abraham's instance of his code at >>> http://twitter.abrah.am and it worked correctly for me. Perhaps it is >>> something token or application specific? Can you let me know the exact error >>> message and the token you're using? >>> >>> Thanks; >>> — Matt >>> >>> >>> On Jun 18, 2009, at 9:50 AM, Peter Denton wrote: >>> >>> Hello, Is anyone else having issues authenticating with oAuth using Abraham's code? I have not been able to login since last night. Thanks Peter >>> >>> >> >> >> -- >> Peter M. Denton >> www.twibs.com >> i...@twibs.com >> >> Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c >> >> >> > > > -- > Peter M. Denton > www.twibs.com > i...@twibs.com > > Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c > > > > -- Peter M. Denton www.twibs.com i...@twibs.com Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c
[twitter-dev] Re: cannot authenticate to oAuth - php, abrahams code
Hi Peter, Can you give a little more information so people who search for this in the future can maybe find the same issue? Thanks; – Matt Sanford / @mzsanford Twitter Dev On Jun 18, 2009, at 11:17 AM, Peter Denton wrote: its something on my end. Thanks for your help Matt. On Thu, Jun 18, 2009 at 10:41 AM, Peter Denton wrote: Hi Matt, No matter what I do, even if I delete cookies, sessions, I can not authenticate except once every few dozen attempts. This is the response I get. [request] => /account/verify_credentials.xml? oauth_version = 1.0 &oauth_nonce = 10f29b374a549c7d5bd0ad89ecc8b892 &oauth_timestamp = 1245346747 &oauth_consumer_key =MlC6u6i1v7zLofmbeQOw4w&oauth_signature_method=HMAC- SHA1&oauth_signature=E%2Fxi84w9QZGN8TBJJ%2BwjftrUgEI%3D [error] => Could not authenticate you. Thanks Peter On Thu, Jun 18, 2009 at 9:55 AM, Matt Sanford wrote: Hi Peter, I just tested Abraham's instance of his code at http://twitter.abrah.am and it worked correctly for me. Perhaps it is something token or application specific? Can you let me know the exact error message and the token you're using? Thanks; — Matt On Jun 18, 2009, at 9:50 AM, Peter Denton wrote: Hello, Is anyone else having issues authenticating with oAuth using Abraham's code? I have not been able to login since last night. Thanks Peter -- Peter M. Denton www.twibs.com i...@twibs.com Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c -- Peter M. Denton www.twibs.com i...@twibs.com Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c
[twitter-dev] Re: cannot authenticate to oAuth - php, abrahams code
its something on my end. Thanks for your help Matt. On Thu, Jun 18, 2009 at 10:41 AM, Peter Denton wrote: > Hi Matt, > No matter what I do, even if I delete cookies, sessions, I can not > authenticate except once every few dozen attempts. This is the response I > get. > > [request] => > /account/verify_credentials.xml?oauth_version=1.0&oauth_nonce=10f29b374a549c7d5bd0ad89ecc8b892&oauth_timestamp=1245346747&oauth_consumer_key=MlC6u6i1v7zLofmbeQOw4w&oauth_signature_method=HMAC-SHA1&oauth_signature=E%2Fxi84w9QZGN8TBJJ%2BwjftrUgEI%3D > [error] => Could not authenticate you. > > Thanks > Peter > > > On Thu, Jun 18, 2009 at 9:55 AM, Matt Sanford wrote: > >> >> Hi Peter, >> >>I just tested Abraham's instance of his code at >> http://twitter.abrah.am and it worked correctly for me. Perhaps it is >> something token or application specific? Can you let me know the exact error >> message and the token you're using? >> >> Thanks; >> — Matt >> >> >> On Jun 18, 2009, at 9:50 AM, Peter Denton wrote: >> >> Hello, >>> Is anyone else having issues authenticating with oAuth using Abraham's >>> code? I have not been able to login since last night. >>> >>> Thanks >>> Peter >>> >> >> > > > -- > Peter M. Denton > www.twibs.com > i...@twibs.com > > Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c > > > -- Peter M. Denton www.twibs.com i...@twibs.com Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c
[twitter-dev] Re: cannot authenticate to oAuth - php, abrahams code
Hi Matt, No matter what I do, even if I delete cookies, sessions, I can not authenticate except once every few dozen attempts. This is the response I get. [request] => /account/verify_credentials.xml?oauth_version=1.0&oauth_nonce=10f29b374a549c7d5bd0ad89ecc8b892&oauth_timestamp=1245346747&oauth_consumer_key=MlC6u6i1v7zLofmbeQOw4w&oauth_signature_method=HMAC-SHA1&oauth_signature=E%2Fxi84w9QZGN8TBJJ%2BwjftrUgEI%3D [error] => Could not authenticate you. Thanks Peter On Thu, Jun 18, 2009 at 9:55 AM, Matt Sanford wrote: > > Hi Peter, > >I just tested Abraham's instance of his code at http://twitter.abrah.am and > it worked correctly for me. Perhaps it is something token or application > specific? Can you let me know the exact error message and the token you're > using? > > Thanks; > — Matt > > > On Jun 18, 2009, at 9:50 AM, Peter Denton wrote: > > Hello, >> Is anyone else having issues authenticating with oAuth using Abraham's >> code? I have not been able to login since last night. >> >> Thanks >> Peter >> > > -- Peter M. Denton www.twibs.com i...@twibs.com Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c
[twitter-dev] Re: cannot authenticate to oAuth - php, abrahams code
Hi Peter, I just tested Abraham's instance of his code at http://twitter.abrah.am and it worked correctly for me. Perhaps it is something token or application specific? Can you let me know the exact error message and the token you're using? Thanks; — Matt On Jun 18, 2009, at 9:50 AM, Peter Denton wrote: Hello, Is anyone else having issues authenticating with oAuth using Abraham's code? I have not been able to login since last night. Thanks Peter
[twitter-dev] cannot authenticate to oAuth - php, abrahams code
Hello, Is anyone else having issues authenticating with oAuth using Abraham's code? I have not been able to login since last night. Thanks Peter
[twitter-dev] Re: oAuth authentication
not a new app registration, but just started really testing for oAuth. I have not been able to authenticate since last night. How about you? On Wed, Jun 17, 2009 at 3:35 PM, root wrote: > > i see the same. is this for a new app? > > On Jun 17, 1:27 pm, Peter Denton wrote: > > Hello, > > Is anyone getting 'could not authenticate' for every oAuth request? > > Also, is there a method for checking the status of the oAuth service? > > > > Thanks > -- Peter M. Denton www.twibs.com i...@twibs.com Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c
[twitter-dev] Re: length limits for all fields
On Jun 18, 11:23 am, Doug Williams wrote: > This seems like good data to add to the docs. Which fields are there > questions about? Doug: the string length of the user's -- screen name -- name -- location -- description -- time zone and status's: -- source Cheers, Alexy
[twitter-dev] Re: length limits for all fields
This seems like good data to add to the docs. Which fields are there questions about? Thanks, Doug On Thu, Jun 18, 2009 at 7:47 AM, braver wrote: > > In designing an SQL schema for statuses as returned by Streaming API, > we need to know the length limits for all strings. Is there a single > table with such lengths, and/or can you guys please specify them here? > > Cheers, > Alexy >
[twitter-dev] Re: What is the status of URL shortening by Twitter? (no more bit.ly)?
2009/6/18 Bjoern : > It would be great if eventually Twitter could support searching for > URLs (and finding all of it's variants), similar to the recently > announced TweetMeme API. The TweetMeme API is interesting, but too > (rate) limited - also missing JSONP. Besides, it would really make > sense if Twitter would support this directly. If you have a reasonable use case Tweetmeme will be happy to whitelist you. Send a request to @tweetmemedev for more info. -Stuart -- http://stut.net/projects/twitter
[twitter-dev] length limits for all fields
In designing an SQL schema for statuses as returned by Streaming API, we need to know the length limits for all strings. Is there a single table with such lengths, and/or can you guys please specify them here? Cheers, Alexy
[twitter-dev] Re: What is the status of URL shortening by Twitter? (no more bit.ly)?
Hi there, Twitter disabled the automatic URL shortening if there is any slowness or other problem accessing the shortener. We make a best effort to automatically shorten but we don't want to return HTTP 500 simply because a shortening service failed to respond in time. As far as bit.ly goes, they do have an API [1] for getting all of the short versions of a long URL, so you might want to give that a shot. We've talked many times about the shortened/lengthened URL issue in search and hopefully we'll come up with a scalable solution at some point. It's not something I expect in the near term, however. Thanks; – Matt Sanford / @mzsanford Twitter Dev [1] - http://bit.ly/apidocs On Jun 18, 2009, at 6:38 AM, Bjoern wrote: Hi, I just wanted to look into the URL shortening issues, but found that I could not get Twitter to shorten my URLs anymore. Has Twitter dropped the practice of using bit.ly? I am very interested in the reverse lookup - finding tweets that link to a given web site. I think it would have been next to impossible to do with bit.ly anyway, so if Twitter dropped it again, cheers to that! At least with tinyurl there was a high likelyhood that all tinyurls pointing to a given web site would be the same. As far as I can tell bit.ly does not even give you the option to create a "common" URL via the API - all URLs would be specific to the API caller. It would be great if eventually Twitter could support searching for URLs (and finding all of it's variants), similar to the recently announced TweetMeme API. The TweetMeme API is interesting, but too (rate) limited - also missing JSONP. Besides, it would really make sense if Twitter would support this directly. Björn
[twitter-dev] Re: adding hashtags to direct message API
Hi there, This may be a more simple misunderstanding. If you send a direct message that is a private message and will not show up in search. You can use hashtags in direct messages but they will never show up in the search results. Thanks; – Matt Sanford / @mzsanford Twitter Dev On Jun 17, 2009, at 11:03 PM, xp wrote: I take it back. actually the hashtag sent from api does work. it just does not show the link unless you do a #hashtag search. On Jun 17, 1:46 pm, Joel Strellner wrote: Sounds like you need to URL encode your string before you send it to the API. The hash symbol is a reserved character and has a special meaning in URLs. Your browser will not automatically encode it like it would for spaces, for example. On Jun 16, 11:07 pm, xp wrote: is there any way to add hashtags in direct message API call? thanks.
[twitter-dev] Re: Oauth PIN Code
Hi there, For "browser" applications where you have specified the callback URL twitter does fall back on that value unless you send the oauth_callback=oob. If you send "oob" (out of band) you are essentially asking us to go though the PIN flow despite our better judgement. The issue for many people is that the latest versions of the OAuth gem add "oob" if you don't provide a value. I opened an issue with the gem maintainer [1] and someone has helpfully included a patch in reply to that. Thanks; – Matt Sanford / @mzsanford Twitter Dev [1] - http://github.com/mojodna/oauth/issues#issue/7 On Jun 18, 2009, at 3:16 AM, Ryan Bigg wrote: On further consideration, I really believe that twitter itself should do this, given that you set the callback when you're creating/editing the application AND you set it to "browser". It appears to me as if these options are purely cosmetic. I shouldn't have to set the callback when Twitter already knows what that callback is! - Ryan Bigg Mocra - Premier iPhone and Ruby on Rails Consultants w - http://mocra.com e - ra...@mocra.com p - +61 432 937 289 or +61 7 3102 3237 skype - radarlistener On 18/06/2009, at 6:36 PM, Lachlan Hardy wrote: I'm using the OAuth gem, but I had a similar problem. You need to ensure you are specifying the oauth_callback in your request. eg @request_token = @consumer.get_request_token(:oauth_callback => "http://example.com/auth";) instead of @request_token = @consumer.get_request_token
[twitter-dev] What is the status of URL shortening by Twitter? (no more bit.ly)?
Hi, I just wanted to look into the URL shortening issues, but found that I could not get Twitter to shorten my URLs anymore. Has Twitter dropped the practice of using bit.ly? I am very interested in the reverse lookup - finding tweets that link to a given web site. I think it would have been next to impossible to do with bit.ly anyway, so if Twitter dropped it again, cheers to that! At least with tinyurl there was a high likelyhood that all tinyurls pointing to a given web site would be the same. As far as I can tell bit.ly does not even give you the option to create a "common" URL via the API - all URLs would be specific to the API caller. It would be great if eventually Twitter could support searching for URLs (and finding all of it's variants), similar to the recently announced TweetMeme API. The TweetMeme API is interesting, but too (rate) limited - also missing JSONP. Besides, it would really make sense if Twitter would support this directly. Björn
[twitter-dev] Re: inline popup on twitter links
I wrote a firefox extension that allows you to do this for my URL- shortening service. Of course, many other such extensions work fine too. I mostly just wanted the experience. Feel free to check it out: http://2ze.us/ Shift wrote: > thanks, I once again had a feeling that was the case - too bad twitter > doesnt allow that functionality in the API I think it would be an > awesome idea and helpful too > > On Jun 17, 10:37 pm, Justyn wrote: > > If you're looking to do this in an external app, it's certainly > > possible. If you're looking to add this functionality to twitter.com > > itself, you would need something like Abraham mentioned (a browser > > plugin). > > > > On Jun 17, 4:03 pm, Shift wrote: > > > > > > > > > Hi Guys > > > > > Just working on developing an idea/app for twitter and was hoping > > > anyone out there might shed some light on something i am stumpped on. > > > > > From within twitter i want to be able to post a link (say a shortened > > > URL to an article). which when clicked will span a lightbox (modal/ > > > inline popup) rather than opening a new window/tab with the article, > > > is this possible to do, does anyone know how to do it or direct me to > > > somewhere that i can get more info? > > > > > Anyones help is really appreciated a lot. > > > > > Thanks- Hide quoted text - > > > > - Show quoted text -
[twitter-dev] Re: adding hashtags to direct message API
Same thing with search if you use the HTML code for # it will work: IE %23 For example %23hashTags If you want to search for the hashTag #hashTags On Jun 18, 4:03 pm, xp wrote: > I take it back. actually the hashtag sent from api does work. it just > does not show the link unless you do a #hashtag search. > > On Jun 17, 1:46 pm, Joel Strellner wrote: > > > Sounds like you need to URL encode your string before you send it to > > the API. The hash symbol is a reserved character and has a special > > meaning in URLs. Your browser will not automatically encode it like > > it would for spaces, for example. > > > On Jun 16, 11:07 pm, xp wrote: > > > > is there any way to add hashtags in direct message API call? thanks.
[twitter-dev] Re: Oauth PIN Code
On further consideration, I really believe that twitter itself should do this, given that you set the callback when you're creating/editing the application AND you set it to "browser". It appears to me as if these options are purely cosmetic. I shouldn't have to set the callback when Twitter already knows what that callback is! - Ryan Bigg Mocra - Premier iPhone and Ruby on Rails Consultants w - http://mocra.com e - ra...@mocra.com p - +61 432 937 289 or +61 7 3102 3237 skype - radarlistener On 18/06/2009, at 6:36 PM, Lachlan Hardy wrote: > > I'm using the OAuth gem, but I had a similar problem. > > You need to ensure you are specifying the oauth_callback in your > request. > > eg @request_token = @consumer.get_request_token(:oauth_callback => > "http://example.com/auth";) > > instead of > > @request_token = @consumer.get_request_token
[twitter-dev] Re: Failed to validate oauth signature or token with OAuth while updating the status
Hi, I removed the in_reply_to_status_id parameter but I'm still getting the same error... Thanks anyway Regards On Wed, Jun 17, 2009 at 5:17 PM, Matt Sanford wrote: > > Hi there, > >You may want to checkout the issues list for the PHP library. I found an > issue there that seems to be the same: > > http://github.com/jmathai/twitter-async/issues/unreads#issue/6 > > Thanks; > – Matt Sanford / @mzsanford > Twitter Dev > > > On Jun 17, 2009, at 5:32 AM, Borja Martín wrote: > > >> Hi, >> I'm getting the following error while trying to update the user status >> who is supposed to be authenticated through OAuth: >> 'Failed to validate oauth signature or token' >> >> The thing is that this was working a few hours ago and if I try to >> call the credentials verfication api method it works fine although I'm >> using the same tokens: >> >> $this->_twitter_oauth->setToken($session->oauth_access_token, >> $session->oauth_acces_token_secret); >> # this works >> $info = $this->_twitter_oauth->get_accountVerify_credentials(); >> $info->response >> # this doesn't >> $info = $this->_twitter_oauth->post_statusesUpdate(array('status' => >> $status, 'in_reply_to_status_id' => $in_reply_to_status_id)); >> $info->response >> >> (I'm using the EpiTwitter/EpiOAuth php library grabbed from this post: >> >> http://www.jaisenmathai.com/blog/2009/03/31/how-to-quickly-integrate-with-twitters-oauth-api-using-php/ >> ) >> >> Did anyone else found this issue? >> >> Thanks in advance >> >> Regards >> >> >> >> -- >> def dagi3d(me) >> case me >> when :web then "http://dagi3d.net"; >> when :twitter then "http://twitter.com/dagi3d"; >> end >> end >> > > -- def dagi3d(me) case me when :web then "http://dagi3d.net"; when :twitter then "http://twitter.com/dagi3d"; end end
[twitter-dev] Re: Oauth PIN Code
Well I'm doing the latter at the moment so I'm going to go with that's the problem. Out and a about at the moment so I'll confirm it tomorrow morning. Good to know, and thanks for your help. On 18/06/2009, at 6:36 PM, Lachlan Hardy wrote: > > I'm using the OAuth gem, but I had a similar problem. > > You need to ensure you are specifying the oauth_callback in your > request. > > eg @request_token = @consumer.get_request_token(:oauth_callback => > "http://example.com/auth";) > > instead of > > @request_token = @consumer.get_request_token
[twitter-dev] Re: Specify Page Size on page enabled API Methods
count parameter would be helpful for any endpoint that contains a page parameter option. On Apr 29, 3:48 pm, devangel wrote: > Thanks for the suggestion. Count doesn't seem to have any affect for > _/followers.xml. > > Cheers > > On Apr 28, 4:31 pm, Matt Sanford wrote: > > > Hi Dave, > > > Take a look at the count parameter, like …/followers.json? > > count=5. If raw data size is a problem you probably want to go with > > the lighter weight JSON if you're not already. > > > Thanks; > > – Matt Sanford / @mzsanford > > Twitter Dev > > > On Apr 28, 2009, at 3:10 PM, devangel wrote: > > > > Is there a way to specify the number of entries (pagesize) returned > > > on apageof results? I'm calling statuses/followers and the response > > > size to over 100K bytes which bumps up against one of the limits in my > > > environment. > > > > I see that I can specify thepageI want, but it would be really > > > useful to specify apagesize - possibly above some minimum value and > > > below some maximum value. > > > > Thanks > > > > Dave
[twitter-dev] Re: get all friend screen_names
i've discovered other threads about this limitation and ways to deal with it (albeit not efficient). over time, with caching results, it should suffice. but their are issues. would be nice if at least there was a a count parameter for all endpoints that have a page parameter. On Jun 18, 2:19 am, sull wrote: > it's not critical, so i was mainly trying to make sure that i was not > missing something in the API. > > i'm just doing a check on the response with the page parameter. if > it's empty, then i've reached the last page and will combine the > result sets (from each page). problem solved. > > On Jun 18, 12:47 am, Developer In London > wrote: > > > > > why would you need the screen_names of all the friends? usually you can use > > the twitterID for making any API calls > > > 2009/6/18 sull > > > > i actually started out using statuses/friends until i realized that it > > > was only 100 results per call. > > > then i would have to go into paging. plus i didnt need the other data > > > that is returned. > > > so then i decided that their must be a more direct call to make. i > > > suppose not. > > > > so if i return to statuses/friends approach, i would have to determine > > > how many pages of friends exist for that user so i can import all the > > > friends. it would have been helpful if in the data response, the > > > total # of pages was listed as well. but i cna calculate based on > > > ###. > > > > any other thoughts? is this what others are doing to get complete > > > friends list? > > > > thanks. > > > > sull > > > > On Jun 17, 10:30 pm, Abraham Williams <4bra...@gmail.com> wrote: > > > > statuses/friends would probably be faster. > > > > > On Wed, Jun 17, 2009 at 20:11, sull wrote: > > > > > > i found it odd that i cannot seem to get a simple API response with > > > > > all of a user's friends screen_names, only user ids. do i need to > > > > > make a request from users/show after i do friends/ids ? am i missing > > > > > a direct call or more efficient method? > > > > > > thanks. > > > > > -- > > > > Abraham Williams | Community |http://web608.org > > > > Hacker |http://abrah.am|http://twitter.com/abraham > > > > Project |http://fireeagle.labs.poseurtech.com > > > > This email is: [ ] blogable [x] ask first [ ] private. > > > -- > > cashflowclublondon.co.uk > > > ("`-''-/").___..--''"`-._ > > `6_ 6 ) `-. ( ).`-.__.`) > > (_Y_.)' ._ ) `._ `. ``-..-' > > _..`--'_..-_/ /--'_.' ,' > > (il),-'' (li),' ((!.-' > > .
[twitter-dev] Re: Oauth PIN Code
I'm using the OAuth gem, but I had a similar problem. You need to ensure you are specifying the oauth_callback in your request. eg @request_token = @consumer.get_request_token(:oauth_callback => "http://example.com/auth";) instead of @request_token = @consumer.get_request_token
[twitter-dev] Re: Profile background image set from statuses/show
Thanks for the info. I'm assuming this attribute will be added in the future, right? I did a nasty hack to detect if this image is set or not. It's not pretty, but it works. The reason I need this attribute is because I'm developing this little webapp: http://1kdaysontwitter.com/ Feedback is much appreciated. On Jun 15, 4:14 pm, Matt Sanford wrote: > Hi there, > > You're not missing it, there is no such attribute. Please > checkout the Goolge Code issue [1] and mark it with a star (next to > the title) to get updates. > > Thanks; > – Matt Sanford / @mzsanford > Twitter Dev > > [1] -http://code.google.com/p/twitter-api/issues/detail?id=587 > > On Jun 15, 2009, at 2:50 AM, Nil Gradisnik - gTwitter dev wrote: > > > > > There are lots of useful properties in Twitter REST API Method: > > statuses show. > > But I can't seem to find the information about "is the profile > > background image is used or not" by user. It seems that this > > information is no available from > > API:http://twitter.com/statuses/show/id.format > > . > > Am I missing something here?
[twitter-dev] Oauth PIN Code
I've made an oauth_client application and selected "browser" as the option but when I go to auth for that application using the twitter_auth gem it gives me a PIN code where it should redirect back to the callback link. What's going on here?
[twitter-dev] Re: get all friend screen_names
it's not critical, so i was mainly trying to make sure that i was not missing something in the API. i'm just doing a check on the response with the page parameter. if it's empty, then i've reached the last page and will combine the result sets (from each page). problem solved. On Jun 18, 12:47 am, Developer In London wrote: > why would you need the screen_names of all the friends? usually you can use > the twitterID for making any API calls > > 2009/6/18 sull > > > > > > > > > i actually started out using statuses/friends until i realized that it > > was only 100 results per call. > > then i would have to go into paging. plus i didnt need the other data > > that is returned. > > so then i decided that their must be a more direct call to make. i > > suppose not. > > > so if i return to statuses/friends approach, i would have to determine > > how many pages of friends exist for that user so i can import all the > > friends. it would have been helpful if in the data response, the > > total # of pages was listed as well. but i cna calculate based on > > ###. > > > any other thoughts? is this what others are doing to get complete > > friends list? > > > thanks. > > > sull > > > On Jun 17, 10:30 pm, Abraham Williams <4bra...@gmail.com> wrote: > > > statuses/friends would probably be faster. > > > > On Wed, Jun 17, 2009 at 20:11, sull wrote: > > > > > i found it odd that i cannot seem to get a simple API response with > > > > all of a user's friends screen_names, only user ids. do i need to > > > > make a request from users/show after i do friends/ids ? am i missing > > > > a direct call or more efficient method? > > > > > thanks. > > > > -- > > > Abraham Williams | Community |http://web608.org > > > Hacker |http://abrah.am|http://twitter.com/abraham > > > Project |http://fireeagle.labs.poseurtech.com > > > This email is: [ ] blogable [x] ask first [ ] private. > > -- > cashflowclublondon.co.uk > > ("`-''-/").___..--''"`-._ > `6_ 6 ) `-. ( ).`-.__.`) > (_Y_.)' ._ ) `._ `. ``-..-' > _..`--'_..-_/ /--'_.' ,' > (il),-'' (li),' ((!.-' > .