[twitter-dev] Re: Trends-API not working
Hi again, of course the link worked on the given day, as it was the current day. But how about if I'd like to get the trends of June 14th today? A few months ago this was possible by using the url posted above. Now I only get an empty JSON-object like {as_of:Thu, 22 Jul 2010 07:38:32 +,trends:[]}. I have a app depending on this API, but without data it's more or less useless. Kind regards, Dennis On 14 Jun., 20:01, Richard Coleman dimitris...@gmail.com wrote: Allow me to correct the message above: http://search.twitter.com/trends.json?date=2010-06-14 On Jun 14, 5:15 pm, Richard Coleman dimitris...@gmail.com wrote: Try this one instead: http://search.twitter.com/trends.json?date=2010-03-05%20 On Jun 14, 10:24 am, dennisp@web.de dennisp@web.de wrote: Hi, I got a problem using the Twitter-API, especially the Trends-Data. When calling the URLhttp://search.twitter.com/trends/daily.json?date=2010-03-05 (or another date), i just get an empty JSON-object back. If I use the new URLhttp://api.twitter.com/1/trends/daily.json?date=2010-03-05I always get a 404 - Not Found Exception. Some dates return a non-empty JSON-string, but most of them do. The last time I used the API everything works fine, but after not looking for it for a few weeks, I ran into this trouble. Does anyone have these troubles, too?- Zitierten Text ausblenden - - Zitierten Text anzeigen -
Re: [twitter-dev] Country based search
Hello Rachit, Maybe you will be interested in looking at our Semiocast API. It provides methods to filter tweets by location (and language) among other things. Please have a look at the section Filter Twitter status updates -- Example: filtering by language and location located at the URL: http://developer.semiocast.com/tutorial/twitter More information is available on the website of Semiocast API http://developer.semiocast.com/ Semiocast API also provides some method for short raw text and Facebook messages processing. It is recommend to start reading the tutorial first. Don't hesitate to contact us if you need more information or help. Best regards, Jean-Charles Campagne On Tue, Jul 20, 2010 at 9:22 AM, rachit gupta rachit.t...@gmail.com wrote: Hi All, I am a developer from India, working on integrating Twitter with few of my application. I wished to know, if there exists a way through which we can get Twitter search result only from a particular country not using the Geocode functionality, because Geocode functionality cant be extended to country wide result.
[twitter-dev] New SSL certificate issue with WTK 2.5.2
Hi My mobile app logged to twitter using xAuth and was working like a charm until the last SSL certicate changed (see http://groups.google.com/group/twitter-development-talk/browse_thread/thread/4513663a81dfc6e3/3a30f2796f3ee69e?lnk=raot) My app logs correctly with the new certicate on real device (N97) but failed with the 2.5.2 Sun Wireless Toolkit wich i use to develop my app. when i request token with the url (with all the parameters needed): https://api.twitter.com/oauth/access_token I get the following error message relative to the SSL certificate: Subject alternative name did not match site name It seems that the SSSL certificate doesn't match the host name (api.twitter.com) I can't now no longer code end test my app on the computer Help !!! I repeat: All was working fine before the SSL certificate change on the 21/07/2001 1AM GMT. Regards
[twitter-dev] Re: New SSL certificate issue with WTK 2.5.2
It seems that SUN WTK 2.5.2 doesn't accept wildcard certificates I hope that mobile platforms accept wildcard SSL certificates. If this not the case, it will make twitter xAuth/oAuth unusable Regards On 22 juil, 14:57, bjcoredev jme...@gmail.com wrote: Hi My mobile app logged to twitter using xAuth and was working like a charm until the last SSL certicate changed (seehttp://groups.google.com/group/twitter-development-talk/browse_thread...) My app logs correctly with the new certicate on real device (N97) but failed with the 2.5.2 Sun Wireless Toolkit wich i use to develop my app. when i request token with the url (with all the parameters needed):https://api.twitter.com/oauth/access_token I get the following error message relative to the SSL certificate: Subject alternative name did not match site name It seems that the SSSL certificate doesn't match the host name (api.twitter.com) I can't now no longer code end test my app on the computer Help !!! I repeat: All was working fine before the SSL certificate change on the 21/07/2001 1AM GMT. Regards
[twitter-dev] Re: OAuth page showing opening and ending tag mismatch
We've just had another user run into this, now with a handy screenshot : http://skitch.com/catfish/dpsqg/skitched-20100722-114537 On Jul 15, 1:10 pm, Jonathan del Strother jdelstrot...@gmail.com wrote: Hi, We use Twitter Oauth for third party signin. I haven't been able to reproduce this myself, but one of our users is seeing an error page showing this page contains the following errors: error on line 397 column 156: opening and ending tag mismatch:divline 0 andstrong. Someone at Boxcar seems to be having similar problems -http://help.boxcar.io/discussions/problems/455-i-cant-sign-in-in-twitter Anyone else run into this? Any suggestions on fixing it? -Jonathan
[twitter-dev] Re: OAuth page showing opening and ending tag mismatch
No takers? On Jul 15, 1:10 pm, Jonathan del Strother jdelstrot...@gmail.com wrote: Hi, We use Twitter Oauth for third party signin. I haven't been able to reproduce this myself, but one of our users is seeing an error page showing this page contains the following errors: error on line 397 column 156: opening and ending tag mismatch:divline 0 andstrong. Someone at Boxcar seems to be having similar problems -http://help.boxcar.io/discussions/problems/455-i-cant-sign-in-in-twitter Anyone else run into this? Any suggestions on fixing it? -Jonathan
[twitter-dev] Need a confirmation - no way to count number of tweets found when searching for a keyword?
I need to a confirm that this is not possible - get search count for TOTAL tweets found when searching for a keyword. Let's say i search for nokia in all tweets. There maybe 1345 tweets results, let's say. Crrently you can only get max 100 tweets in one page of search results. Does that mean the only way i can figure out the total search results is by querying stupidly like following http://search.twitter.com/search.atom?q=nokiarpp=100page=1 http://search.twitter.com/search.atom?q=nokiarpp=100page=13 http://search.twitter.com/search.atom?q=nokiarpp=100page=14 (no results) Then only i know the number of results available? Any smarter way? No?
Re: [twitter-dev] Need a confirmation - no way to count number of tweets found when searching for a keyword?
A count that you receive from search will be an approximation, as results are filtered for relevance. John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Thu, Jul 22, 2010 at 1:44 AM, Terrence Tee dunfor...@gmail.com wrote: I need to a confirm that this is not possible - get search count for TOTAL tweets found when searching for a keyword. Let's say i search for nokia in all tweets. There maybe 1345 tweets results, let's say. Crrently you can only get max 100 tweets in one page of search results. Does that mean the only way i can figure out the total search results is by querying stupidly like following http://search.twitter.com/search.atom?q=nokiarpp=100page=1 http://search.twitter.com/search.atom?q=nokiarpp=100page=13 http://search.twitter.com/search.atom?q=nokiarpp=100page=14 (no results) Then only i know the number of results available? Any smarter way? No?
Re: [twitter-dev] Re: OAuth page showing opening and ending tag mismatch
Hi Jonathan, One conjecture I can think of based on the screenshot is that this may be due to the broken image upload issues we were having recently -- but the further reports on the original link you provided suggest otherwise. Looking into this. Taylor On Thu, Jul 22, 2010 at 3:11 AM, Jonathan del Strother jdelstrot...@gmail.com wrote: No takers? On Jul 15, 1:10 pm, Jonathan del Strother jdelstrot...@gmail.com wrote: Hi, We use Twitter Oauth for third party signin. I haven't been able to reproduce this myself, but one of our users is seeing an error page showing this page contains the following errors: error on line 397 column 156: opening and ending tag mismatch:divline 0 andstrong. Someone at Boxcar seems to be having similar problems -http://help.boxcar.io/discussions/problems/455-i-cant-sign-in-in-twitter Anyone else run into this? Any suggestions on fixing it? -Jonathan
[twitter-dev] Twython 502 error
Hi I am using twython with the bulk lookup method for 100 users and get this error 'bulkUserLookup() failed with a 502 error code. but the dev site says that the API is doing fine currently. Why is that? Dirk
Re: [twitter-dev] Twython 502 error
Hi Dirk, Can you try adjusting the amount of users down to about 80 at a time and let me know if that stops the 502s? It's likely a performance problem. Taylor On Thu, Jul 22, 2010 at 7:14 AM, dirknbr dirk...@gmail.com wrote: Hi I am using twython with the bulk lookup method for 100 users and get this error 'bulkUserLookup() failed with a 502 error code. but the dev site says that the API is doing fine currently. Why is that? Dirk
Re: [twitter-dev] Re: Problems Loading Profile Images
If possible, can you send along member ids or screen names, and if possible, an HTTP capture of the image download attempt? Thanks! Taylor On Wed, Jul 21, 2010 at 8:12 PM, Ron rbther...@gmail.com wrote: Same problem seems to be back - slow/no profile image downloads. On Jul 21, 3:14 pm, Ron rbther...@gmail.com wrote: Not seen it happen at all anymore since corrections were made. On Jul 21, 2:08 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Everyone, We had some issues with profile updates and image uploads last week and early this week. Some images uploaded in that time period resulted in incorrect image URLs, and while this should now be fixed for more recently updated/created images, those with avatars saved while in this state will likely remain in that state until they re-upload their image. What kind of percentages are you seeing in regards to missing/broken images? Taylor On Wed, Jul 21, 2010 at 5:35 AM, luisg luisfmgoncal...@gmail.com wrote: I'm having the same problem too... But just sometimes. Anyway, looks like Twitter is better now... At least is not so slow as was a couple of weeks ago. On Jul 21, 4:59 am, Ron rbther...@gmail.com wrote: Anyone noticing problems loading profile images (slow, no image returned, hanging...)? Seems to show up mostly on Public and Search endpoints.
[twitter-dev] Re: Problems Loading Profile Images
Right now it all seems back to working normally again. I'll look at it again late this afternoon about the same time I saw the issue yesterday. Perhaps it's time related. If it occurs again, I'll take some captures and send them along. On Jul 22, 10:29 am, Taylor Singletary taylorsinglet...@twitter.com wrote: If possible, can you send along member ids or screen names, and if possible, an HTTP capture of the image download attempt? Thanks! Taylor On Wed, Jul 21, 2010 at 8:12 PM, Ron rbther...@gmail.com wrote: Same problem seems to be back - slow/no profile image downloads. On Jul 21, 3:14 pm, Ron rbther...@gmail.com wrote: Not seen it happen at all anymore since corrections were made. On Jul 21, 2:08 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Everyone, We had some issues with profile updates and image uploads last week and early this week. Some images uploaded in that time period resulted in incorrect image URLs, and while this should now be fixed for more recently updated/created images, those with avatars saved while in this state will likely remain in that state until they re-upload their image. What kind of percentages are you seeing in regards to missing/broken images? Taylor On Wed, Jul 21, 2010 at 5:35 AM, luisg luisfmgoncal...@gmail.com wrote: I'm having the same problem too... But just sometimes. Anyway, looks like Twitter is better now... At least is not so slow as was a couple of weeks ago. On Jul 21, 4:59 am, Ron rbther...@gmail.com wrote: Anyone noticing problems loading profile images (slow, no image returned, hanging...)? Seems to show up mostly on Public and Search endpoints.
[twitter-dev] Twitter API
Hi All, I have been using the Twitter API in my website. It has been working fine. When I post any information to twitter from my website, it is showing message from api. What should I do to change it to message from my website name. Please help me out. Thanks in Advance, Nagasai Mudunuri.
Re: [twitter-dev] Twitter API
I have been using the Twitter API in my website. It has been working fine. When I post any information to twitter from my website, it is showing message from api. What should I do to change it to message from my website name. You need to register an application and post using OAuth. See dev.twitter.com for some starting points. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- Smile if you like this tag line. ---
[twitter-dev] Bug: friends/ids returning invalid user IDs
I've encountered an issue with the friends/ids where the IDs returned can contain IDs of non-existent users. One example of this can be found when getting the friends of the user id = 16067667 (http:// api.twitter.com/1/friends/ids.xml?id=16067667). Within the IDs returned, there is a value = 28745723, which can not be found when using users/show (http://api.twitter.com/1/users/show.xml? id=28745723). Has anyone else encountered the same bug when using the friends/ids or followers/ids endpoints?
[twitter-dev] Pagination limit on home timeline
It appears home_timeline pagination is currently limited to something like 800 tweets. I appreciate there are recent stability issues compelling this very low limit but in general having an absolute limit on number of messages I can get from my home_timeline is VERY problematic for a social network provider. I actually want to see my whole home timeline and not miss messages from at least some people I'm following. How do I do this when there is a hard cap pagination limit on home timeline? For example if I shut off my computer overnight for 8-10 hours when I bring up my client in the morning I'm currently lucky to get the last two hours of tweets. I'm following about a thousand people so the current cap is less than 1 tweet per followee. The only certain solution to get my whole timeline is to leave a computer and a client running 24/7 which is both wasting electricity and is actually causing more load on twitter.com than if I shut off the client all night and get my timeline once in the morning, instead of polling it all night. Did you ever think by limiting home_timeline you might be causing large numbers of users to run their clients 24/7 actually making your load worse? I would be overjoyed to use skip_user to reduce the load on your servers for home timeline queries if you will take off the pagination limit if I do so, so I can actually get all tweets for a timeline since the previous evening. I'd also be willing to live with a time limit saying, for example, that I can only get tweets for the previous 12 or 24 hours so I know I have to run a client in that time frame to not lose chunks of my timeline. P.S. The docs on this pagination limit are a mess. The new docs in home timeline refer you to the FAQ on what the pagination limit but I don't think the new docs have a FAQ on the pagination limit and there is no link to such a FAQ if it exists. The only FAQ is in the old Twitter API wiki and it still lists the cap as something like 3200 which it currently isn't. From another thread in this group it appears some of Twitter's own engineers don't know what this limit is at the moment.
[twitter-dev] Twitter oAuth for PHP, some advice needed
Hi Everyone. I've been puzzling over OAuth for some time now with little insight into how to apply it to my situation. If someone could nudge me in the right direction I'd be most grateful. What I am doing now is very simple. Whenever my company publishes new content to it's websites, the company Twitter account is updated to reflect it. This is not an application that is open to public use. It doesn't require any browser-based login boxes or http redirects as part of the process. In fact, such a requirement would prevent the function of my current routine. EXAMPLE: (synopsis) require classes/Twitter.class.php; $PMTtweet = new Twitter($twitterunamePMT, $twitterpwordPMT); $PMTsuccess = $PMTtweet-update($thisTweet); My questions are: 1. Do I need to upgrade to OAuth? 2. If I need to upgrade to OAuth, can it be done in such a way as to work without browser login and redirect requirements? (as per example) 3. If 2 is true, any tutorials that match that situation you can point me to? 4. If 1 2, where/how would I acquire the tokens necessary to use OAuth? Apologies for the basic questions. I really did make an effort to ferret out the answers but all the examples I encountered were much more complex than my situation requires. Thanks Paul G
Re: [twitter-dev] Re: New SSL certificate issue with WTK 2.5.2
The mobile site has used a wildcard certificate for the last two years; Did you recently begin experiencing this issue or was your code working in the past? -j On Thu, Jul 22, 2010 at 6:43 AM, bjcoredev jme...@gmail.com wrote: It seems that SUN WTK 2.5.2 doesn't accept wildcard certificates I hope that mobile platforms accept wildcard SSL certificates. If this not the case, it will make twitter xAuth/oAuth unusable Regards On 22 juil, 14:57, bjcoredev jme...@gmail.com wrote: Hi My mobile app logged to twitter using xAuth and was working like a charm until the last SSL certicate changed (seehttp:// groups.google.com/group/twitter-development-talk/browse_thread...) My app logs correctly with the new certicate on real device (N97) but failed with the 2.5.2 Sun Wireless Toolkit wich i use to develop my app. when i request token with the url (with all the parameters needed): https://api.twitter.com/oauth/access_token I get the following error message relative to the SSL certificate: Subject alternative name did not match site name It seems that the SSSL certificate doesn't match the host name (api.twitter.com) I can't now no longer code end test my app on the computer Help !!! I repeat: All was working fine before the SSL certificate change on the 21/07/2001 1AM GMT. Regards
[twitter-dev] Re: Bug: friends/ids returning invalid user IDs
There's nothing to worry about. Twitter periodically suspends users for spam and other rogue activities. Such suspended users might still be part of friends/ids but their profile information will not be returned. -Nischal On Jul 22, 10:56 pm, soung3 sou...@gmail.com wrote: I've encountered an issue with the friends/ids where the IDs returned can contain IDs of non-existent users. One example of this can be found when getting the friends of the user id = 16067667 (http:// api.twitter.com/1/friends/ids.xml?id=16067667). Within the IDs returned, there is a value = 28745723, which can not be found when using users/show (http://api.twitter.com/1/users/show.xml? id=28745723). Has anyone else encountered the same bug when using the friends/ids or followers/ids endpoints?
[twitter-dev] Re: New SSL certificate issue with WTK 2.5.2
My app doesn't use the mobile site. My twitter client is written in J2ME (Java Micro Edition) and is not using the mobile site but the Twitter API. I m coding my client with WTK 2.5.2 Sun Wireless Toolkit (like many other Java mobile developers) and since the 21/07/2001 1AM GMT my app running under WTK can't access the url https://api.twitter.com/oauth/access_token because the WTK CAN'T HANDLE WILDCARD SSL certificates. returning the error:Subject alternative name did not match site name. I'have read that real (real devices opposite to the emulator) mobile JAVA platforms (Sony ericsson,WM 5.0,..) don't accept wildcard SSL certificates so twitter clients using twitter API written in J2ME running under these platform can't access the url https://api.twitter.com/oauth/access_token anymore so can't process xAuth authentication wich will be mandatory on 15 august So . On 22 juil, 20:20, John Adams j...@twitter.com wrote: The mobile site has used a wildcard certificate for the last two years; Did you recently begin experiencing this issue or was your code working in the past? -j On Thu, Jul 22, 2010 at 6:43 AM, bjcoredev jme...@gmail.com wrote: It seems that SUN WTK 2.5.2 doesn't accept wildcard certificates I hope that mobile platforms accept wildcard SSL certificates. If this not the case, it will make twitter xAuth/oAuth unusable Regards On 22 juil, 14:57, bjcoredev jme...@gmail.com wrote: Hi My mobile app logged to twitter using xAuth and was working like a charm until the last SSL certicate changed (seehttp:// groups.google.com/group/twitter-development-talk/browse_thread...) My app logs correctly with the new certicate on real device (N97) but failed with the 2.5.2 Sun Wireless Toolkit wich i use to develop my app. when i request token with the url (with all the parameters needed): https://api.twitter.com/oauth/access_token I get the following error message relative to the SSL certificate: Subject alternative name did not match site name It seems that the SSSL certificate doesn't match the host name (api.twitter.com) I can't now no longer code end test my app on the computer Help !!! I repeat: All was working fine before the SSL certificate change on the 21/07/2001 1AM GMT. Regards- Masquer le texte des messages précédents - - Afficher le texte des messages précédents -
Re: [twitter-dev] Re: New SSL certificate issue with WTK 2.5.2
Unfortunately, the current situation is that api.twitter.com is on a wildcard certificate. We have plans to move it a fixed SSL certificate in the near future, but no definite date yet. -j On Thu, Jul 22, 2010 at 11:50 AM, bjcoredev jme...@gmail.com wrote: My app doesn't use the mobile site. My twitter client is written in J2ME (Java Micro Edition) and is not using the mobile site but the Twitter API. I m coding my client with WTK 2.5.2 Sun Wireless Toolkit (like many other Java mobile developers) and since the 21/07/2001 1AM GMT my app running under WTK can't access the url https://api.twitter.com/oauth/access_token because the WTK CAN'T HANDLE WILDCARD SSL certificates. returning the error:Subject alternative name did not match site name. I'have read that real (real devices opposite to the emulator) mobile JAVA platforms (Sony ericsson,WM 5.0,..) don't accept wildcard SSL certificates so twitter clients using twitter API written in J2ME running under these platform can't access the url https://api.twitter.com/oauth/access_token anymore so can't process xAuth authentication wich will be mandatory on 15 august So . On 22 juil, 20:20, John Adams j...@twitter.com wrote: The mobile site has used a wildcard certificate for the last two years; Did you recently begin experiencing this issue or was your code working in the past? -j On Thu, Jul 22, 2010 at 6:43 AM, bjcoredev jme...@gmail.com wrote: It seems that SUN WTK 2.5.2 doesn't accept wildcard certificates I hope that mobile platforms accept wildcard SSL certificates. If this not the case, it will make twitter xAuth/oAuth unusable Regards On 22 juil, 14:57, bjcoredev jme...@gmail.com wrote: Hi My mobile app logged to twitter using xAuth and was working like a charm until the last SSL certicate changed (seehttp:// groups.google.com/group/twitter-development-talk/browse_thread...) My app logs correctly with the new certicate on real device (N97) but failed with the 2.5.2 Sun Wireless Toolkit wich i use to develop my app. when i request token with the url (with all the parameters needed): https://api.twitter.com/oauth/access_token I get the following error message relative to the SSL certificate: Subject alternative name did not match site name It seems that the SSSL certificate doesn't match the host name (api.twitter.com) I can't now no longer code end test my app on the computer Help !!! I repeat: All was working fine before the SSL certificate change on the 21/07/2001 1AM GMT. Regards- Masquer le texte des messages précédents - - Afficher le texte des messages précédents -
Re: [twitter-dev] Re: Twitter oAuth for PHP, some advice needed
Hi Paul G, In addition to Paul's great recommendations here, there's another shortcut you can use to more quickly implement the portions of OAuth you need to continue functioning. We offer the ability to simply get the access token for the user who owns your application, directly through an interface on dev.twitter.com -- when viewing your application detail page, you can select the link on the right-hand sidebar called My Token and then use those values, hardcoded, in your application. There's some implementation examples of this at http://bit.ly/1token Taylor On Thu, Jul 22, 2010 at 12:04 PM, Paul cron...@gmail.com wrote: Hi Paul, 1. Do I need to upgrade to OAuth? Twitter are killing off basic authentication on 16th August, so you'll need to upgrade. 2. If I need to upgrade to OAuth, can it be done in such a way as to work without browser login and redirect requirements? (as per example) The Twitter OAuth tokens don't currently expire so you could do the auth once then store the tokens for later non-interactive use. 3. If 2 is true, any tutorials that match that situation you can point me to? Don't know if you're tied to a current library but http://github.com/jmathai/twitter-async does a good job of OAuth. Rough process: One off: 1) Login to your company Twitter account. 2) Settings - Connections - Click the link under Developers at bottom right. Takes you to: http://twitter.com/apps 3) Register your app. You can get away with 127.0.0.1 as the callback URL if you're running a local webserver, but it's not so important if you're just doing this as a one off as you can specify callback URL at request time. You'll probably want: Type: Browser Access Type: Read Write Use Twitter for login: No This will get you your consumer key secret. 4) Assuming use of twitter-async, here's some scrappy code that'll get you your tokens: ?php require_once twitter-async/EpiCurl.php; require_once twitter-async/EpiOAuth.php; require_once twitter-async/EpiTwitter.php; define( CONSUMER_KEY, X ); define( CONSUMER_SECRET, X ); $twitter = new EpiTwitter( CONSUMER_KEY, CONSUMER_SECRET ); if( isset( $_GET[oauth_token] ) ) { try { $twitter-setToken( $_GET[oauth_token] ); $token = $twitter- getAccessToken( array( oauth_verifier = $_GET[oauth_verifier] ) ); var_dump( $token-oauth_token, $token- oauth_token_secret ); } catch( Exception $e ) { var_dump( get_class( $e ) ); } } else header( Location: . $twitter-getAuthorizeUrl( null, array( oauth_callback = http://127.0.0.1/ path_to_this_script.php ) ) ); ? Obviously change the callback URL to point to wherever you host this script, and fill in your consumer key/secret. After you've authed the account, twitter will bring you back and the script will spit out your oauth_token and oauth_secret. So from now on if you want to tweet, you simply: $twitter = new EpiTwitter( CONSUMER_KEY, CONSUMER_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET ); $twitter-post_statusesUpdate( array( status = Something exciting happened! ) ); There's probably an easier way to get the tokens, but this worked well for me. Hope this helps, - Paul
Re: [twitter-dev] Re: Twitter oAuth for PHP, some advice needed
thanks for fast-tracking me on this! I imagine I would have been at this several more days without this information. Thank you, thank you... and did I say thank you? :) Regards On Jul 22, 2010, at 1:04 PM, Paul wrote: One off: 1) Login to your company Twitter account. 2) Settings - Connections - Click the link under Developers at bottom right. Takes you to: http://twitter.com/apps 3) Register your app. You can get away with 127.0.0.1 as the callback URL if you're running a local webserver, but it's not so important if you're just doing this as a one off as you can specify callback URL at request time.
[twitter-dev] Re: Twitter oAuth for PHP, some advice needed
Hi Paul, thanks for fast-tracking me on this! You're welcome, glad to help :) @Taylor: Very useful, thanks! - Paul
[twitter-dev] Re: Bug: friends/ids returning invalid user IDs
It's not only suspended users, but also users that are no longer found. Why does Twitter return ids of users that no longer exist? On Jul 22, 1:29 pm, nischalshetty nischalshett...@gmail.com wrote: There's nothing to worry about. Twitter periodically suspends users for spam and other rogue activities. Such suspended users might still be part of friends/ids but their profile information will not be returned. -Nischal On Jul 22, 10:56 pm, soung3 sou...@gmail.com wrote: I've encountered an issue with the friends/ids where the IDs returned can contain IDs of non-existent users. One example of this can be found when getting the friends of the user id = 16067667 (http:// api.twitter.com/1/friends/ids.xml?id=16067667). Within the IDs returned, there is a value = 28745723, which can not be found when using users/show (http://api.twitter.com/1/users/show.xml? id=28745723). Has anyone else encountered the same bug when using the friends/ids or followers/ids endpoints?
[twitter-dev] Re: Bug: friends/ids returning invalid user IDs
It's not only suspended users, but also users that are no longer found. Why does Twitter return ids of users that no longer exist? On Jul 22, 1:29 pm, nischalshetty nischalshett...@gmail.com wrote: There's nothing to worry about. Twitter periodically suspends users for spam and other rogue activities. Such suspended users might still be part of friends/ids but their profile information will not be returned. -Nischal On Jul 22, 10:56 pm, soung3 sou...@gmail.com wrote: I've encountered an issue with the friends/ids where the IDs returned can contain IDs of non-existent users. One example of this can be found when getting the friends of the user id = 16067667 (http:// api.twitter.com/1/friends/ids.xml?id=16067667). Within the IDs returned, there is a value = 28745723, which can not be found when using users/show (http://api.twitter.com/1/users/show.xml? id=28745723). Has anyone else encountered the same bug when using the friends/ids or followers/ids endpoints?
Re: [twitter-dev] Re: Bug: friends/ids returning invalid user IDs
Stale caches. Pascal On 22.Jul2010, at 23:38, soung3 wrote: It's not only suspended users, but also users that are no longer found. Why does Twitter return ids of users that no longer exist?
[twitter-dev] Access user followers without Oauth?
Hello, I'm working on a project where I just need to accumulate information from users. Particularly the number of followers. I can do this just fine with cURL and providing a username and password for authentication. The key is that the script can run without any interaction from a human being. The script will run every night at midnight to gather that one stat from all of my clients customers. I don't fully understand oAuth but it kind of sounds like I will have to have a user interaction to allow permission to the system. Is this the case. After August 16 will there still be a way to directly access and gather data? Thank you for your help!
Re: [twitter-dev] Twitter oAuth for PHP, some advice needed
one quick followup on this, if I may... The Twitter account I registered the app with provided consumer keys / secrets and I used those keys with the client's access tokens to successfully get and post to the account using OAuth. Great. Many thanks to those who pointed me in the right direction. I actually have two separate Twitter accounts to do status updates for depending on the content I have. Sometimes in immediate succession. Is there a way to retrieve the consumer keys for the other Twitter account I own without registering an app? Thank you Paul G
[twitter-dev] Re: Problems Loading Profile Images
Hi Taylor, Tried again this afternoon and operation appears normal, except for an occasional profile image not loading. I find about 1 out of 200. An example is hiro07118. Ron On Jul 22, 10:42 am, Ron rbther...@gmail.com wrote: Right now it all seems back to working normally again. I'll look at it again late this afternoon about the same time I saw the issue yesterday. Perhaps it's time related. If it occurs again, I'll take some captures and send them along. On Jul 22, 10:29 am, Taylor Singletary taylorsinglet...@twitter.com wrote: If possible, can you send along member ids or screen names, and if possible, an HTTP capture of the image download attempt? Thanks! Taylor On Wed, Jul 21, 2010 at 8:12 PM, Ron rbther...@gmail.com wrote: Same problem seems to be back - slow/no profile image downloads. On Jul 21, 3:14 pm, Ron rbther...@gmail.com wrote: Not seen it happen at all anymore since corrections were made. On Jul 21, 2:08 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Everyone, We had some issues with profile updates and image uploads last week and early this week. Some images uploaded in that time period resulted in incorrect image URLs, and while this should now be fixed for more recently updated/created images, those with avatars saved while in this state will likely remain in that state until they re-upload their image. What kind of percentages are you seeing in regards to missing/broken images? Taylor On Wed, Jul 21, 2010 at 5:35 AM, luisg luisfmgoncal...@gmail.com wrote: I'm having the same problem too... But just sometimes. Anyway, looks like Twitter is better now... At least is not so slow as was a couple of weeks ago. On Jul 21, 4:59 am, Ron rbther...@gmail.com wrote: Anyone noticing problems loading profile images (slow, no image returned, hanging...)? Seems to show up mostly on Public and Search endpoints.
[twitter-dev] Re: Twitter oAuth for PHP, some advice needed
Hi Paul, Is there a way to retrieve the consumer keys for the other Twitter account I own without registering an app? Yep, if you use that script given previously, just login to the other Twitter account instead (with the same consumer key/secret. This will give you a different pair of tokens for the second account. Initialise as in tweeting example with the new token. Basically what you're doing is authorising the same app for both accounts. - Paul
[twitter-dev] Re: Problems Loading Profile Images
So it looks like the problem is back, and perhaps time sensitive. Servers affected are a0, a1, and a3.twing.com. Problem is no response from server. URLs all look ok, but a few perhaps very long (i.e. http://a3.twimg.com/profile_images/598514017/l_58bce087ff00416383ca2b5595036c90_normal.jpg). On Jul 22, 6:36 pm, Ron rbther...@gmail.com wrote: Hi Taylor, Tried again this afternoon and operation appears normal, except for an occasional profile image not loading. I find about 1 out of 200. An example is hiro07118. Ron On Jul 22, 10:42 am, Ron rbther...@gmail.com wrote: Right now it all seems back to working normally again. I'll look at it again late this afternoon about the same time I saw the issue yesterday. Perhaps it's time related. If it occurs again, I'll take some captures and send them along. On Jul 22, 10:29 am, Taylor Singletary taylorsinglet...@twitter.com wrote: If possible, can you send along member ids or screen names, and if possible, an HTTP capture of the image download attempt? Thanks! Taylor On Wed, Jul 21, 2010 at 8:12 PM, Ron rbther...@gmail.com wrote: Same problem seems to be back - slow/no profile image downloads. On Jul 21, 3:14 pm, Ron rbther...@gmail.com wrote: Not seen it happen at all anymore since corrections were made. On Jul 21, 2:08 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Everyone, We had some issues with profile updates and image uploads last week and early this week. Some images uploaded in that time period resulted in incorrect image URLs, and while this should now be fixed for more recently updated/created images, those with avatars saved while in this state will likely remain in that state until they re-upload their image. What kind of percentages are you seeing in regards to missing/broken images? Taylor On Wed, Jul 21, 2010 at 5:35 AM, luisg luisfmgoncal...@gmail.com wrote: I'm having the same problem too... But just sometimes. Anyway, looks like Twitter is better now... At least is not so slow as was a couple of weeks ago. On Jul 21, 4:59 am, Ron rbther...@gmail.com wrote: Anyone noticing problems loading profile images (slow, no image returned, hanging...)? Seems to show up mostly on Public and Search endpoints.
[twitter-dev] Hashtag Entity locations seems to be off in certain cases
Hi, Pasted below is a sample status element I received while querying home_timeline. While the entites are being detected, the hashtag locations are incorrect. It seems to be detecting Quora as the first hashtag (ignoring 194), but the location it returns seems to be of 194. And this seems to go on for the next hashtag. Thanks George status created_atSun Jul 18 18:32:04 + 2010/created_at id18856892413/id * textDailyLinks #194 Interesting Qamp;A from the Startups topic on #Quorahttp://bit.ly/aAsLfP 1st time CEO, Ron Conway, IPO, YCombinator #Startups/text * sourcelt;a href=quot;http://www.brizzly.comquot; rel=quot;nofollowquot;gt;Brizzlylt;/agt;/source truncatedfalse/truncated in_reply_to_status_id/in_reply_to_status_id in_reply_to_user_id/in_reply_to_user_id favoritedfalse/favorited in_reply_to_screen_name/in_reply_to_screen_name user id36704982/id name Prakash S/name screen_namepswam/screen_name locationDubai, UAE/location descriptionGenerally Useful Person :-)/description profile_image_url http://a3.twimg.com/profile_images/194231823/Prak1_normal.png /profile_image_url urlhttp://www.cloudknow.com/url protectedfalse/protected followers_count179/followers_count profile_background_color8B542B/profile_background_color profile_text_color33/profile_text_color profile_link_color9D582E/profile_link_color profile_sidebar_fill_colorEADEAA/profile_sidebar_fill_color profile_sidebar_border_colorD9B17E/profile_sidebar_border_color friends_count292/friends_count created_atThu Apr 30 16:32:02 + 2009/created_at favourites_count104/favourites_count utc_offset14400/utc_offset time_zoneAbu Dhabi/time_zone profile_background_image_url http://s.twimg.com/a/1279649509/images/themes/theme1/bg.png /profile_background_image_url profile_background_tilefalse/profile_background_tile profile_use_background_imagefalse/profile_use_background_image notificationsfalse/notifications geo_enabledfalse/geo_enabled verifiedfalse/verified followingtrue/following statuses_count977/statuses_count langen/lang contributors_enabledfalse/contributors_enabled follow_request_sentfalse/follow_request_sent /user geo/ coordinates/ place/ contributors/ entities user_mentions/ urls url end=86 start=66 urlhttp://bit.ly/aAsLfP/url expanded_url/ /url /urls *hashtags hashtag end=17 start=11 textQuora/text /hashtag hashtag end=68 start=59 textStartups/text /hashtag /hashtags /*entities /status
[twitter-dev] Re: Twitter oAuth for PHP, some advice needed
Hi Taylor, Can you explain more? How this is different than OAuth complete dance? http://dev.twitter.com/pages/oauth_single_token How do I use this single token hardcode method in mobile? iPhone objective-c OAuth lib, Android java OAuth lib? Thanks Bess On Jul 22, 4:53 pm, Paul cron...@gmail.com wrote: Hi Paul, Is there a way to retrieve the consumer keys for the other Twitter account I own without registering an app? Yep, if you use that script given previously, just login to the other Twitter account instead (with the same consumer key/secret. This will give you a different pair of tokens for the second account. Initialise as in tweeting example with the new token. Basically what you're doing is authorising the same app for both accounts. - Paul
Re: [twitter-dev] Re: Twitter oAuth for PHP, some advice needed
Paul, If you are referring to the twitter-async example you posted, I have installed that and I'm working with it now. I assume the first time through it's meant to take a detour through a Twitter authorization, then back to the same script in which oauth_token and secret is set... and dumped... Looks like I'm not getting a proper authorize URL, and in fact the script dies at that call. No output. Maybe someone can eyeball what's going wrong. Here's what the stack trace says, followed by the script (the names and places have been changed to protect the innocent) bFatal error/b: Uncaught exception 'EpiOAuthException' in /path/ twitter-async/EpiOAuth.php:397 Stack trace: #0 /path/twitter-async/EpiOAuth.php(367): EpiOAuthException::raise (Object(EpiCurlManager), false) #1 /path/twitter-async/EpiOAuth.php(47): EpiOAuthResponse-gt;__get ('oauth_token') #2 /path/twittertest-oauth2.php(29): EpiOAuth-gt;getAuthorizeUrl (NULL, Array) #3 {main} thrown in b/path/twitter-async/EpiOAuth.php/b on line b397/ bbr / ?php require_once classes/twitter-async/EpiCurl.php; require_once classes/twitter-async/EpiOAuth.php; require_once classes/twitter-async/EpiTwitter.php; define( CONSUMER_KEY, $MY_CONSUMER_KEY ); // actual key used define( CONSUMER_SECRET, $MY_CONSUMER_SECRET ); // actual secret used $twitter = new EpiTwitter( CONSUMER_KEY, CONSUMER_SECRET ); if( isset( $_GET[oauth_token] ) ){ try{ $twitter-setToken( $_GET[oauth_token] ); $token = $twitter-getAccessToken( array( oauth_verifier = $_GET [oauth_verifier] ) ); var_dump( $token-oauth_token, $token-oauth_token_secret ); } catch( Exception $e ) { var_dump( get_class( $e ) ); } }else{ $location = $twitter-getAuthorizeUrl(null,array(oauth_callback = http://www.mydomain.tld/dir/twittertest-oauth2.php )); // same address as this script header(Location: $location); exit; } ? On Jul 22, 2010, at 5:53 PM, Paul wrote: Hi Paul, Is there a way to retrieve the consumer keys for the other Twitter account I own without registering an app? Yep, if you use that script given previously, just login to the other Twitter account instead (with the same consumer key/secret. This will give you a different pair of tokens for the second account. Initialise as in tweeting example with the new token. Basically what you're doing is authorising the same app for both accounts. - Paul