Re: [twitter-dev] t.co Posting Questions
On Dec 18, 2010, at 5:01 AM, Tom van der Woerdt wrote: Currently the API does not shorten the links for you yet. In the future Twitter may implement this, but currently you will have to shorten the links yourself, via (for example) bit.ly. That's what I thought. Thanks for the confirmation. Best, David -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Assistance with simple status updates using OAuth.php
Hi, I'm working with a non-profit membership group that tweets when a new person joins or a member renews. The functionailty is part of our php programming that updates the database, etc. when the membership is processed. It was working prior to the change requiring OAuth for validation. I've made a simple test file to try to get everything working before integrating into our system. It is not working and I can't tell why ... it APPEARS that the connection is there and the result is good (try works). I've made no changes to the twitteroauth files, and they are being successfully called. The function (getConnectionWithAccessToken) is pasted directly from the API documentation/support pages. Code is as follows (echos were for my testing purposes and will be removed in final version and I've removed my keys). ?php $tweetmessage = Welcome new HSMG member xxx; try { require_once(twitteroauth/OAuth.php); require_once(twitteroauth/twitteroauth.php); function getConnectionWithAccessToken($oauth_token, $oauth_token_secret) { $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, $oauth_token, $oauth_token_secret); return $connection; } $connection = getConnectionWithAccessToken(xxx, xxx); if ($connection) { echo pHave connection/p; } $connection-post('statuses/update', array('status' = $tweetmessage)); $tweetresult = Good; } catch(Exception $e) { $tweetresult = Bad; } echo $tweetresult; ? This is probably some simple error on my part, but I am not familar enough with the classes, calls and OAuth requirements to easily debug. Any assistance would be appreciated. Marie -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] How to renew @anywhere access token ( OAuth 2.0? ) without requiring user action ?
Hello devs, I'm working on a twitter client application that runs in the browser. I managed to request an access token by looking how @anywhere does it; however, this access token seems to be short lived (~2h or something like that). What I do is basically this: 1. Request authorization from user by opening https://oauth.twitter.com/2/authorize?oauth_callback_url=MY_REDIRECT_URLoauth_client_identifier=MY_APP_IDoauth_mode=flow_web_client 2. After the user authorizes my app, Twitter redirects to MY_REDIRECT_URL#oauth_access_token=ACCESS_CODEoauth_bridge_code=BRIDGE_CODE 3. On MY_REDIRECT_URL I have some javascript that extracts the oauth_access_token and the oauth_bridge_code. 4. My app makes further calls to the Twitter api using the oauth_access_token retrieved at step 3. The app is clientside only; I only store the oauth_access_token in the backend session for the current user. However, I noticed that the oauth_access_token becomes invalid in any of these cases: 1. Some significat amount of time passes (~2h) 2. I login to my twwitter account and tweet something, or do some change in the account settings 3. I call the API with some wrong arguments, and receive an error response Is there a way to retrieve a new valid access token, without asking the user to authorize the app (bad usability) ? Maybe somehow by using the oauth_bridge_code ? Also, I would prefer not to use the @anywhere library, as it loads lots of js in the client, and has features I don't really need. Thanks. Doru Moisa http://doru.mp -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Finding RT or replies
Hi all, Just wondering if there is a section of the API, possibly in the REST API, that allows me to find all the replies and RTs to a given tweet? I'll have the ID of that tweet. Am I able to pass this to the API somewhere? Thanks, S. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Storing twitter stream public timeline, conversations and hashtag search!
This may (or may not) be helpful depending on the nature of your particular research project... but have a look at: http://nodexl.codeplex.com/ NodeXL is a free Excel template that lets you enter a network edge list, click a button, and see the network graph. It has an import function that grabs from Twitter and allows you to visualize the results as a graph. hth Mike B On Sun, Dec 19, 2010 at 4:19 PM, imbenzene imbenz...@gmail.com wrote: Myself an 2nd year undergrad and I am running a minor research project on twitter analysis. I need to urgently* collect tweet streams for certain users and streams by searching hashtags*. I am completely neo in this development side, with no previous knowledge of scripting and Mysql, python or databases. Any suggestions with what to start from beginning will be highly appreciated, and what shall i start studying, online tutorials and all if available online. I have TWITTER API by Kevin Makice but its too confusing without prior knowledge. I have created the mysql database with phpmyadmin, and created the required 6 tables but its not reading the scripted php codes to download tweets, errors are creeping in and bugging my head. In the previous posts it was mentioned something about *certain websites doing this job and and allowing to export data as whole* I am in urgent need for one, I know one was 140kit.com which is not working these days. In the end I have to just put the collected data into data mining tools like Weka or Tableau public 6.0 and run for visualisations. Web is tooo blogging in sense what shall i start with python, JSON, scala or run a php code for it( if possible suggest tutorials for neo's), Plus will i have to run my laptop full on for week something for streaming? Please help me out as my deadline is just coming up right this week. Any help so that I can make it fast and quick without going through much of gross work, is appreciated. Is there any *online resource paid or unpaid available which can do this work of just collecting tweets for certain hash tags over a period of time and deliver collected data *in desired format with location, and time tags ? thanks a ton in advance! Reply please its very urgent. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Site stream unfollow event
Thanks for the reply John. Our primary reason for needing the followers list is that they are the only users that we can send DMs to. We use the DM functionality to let someone know that they have received money, so it is usually a DM they are interested in receiving. Wouldn't it be beneficial for scalability for both parties to have reduced API requests and to include the events in the stream rather than leaving the clients to constantly be refreshing the follower ID lists? I understand the need to reduce spam, but does the current system really make it that much more difficult? On Dec 18, 9:25 am, John Kalucki j...@twitter.com wrote: We'd like to help developers maintain a local copy of their authorized users' followings -- the accounts that their users follow. We hope to enable a feature that will make this easier in early 2011. We're not particularly interested in helping developers maintain the set of an account's followers. There are awful scaling issues involved here, vectors for spammy behavior, and generally not much value for end-users in providing this data. Twitter is mostly about who you follow and what you are interested in. Who is following you is becoming less and less relevant. -John Kaluckihttp://twitter.com/jkalucki Twitter Inc. On Fri, Dec 17, 2010 at 8:15 PM, Shane shaneneuerb...@gmail.com wrote: We currently need to maintain accurate follower lists for our Twitter connected users. Using the site streams, we are able to easily add new followers with the follow event. However, I have not found a clean, efficient method of determine who has unfollowed a user. Currently, unless I'm missing something, I have to retrieve all of the user's follower IDs and compare them to what we have in our database. While this is fine for a user with only a couple thousand followers, it gets ugly in a hurry with when you have several users that have 50k+ followers. Is it possible to have the unfollow events sent in the streams? At least in our case, it would cut down the amount of API requests and bandwidth consumed significantly. -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] what id_str, how to use id_str,right now im using id only
hi, right now im using id to for status update, how to use id_str, how can i get id_str? im using twitter api on my php page.. ex follower response is 20/December/2010 13:22:51: SimpleXMLElement Object ( [...@attributes] = Array ( [type] = array ) [user] = Array ( [0] = SimpleXMLElement Object ( [id] = 17949969 [name] = MattsLens [screen_name] = MattsLens [location] = Grand Rapids, Michigan [description] = MattsLens.com utilizes photography Social Media to help individuals and businesses develop and improve their online presence. [profile_image_url] = http://a3.twimg.com/profile_images/1118820404/MattsLens_Logo_2010_normal.jpg [url] = http://wefollow.com/MattsLens [protected] = false [followers_count] = 453 [profile_background_color] = 0f0f0f [profile_text_color] = 66 [profile_link_color] = 1A6DC5 [profile_sidebar_fill_color] = 212020 [profile_sidebar_border_color] = 404040 [friends_count] = 620 [created_at] = Sun Dec 07 23:08:22 + 2008 [favourites_count] = 3 [utc_offset] = -18000 [time_zone] = Eastern Time (US Canada) [profile_background_image_url] = http://a0.twimg.com/profile_background_images/158496637/xac4b1478dba4c3be11d522b5b3ed6a7.jpg [profile_background_tile] = false [profile_use_background_image] = false [notifications] = false [geo_enabled] = false [verified] = false [following] = true [statuses_count] = 2683 [lang] = en [contributors_enabled] = false [follow_request_sent] = false [listed_count] = 71 [show_all_inline_media] = false [is_translator] = false [status] = SimpleXMLElement Object ( [created_at] = Mon Dec 20 05:31:44 + 2010 [id] = 16727427753443328 [text] = Just added myself to the http://wefollow.com twitter directory! [source] = a href=http://wefollow.com; rel=nofollowWeFollow/a [truncated] = false [favorited] = false [in_reply_to_status_id] = SimpleXMLElement Object ( ) [in_reply_to_user_id] = SimpleXMLElement Object ( ) [in_reply_to_screen_name] = SimpleXMLElement Object ( ) [retweet_count] = 0 [retweeted] = false [geo] = SimpleXMLElement Object ( ) [coordinates] = SimpleXMLElement Object ( ) [place] = SimpleXMLElement Object ( ) [contributors] = SimpleXMLElement Object ( ) ) ) ) for get connection i used the below code * Assues there is already a valid token available for this user */ public function getConnections($token) { global $logger; $twitter_con_arr = array(); if ($token == null) return $twitter_con_arr; // Use HTTP Client with built-in OAuth request handling $client = $token-getHttpClient($this-option_array); // to get Twitter connections $client-setUri('http://api.twitter.com/1/statuses/followers.xml'); // Set Method (GET, POST or PUT) $client-setMethod(Zend_Http_Client::GET); // Get Request Response $response = $client-request(); // Get the XML containing User's Profile $content = $response-getBody(); $xmlobj = simplexml_load_string($content); $scxpath = array( tw:source_id=/users/user/id,
[twitter-dev] how to get twitter user's email address
I don't find any api can get friends email address. it's very important to my application. help me ,thanks -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Stream problems on 2010-12-17?
Hi Adam, thanks for your answer. That is about what I'm telling them all the time, but hearing this from someone else makes me feel a little more confident. I wish you and everyone who cares about it a nice christmas time! Frank Adam Green schrieb: I just did a quick count of tweets per day over that period for two systems that track keywords. One looks steady for the 16th. The other glitched on the 16th and had to be restarted. Depending on how you track the streaming API, what I experienced as a failed connection may have been just a temporary loss for you. So the answer is maybe. The fact that software works for a long time with the API is no guarantee it will continue to do so. I look at that as job security. If your bosses are very angry over lost tweets from the API, they have a lot of stress to look forward to. They should deal with it. The data is free, right? If they want no losses, they can pay Gnip. That is what it is there for. On Sat, Dec 18, 2010 at 10:32 AM, Frank Sorro xoo9i...@googlemail.comwrote: Hi Twitter admins and developers, I am developing a social media application which uses a follow stream with track words. At about 21:00 on Dev 16 2010 (UTC), the tweet rate rapidly dropped from about 2800 tweets per minute to about 700, including none we are looking for. Since today (Dec 18th) at about 5:15 UTC, the rate is continuously rising again. This is weird because nothing was changed and we lost the tweets of almost two days. I am quite certain my software didn't have a problem because it worked properly for quite some time, and I didn't change anything during this time. Is it possible that the Twitter Stream API may behave this way? The API status page does not report any problems, but maybe it does not report this kind of problems because I did get Tweets, but not enough and not the right ones seemingly. It would be very good to hear something from Twitter admins or other developers who had the same problem because my bosses are very angry with me anyway right now. If it helps, I'll send more info by e-mail. Thanks in advance and best regards, Frank -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Adam Green Twitter API Consultant and Trainer http://140dev.com @140dev -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] what id_str, how to use id_str,right now im using id only right now..
please help me how to get id_str what is id_str? public function statusUpdates($token,$message) { global $logger; $client = $token-getHttpClient($this-option_array); $message_encode=$message; $client-setUri('http://api.twitter.com/1/statuses/update.json'); $client-setParameterPost('status',$message_encode); $client-setMethod(Zend_Http_Client::POST); $response = $client-request('POST'); //$content = $response-getBody(); } /* * TO SEND JOB DETAILS MESSAGE TO Twitter CONNECTIONS */ public function sendMessage($token, $sender_id=null, $message) { global $logger; $client = $token-getHttpClient($this-option_array); $sender_id = explode(',',$sender_id); $message_encode=urlencode($message); // Set Method (GET, POST or PUT) $client-setUri('http://api.twitter.com/1/statuses/update.json'); for($i=0;$icount($sender_id);$i++) { $message_text = 'd '.$sender_id[$i].' '.$message; $client-setParameterPost('message',$message_encode); $client-setParameterPost('status',$message_text); $client-setMethod(Zend_Http_Client::POST); $response =$client-request('POST'); //$content = $response-getBody(); //$response_content = $response-getHeader(); } } /** * Assues there is already a valid token available for this user */ public function getConnections($token) { global $logger; $twitter_con_arr = array(); if ($token == null) return $twitter_con_arr; // Use HTTP Client with built-in OAuth request handling $client = $token-getHttpClient($this-option_array); // to get Twitter connections $client-setUri('http://api.twitter.com/1/statuses/followers.xml'); // Set Method (GET, POST or PUT) $client-setMethod(Zend_Http_Client::GET); // Get Request Response $response = $client-request(); // Get the XML containing User's Profile $content = $response-getBody(); $xmlobj = simplexml_load_string($content); $scxpath = array( tw:source_id=/users/user/id, tw:screen_name=/users/user/screen_name ); for($i=1;$i=count($xmlobj-user);$i++) { foreach($scxpath as $k=$v) { $twitter_con_arr[$k.:.$i] = $this-getValue($v,$i-1,$xmlobj); } $twitter_con_arr['tw:name:'.$i] = $twitter_con_arr['tw:screen_name:'.$i]; $twitter_con_arr['tw:original_source_id:'.$i] = $twitter_con_arr['tw:source_id:'.$i]; } return $twitter_con_arr; } -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Article Title
Hi, I want to add the twitter button on my website. Please let me know how to get the article's heading rather than the website name (Heading) in tweet. Kind regards Rakesh -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] t.co Posting Questions
As for bit.ly, there is an API for bit.ly which aids you in using URL-shortening until t.co is finished.. -- Emil sakjur Tullstedt ~~ On Sat, Dec 18, 2010 at 2:01 PM, Tom van der Woerdt i...@tvdw.eu wrote: Hello David, Currently the API does not shorten the links for you yet. In the future Twitter may implement this, but currently you will have to shorten the links yourself, via (for example) bit.ly. Tom On 12/18/10 1:19 AM, David E. Wheeler wrote: Howdy, I'm writing an iPad app that has a Share via Twitter feature. I'm trying to understand how to count characters, including URLs before I post to the API. I thought these might be FAQs, but t.co does not show up in the FAQ and has only two hits via Google's search of this list, so I apologize if these are in fact FAQs. So I tried to post a new status message that was longer than 140 characters, but I counted the URL as only 19 characters, per [this message][] from Raffi. Unfortunately, the API rejected the message as too long. So my questions are: * Should I be counting URLs as only 19 characters? * If so, will the Twitter API be adjusted to count URLs as only 19 characters, and not reject messages that are longer because the URLs are longer? * And if that's the plan, when is it likely to happen? * And should I also count URLs that are less than 19 characters as 19 characters, on the assumption that they will *always* be wrapped? Ah, I just did a search for link wrap and say [this thread][] from September. Doesn't look like there was an official answer from Twitter -- did I miss it? If not, does anyone have any idea when there might be more information on this stuff and how it will affect the API? Thanks, David [this message]: http://groups.google.com/group/twitter-development-talk/msg/9bdd19b025fe0cba ? [this thread]: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/dacc3bdc5b1e1d67 -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] After authenticating application I get redirected to connect.php
Hi, I was developing a Facebook application for twitter. Before that I wanted to try out abraham's twitter oauth library.So, I set up the application and changed the config.php. When I access index.php it redirects to connect.php and from there I am able to authenticate my dummy application.But, after after authentication I again reach connect.php instead the user information array. Am I missing out anything ? Please let me know if anyone wants to know anything else.. Thanks in advance.Any suggestion is welcome. Regards Preetish -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Feature Request: clickable URI schemes in statuses on Twitter website other than http and https
Twitter website does a great job detecting http and https links in statuses and makes clickable links for them. However uncommon URI schemes, like the ones with mailto, ftp, openmaps, etc. names don't get recognized and users can't click on those. I think adding this would make the user experience more fluid. It is important that the regex should be a general one, that matches links like this also: openmaps://n/957085286 (taken from this status http://twitter.com/#!/zssz/statuses/7396822796476416). In case you are wondering what the openmaps:// link is: It is an URI scheme that OpenMaps for iOS app uses. The openmaps://n/957085286 link for example identifies a place of OpenStreetMap.org in the app. If you tap on that then OpenMaps launches and it shows you that place where you can comment on it via Twitter, calculate the route to there, add it to your contacts, send the link to it via email to your friends, edit the place, etc. You get the main idea. Best regards, Zsombor Szabo IZE, Ltd. - http://izeize.com/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] how to get twitter user's email address
you can't, and that's by design for privacy reasons. On Mon, Dec 20, 2010 at 9:58 AM, Zhou Tong tongzhou...@gmail.com wrote: I don't find any api can get friends email address. it's very important to my application. help me ,thanks -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] what id_str, how to use id_str,right now im using id only right now..
There are a number of JSON implementations in languages like Javascript and ActionScript that result in truncation of larger integers. Recently Twitter's id-generation scheme for Tweets changed, resulting in larger integers. id_str is provided so that you have a string-based representation of nearly any identifier in Twitter's API, the only safe way to consume the identifier in languages with this problem. In most cases, it's safest/best to use id_str when it's provided. Taylor On Mon, Dec 20, 2010 at 2:17 AM, Rajesh ssrajesh@gmail.com wrote: please help me how to get id_str what is id_str? public function statusUpdates($token,$message) { global $logger; $client = $token-getHttpClient($this-option_array); $message_encode=$message; $client-setUri(' http://api.twitter.com/1/statuses/update.json'); $client-setParameterPost('status',$message_encode); $client-setMethod(Zend_Http_Client::POST); $response = $client-request('POST'); //$content = $response-getBody(); } /* * TO SEND JOB DETAILS MESSAGE TO Twitter CONNECTIONS */ public function sendMessage($token, $sender_id=null, $message) { global $logger; $client = $token-getHttpClient($this-option_array); $sender_id = explode(',',$sender_id); $message_encode=urlencode($message); // Set Method (GET, POST or PUT) $client-setUri(' http://api.twitter.com/1/statuses/update.json'); for($i=0;$icount($sender_id);$i++) { $message_text = 'd '.$sender_id[$i].' '.$message; $client-setParameterPost('message',$message_encode); $client-setParameterPost('status',$message_text); $client-setMethod(Zend_Http_Client::POST); $response =$client-request('POST'); //$content = $response-getBody(); //$response_content = $response-getHeader(); } } /** * Assues there is already a valid token available for this user */ public function getConnections($token) { global $logger; $twitter_con_arr = array(); if ($token == null) return $twitter_con_arr; // Use HTTP Client with built-in OAuth request handling $client = $token-getHttpClient($this-option_array); // to get Twitter connections $client-setUri(' http://api.twitter.com/1/statuses/followers.xml'); // Set Method (GET, POST or PUT) $client-setMethod(Zend_Http_Client::GET); // Get Request Response $response = $client-request(); // Get the XML containing User's Profile $content = $response-getBody(); $xmlobj = simplexml_load_string($content); $scxpath = array( tw:source_id=/users/user/id, tw:screen_name=/users/user/screen_name ); for($i=1;$i=count($xmlobj-user);$i++) { foreach($scxpath as $k=$v) { $twitter_con_arr[$k.:.$i] = $this-getValue($v,$i-1,$xmlobj); } $twitter_con_arr['tw:name:'.$i] = $twitter_con_arr['tw:screen_name:'.$i]; $twitter_con_arr['tw:original_source_id:'.$i] = $twitter_con_arr['tw:source_id:'.$i]; } return $twitter_con_arr; } -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter Searches limit on string size?
Hi, While using the Android App Inventor I ran across an issue that I can't seem to figure out. I confirmed it isn't the problem of the the inventor tool before posting, but you'll need to forgive my noob-ness to this particular api. What I was trying to accomplish: Using the method SearchTwitter for a string of Zippy The Pinhead's tweets (which are all tagged #zippythepinhead by the bot) What goes wrong: No data is returned How I tested that it isn't in my app: Using a more generic string of #zippy I get a whole bunch of stuff. So I went to the actual twitter site and repeated the searches with the twitter search tool. #zippythepinhead returns nothing. #zippy returns lots of stuff. To further test I went the the users page of tweets and directly clicked on the #zippythepinhead tag.This also returns no data. So my question is why is this broken? Does it exceed a character limit? Thanks for your consideration. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] blocked users
Is blocked users available from the API? Eg if I block a user from the browser is this action viewable from another application via the API? Cheers, Dean -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] blocked users
Is this what you are looking for? http://dev.twitter.com/doc/get/blocks/blocking Shannon On Mon, Dec 20, 2010 at 11:05 AM, Dean Collins d...@cognation.net wrote: Is blocked users available from the API? Eg if I block a user from the browser is this action viewable from another application via the API? Cheers, Dean -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] t.co Posting Questions
On Dec 20, 2010, at 4:16 AM, Emil Tullstedt wrote: As for bit.ly, there is an API for bit.ly which aids you in using URL-shortening until t.co is finished.. Yeah, but it's rate-limited. I'm using http://s.coop/ for now. Dead simple. Best, David -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Destroying/Undoing Retweet
Hello, If i try to run 'statuses/destroy' on a status I retweeted, I get the error You may not delete another user's status. I've searched around and found this bug: http://code.google.com/p/twitter-api/issues/detail?id=1274 I see no replies though whether there are plans to implement an easy way to grab the Retweet ID. Can someone confirm or deny that this is in the works right now? Or if I'm just doing something wrong? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] t.co Posting Questions
On Mon, 20 Dec 2010 10:21:32 -0800, David E. Wheeler da...@kineticode.com wrote: On Dec 20, 2010, at 4:16 AM, Emil Tullstedt wrote: As for bit.ly, there is an API for bit.ly which aids you in using URL-shortening until t.co is finished.. Yeah, but it's rate-limited. I'm using http://s.coop/ for now. Dead simple. Best, David *All* services are rate-limited and *none* are free. ;-) -- http://twitter.com/znmeb http://borasky-research.net A mathematician is a device for turning coffee into theorems. -- Paul Erdős -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] what id_str, how to use id_str,right now im using id only
Hi, The id_str is only returned in the JSON responses as it isn't needed in the XML response. The XML response returns all data as a string so a unique *_str field isn't required. Hope that helps, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Mon, Dec 20, 2010 at 12:05 AM, Rajesh ssrajesh@gmail.com wrote: hi, right now im using id to for status update, how to use id_str, how can i get id_str? im using twitter api on my php page.. ex follower response is 20/December/2010 13:22:51: SimpleXMLElement Object ( [...@attributes] = Array ( [type] = array ) [user] = Array ( [0] = SimpleXMLElement Object ( [id] = 17949969 [name] = MattsLens [screen_name] = MattsLens [location] = Grand Rapids, Michigan [description] = MattsLens.com utilizes photography Social Media to help individuals and businesses develop and improve their online presence. [profile_image_url] = http://a3.twimg.com/profile_images/1118820404/MattsLens_Logo_2010_normal.jpg [url] = http://wefollow.com/MattsLens [protected] = false [followers_count] = 453 [profile_background_color] = 0f0f0f [profile_text_color] = 66 [profile_link_color] = 1A6DC5 [profile_sidebar_fill_color] = 212020 [profile_sidebar_border_color] = 404040 [friends_count] = 620 [created_at] = Sun Dec 07 23:08:22 + 2008 [favourites_count] = 3 [utc_offset] = -18000 [time_zone] = Eastern Time (US Canada) [profile_background_image_url] = http://a0.twimg.com/profile_background_images/158496637/xac4b1478dba4c3be11d522b5b3ed6a7.jpg [profile_background_tile] = false [profile_use_background_image] = false [notifications] = false [geo_enabled] = false [verified] = false [following] = true [statuses_count] = 2683 [lang] = en [contributors_enabled] = false [follow_request_sent] = false [listed_count] = 71 [show_all_inline_media] = false [is_translator] = false [status] = SimpleXMLElement Object ( [created_at] = Mon Dec 20 05:31:44 + 2010 [id] = 16727427753443328 [text] = Just added myself to the http://wefollow.com twitter directory! [source] = a href=http://wefollow.com; rel=nofollowWeFollow/a [truncated] = false [favorited] = false [in_reply_to_status_id] = SimpleXMLElement Object ( ) [in_reply_to_user_id] = SimpleXMLElement Object ( ) [in_reply_to_screen_name] = SimpleXMLElement Object ( ) [retweet_count] = 0 [retweeted] = false [geo] = SimpleXMLElement Object ( ) [coordinates] = SimpleXMLElement Object ( ) [place] = SimpleXMLElement Object ( ) [contributors] = SimpleXMLElement Object ( ) ) ) ) for get connection i used the below code * Assues there is already a valid token available for this user */ public function getConnections($token) { global $logger; $twitter_con_arr = array(); if ($token == null) return $twitter_con_arr; // Use HTTP Client with built-in OAuth request handling $client = $token-getHttpClient($this-option_array); // to get Twitter connections $client-setUri(' http://api.twitter.com/1/statuses/followers.xml'); // Set Method (GET, POST or PUT) $client-setMethod(Zend_Http_Client::GET); // Get Request Response
Re: [twitter-dev] Article Title
Hi Rakesh, Our 'Create a Tweet Button' page will help you do this: http://twitter.com/about/resources/tweetbutton The place to change the Tweet Text is under the Tweet text tab of 1. Choose you button Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Mon, Dec 20, 2010 at 3:08 AM, Gateway Design gatewaywebdes...@gmail.comwrote: Hi, I want to add the twitter button on my website. Please let me know how to get the article's heading rather than the website name (Heading) in tweet. Kind regards Rakesh -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] OAuth and Multiple Accounts on Mobile applications
I found this thread about OAuth and multiple devices: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/bb879832a8a18a25/a34ec6d44c0eeb23?lnk=gstq=multiple+accounts+and+OAuth# All of the information in that thread makes sense to me. I currently have a mobile application where I have successfully implemented an OAuth flow, I'm not quite sure what the official name is, so I will describe it. If the application does not have an OAuthToken the mobile browser is opened and the user is asked to log in to give the mobile application permission to access their account. If the user agrees, they get a PIN number to enter into my mobile application. Once the user enters the PIN, I request a token from Twitter, my app verifies the token access and retrieves the user's screen name. What I am not sure of is what is the intended way to handle mobile applications that post to multiple Twitter accounts? Do I need messaging in my application to instruct the user to make sure they're logged out of their application so they can log in with another account and my application can request access that way? That seems kind of clunky. Is there another alternative where I can have the user enter their screen name and I can start an OAuth flow with that? Any help/guidance is appreciated. -omar -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Managing Multiple Users and /account/geo Woes
Any response would help, even something along the lines of this isn't possible. On Dec 17, 11:14 am, cballou ball...@gmail.com wrote: I'm storing access_tokens for a number of users in my application. When I switch from one account to another for management, I run a background AJAX request on account/verify_credentials to determine if the active user is geo enabled (parameter geo_enabled). If the user isn't geo enabled, I open a lightbox asking them if they'd like to turn on location. I then fire off a redirect to /account/geo if they clicked yes so they can enable location. The problem, at this point, is that the user may be logged into Twitter with a different account. Is there any way for me to do some trickery to switch the logged in user on twitter (i.e. you allow force_login on authentication) to ensure they're logged in as the proper user? Perhaps even some handling to determine the currently logged in user and check if it matches the access_token user? The current handling poses a very big drawback to this beautiful geo page when managing multiple accounts. I need a way of ensuring that / account/geo pertains to the proper user (and not some other managed user account). Any help, solutions, workarounds, or suggestions would be much appreciated. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] unable to resolve betastream.twitter.com
I'm using ruby event machine to connect to sitestreams - and am unable to even connect to the betastream server - any help would be appreciated. connecting to http://betastream.twitter.com:80 with {:path=/2b/ site.json, :proxy=nil, :content=follow=1,2,3,4,5, :timeout=0, :method=GET, :content_type=application/ x-www-form-urlencoded, :host=http:// betastream.twitter.com, :port=80, :ssl=false, :auth=login:password, :user_agent=TwitterStream} EventMachine::ConnectionError: unable to resolve server address from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:714:in `connect_server' from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:714:in `bind_connect' from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:692:in `connect' from /opt/local/lib/ruby/gems/1.8/gems/twitter-stream-0.1.6/ lib/twitter/json_stream.rb:56:in `connect' from /Users/temo/devl/solr.trunk/app/smartr/lib/sitestream.rb: 5 from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:256:in `call' from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:256:in `run_machine' from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:256:in `run' from /Users/temo/devl/solr.trunk/app/smartr/lib/sitestream.rb: 4 from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:142:in `load_without_new_constant_marking' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:142:in `load' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:521:in `new_constants_in' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:142:in `load' from (irb):13 best, Temo -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] t.co Posting Questions
On Dec 20, 2010, at 12:16 PM, M. Edward (Ed) Borasky wrote: Yeah, but it's rate-limited. I'm using http://s.coop/ for now. Dead simple. Best, David *All* services are rate-limited and *none* are free. ;-) True. David -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] unable to resolve betastream.twitter.com
You should take a look at your server's DNS settings. Open a terminal session and enter `nslookup betastream.twitter.com`. It should return something like this : tom-mbp:~ tom$ nslookup betastream.twitter.com Server: 10.0.0.138 Address:10.0.0.138#53 Non-authoritative answer: Name: betastream.twitter.com Address: 128.242.250.199 Tom On 12/20/10 10:12 PM, Temo wrote: I'm using ruby event machine to connect to sitestreams - and am unable to even connect to the betastream server - any help would be appreciated. connecting to http://betastream.twitter.com:80 with {:path=/2b/ site.json, :proxy=nil, :content=follow=1,2,3,4,5, :timeout=0, :method=GET, :content_type=application/ x-www-form-urlencoded, :host=http:// betastream.twitter.com, :port=80, :ssl=false, :auth=login:password, :user_agent=TwitterStream} EventMachine::ConnectionError: unable to resolve server address from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:714:in `connect_server' from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:714:in `bind_connect' from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:692:in `connect' from /opt/local/lib/ruby/gems/1.8/gems/twitter-stream-0.1.6/ lib/twitter/json_stream.rb:56:in `connect' from /Users/temo/devl/solr.trunk/app/smartr/lib/sitestream.rb: 5 from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:256:in `call' from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:256:in `run_machine' from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:256:in `run' from /Users/temo/devl/solr.trunk/app/smartr/lib/sitestream.rb: 4 from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:142:in `load_without_new_constant_marking' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:142:in `load' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:521:in `new_constants_in' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:142:in `load' from (irb):13 best, Temo -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter Search API - Possible Proximity Bug
While running some tests on the search API I noticed a potential issue with the search API's proximity handling when filtering by places. If I specify a radius of 5 miles with a search term of keg and the address of my office building, I would expect to retrieve a previous tweet of mine: Tweet in question: http://twitter.com/cballou/statuses/15770007518584832 The status update in question was created with an associated place_id of my office, which properly maps to the right address. The place in question (Skookum, Charlotte, NC): https://search.twitter.com/search?q=place%3A5c9b53e1da87e502 Theoretically, I should be able to search within a one mile radius with the address. In this case, the only way I'm able to retrieve my tweet is to bump the radius up to 10 miles. I've tested this issue using both lat/lon coordinates with my application as well as using your advanced search (search.twitter.com/advanced) with the full address. Am I missing something here? Are you associating places to the overall city and not the exact lat/lon marker of an address? When I view the place directly, the marker placement is indicative of having the proper lat/lon coordinates. Let me know if you need any clarification or additional details. Regards, Corey -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: unable to resolve betastream.twitter.com
Seems like the DNS resolution is ok. t...@16:20:04:~nslookup betastream.twitter.com Server: 192.168.1.1 Address:192.168.1.1#53 Non-authoritative answer: Name: betastream.twitter.com Address: 128.242.250.199 On Dec 20, 4:16 pm, Tom van der Woerdt i...@tvdw.eu wrote: You should take a look at your server's DNS settings. Open a terminal session and enter `nslookup betastream.twitter.com`. It should return something like this : tom-mbp:~ tom$ nslookup betastream.twitter.com Server: 10.0.0.138 Address: 10.0.0.138#53 Non-authoritative answer: Name: betastream.twitter.com Address: 128.242.250.199 Tom On 12/20/10 10:12 PM, Temo wrote: I'm using ruby event machine to connect to sitestreams - and am unable to even connect to the betastream server - any help would be appreciated. connecting tohttp://betastream.twitter.com:80with {:path=/2b/ site.json, :proxy=nil, :content=follow=1,2,3,4,5, :timeout=0, :method=GET, :content_type=application/ x-www-form-urlencoded, :host=http:// betastream.twitter.com, :port=80, :ssl=false, :auth=login:password, :user_agent=TwitterStream} EventMachine::ConnectionError: unable to resolve server address from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:714:in `connect_server' from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:714:in `bind_connect' from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:692:in `connect' from /opt/local/lib/ruby/gems/1.8/gems/twitter-stream-0.1.6/ lib/twitter/json_stream.rb:56:in `connect' from /Users/temo/devl/solr.trunk/app/smartr/lib/sitestream.rb: 5 from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:256:in `call' from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:256:in `run_machine' from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ lib/eventmachine.rb:256:in `run' from /Users/temo/devl/solr.trunk/app/smartr/lib/sitestream.rb: 4 from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:142:in `load_without_new_constant_marking' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:142:in `load' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:521:in `new_constants_in' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:142:in `load' from (irb):13 best, Temo -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Destroying/Undoing Retweet
Hi Mike This feature is supported as documented in that ticket. To find the right status ID you can call a timeline method with the parameter include_my_retweet=1. The include_my_retweet parameter will cause a new datapoint current_user_retweet to be included in the status if the current user has retweeted it. This datapoint contains the status ID of the retweet the authenticating user created. This is the status ID to destroy if you wish to undo the retweet. If the element is not included it means the user you are OAuthing with hasn't retweeted that status. Example: current_user_retweet: { id: 26815871309, id_str: 26815871309 }, Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Mon, Dec 20, 2010 at 10:48 AM, Mike under619ta...@gmail.com wrote: Hello, If i try to run 'statuses/destroy' on a status I retweeted, I get the error You may not delete another user's status. I've searched around and found this bug: http://code.google.com/p/twitter-api/issues/detail?id=1274 I see no replies though whether there are plans to implement an easy way to grab the Retweet ID. Can someone confirm or deny that this is in the works right now? Or if I'm just doing something wrong? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Cell phone tower information
Hi, Dose the tweet have cell phone tower information in it when someone post it with a cell phone? Thanks -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Twitter Search API - Possible Proximity Bug
Im not entirely clear on how to reconstruct the query you are trying to make. Can you share the full Search URL request you are making so we can take a look. Thanks, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Mon, Dec 20, 2010 at 1:16 PM, Corey Ballou ball...@gmail.com wrote: While running some tests on the search API I noticed a potential issue with the search API's proximity handling when filtering by places. If I specify a radius of 5 miles with a search term of keg and the address of my office building, I would expect to retrieve a previous tweet of mine: Tweet in question: http://twitter.com/cballou/statuses/15770007518584832 The status update in question was created with an associated place_id of my office, which properly maps to the right address. The place in question (Skookum, Charlotte, NC): https://search.twitter.com/search?q=place%3A5c9b53e1da87e502 Theoretically, I should be able to search within a one mile radius with the address. In this case, the only way I'm able to retrieve my tweet is to bump the radius up to 10 miles. I've tested this issue using both lat/lon coordinates with my application as well as using your advanced search (search.twitter.com/advanced) with the full address. Am I missing something here? Are you associating places to the overall city and not the exact lat/lon marker of an address? When I view the place directly, the marker placement is indicative of having the proper lat/lon coordinates. Let me know if you need any clarification or additional details. Regards, Corey -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Oauth timeout at access_token request
I'm creating my first twitter integration and I've gotten pretty far (or at least it feels like have). I'm pretty confident I'm creating my OAUTH headers and signature and all that correctly because the other requests work fine, just not the access_token request. Here's what I'm doing: 1. I do the oauth request to http://twitter.com/oauth/request_token (with the consumer key and consumer secret) 2. I get a response back with the oauth_token and oauth_secret in it. 3. I redirect my user to http://twitter.com/oauth/authenticate?oauth_token={the oauth_token returned in the last step} 4. I login and click Allow. 5. It redirects the user back to my callback page with the oauth_token and oauth_verifier on it (which I store) 6. Now I created an oauth request to http://twitter.com/oauth/access_token. I sign it with the consumer secret concatenated with and ampersand and the oauth token secret (from step 2). I add the oauth_verifier from step 5 into the header. I send nothing in the POST data, it is just a request with the oauth headers on it. I have my timeout set at 20 seconds, but it times out every time. Now, while I was working through this last night I made a few mistakes and I sent some bad requests to the access_token page, so maybe twitter locked me out or something, but I don't have any information even though I'm pretty confident I'm doing everything correctly now. I'm doing this in vb.net in framework 1.1--its an older app that can't be upgraded to a newer version of the framework yet. I had to create my own oauth library because I couldn't find a .net 1.1 library, but I'd be happy to share the code if it would help. Thanks, Dave -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] firehose exception: the end of stream has been reached
Thanks for the responses. That's unfortunately not the case. We've gone massively concurrent with this (we've wrapped our own concurrent queueing around twitter4j, which it looks like Yusuke has just updated to add his own concurrent approach to this...thx), and falling behind on the stream is definitely not the problem. Bandwidth is not the problem. I still don't understand why, right after reconnecting to the twitter firehose, the stream just plain ends. It's not happening after some time of possibly falling behind...it happens right away. To clarify, this is NOT an issue all the time. And since I posted this the other day, the problem has gone away as mysteriously as it arrived. But it does happen from time to time. When everything else on my app's end is steady-state, the flying fickle finger of blame points to twitter... :-) Thanks, Dan On Fri, Dec 17, 2010 at 1:57 PM, Matt Harris thematthar...@twitter.comwrote: Hey Dan, If you fall too far behind when receiving the stream we will disconnect you. Check the timestamp of the Tweets being received to the time on your computer. If the times are drifting further apart you are falling behind. The most common reasons for falling behind are: 1. You are attempting to process the stream in the same code that consumes them - instead of running a queuing system. 2. Your connection is being used by other processes reducing your available bandwidth. As Tom suggested, run through the Streaming Documentation linked to from http://dev.twitter.com/pages/streaming_api and make sure you implement the suggestions. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Fri, Dec 17, 2010 at 8:52 AM, Dan Checkoway dchecko...@gmail.comwrote: Our app is using twitter4j 2.1.9-SNAPSHOT against the twitter firehose, and lately we are having problems with the stream just ending out of the blue. It happens several times a day lately with no rhyme or reason. Here's an example of what we see: Stream closed.TwitterException{exceptionCode=[a3652dee-000a1c7a a3652dee-000a1c35], statusCode=-1, retryAfter=0, rateLimitStatus=null, version=2.1.9-SNAPSHOT} at twitter4j.AbstractStreamImplementation.handleNextElement(AbstractStreamImplementation.java:149) at twitter4j.StatusStreamImpl.next(StatusStreamImpl.java:74) at twitter4j.TwitterStream$TwitterStreamConsumer.run(TwitterStream.java:687) Caused by: java.io.IOException: the end of the stream has been reached at twitter4j.AbstractStreamImplementation.handleNextElement(AbstractStreamImplementation.java:80) ... 2 more We call cleanUp and then reconnect to the firehose, and then the same thing happens again. Eventually we get temporarily rate limited due to the reconnect attempts. I'm wondering if anybody else out there has seen this issue on the firehose, or if anybody has a suggestion on how to avoid or work around it? Is the likely cause on twitter's side, or could something on the client side be causing this? Thanks, Dan -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Destroying/Undoing Retweet
Hrm, weird. I attempted adding that param when accessing 'statuses/ user_timeline' but the datapoint was not created. Maybe I overlooked something. I'll try it again and see what happens. On Dec 20, 4:32 pm, Matt Harris thematthar...@twitter.com wrote: Hi Mike This feature is supported as documented in that ticket. To find the right status ID you can call a timeline method with the parameter include_my_retweet=1. The include_my_retweet parameter will cause a new datapoint current_user_retweet to be included in the status if the current user has retweeted it. This datapoint contains the status ID of the retweet the authenticating user created. This is the status ID to destroy if you wish to undo the retweet. If the element is not included it means the user you are OAuthing with hasn't retweeted that status. Example: current_user_retweet: { id: 26815871309, id_str: 26815871309 }, Best, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Mon, Dec 20, 2010 at 10:48 AM, Mike under619ta...@gmail.com wrote: Hello, If i try to run 'statuses/destroy' on a status I retweeted, I get the error You may not delete another user's status. I've searched around and found this bug: http://code.google.com/p/twitter-api/issues/detail?id=1274 I see no replies though whether there are plans to implement an easy way to grab the Retweet ID. Can someone confirm or deny that this is in the works right now? Or if I'm just doing something wrong? -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: Destroying/Undoing Retweet
On user_timeline requests remember to add include_rts=1 to include retweets. On Mon, Dec 20, 2010 at 3:13 PM, Mike under619ta...@gmail.com wrote: Hrm, weird. I attempted adding that param when accessing 'statuses/ user_timeline' but the datapoint was not created. Maybe I overlooked something. I'll try it again and see what happens. On Dec 20, 4:32 pm, Matt Harris thematthar...@twitter.com wrote: Hi Mike This feature is supported as documented in that ticket. To find the right status ID you can call a timeline method with the parameter include_my_retweet=1. The include_my_retweet parameter will cause a new datapoint current_user_retweet to be included in the status if the current user has retweeted it. This datapoint contains the status ID of the retweet the authenticating user created. This is the status ID to destroy if you wish to undo the retweet. If the element is not included it means the user you are OAuthing with hasn't retweeted that status. Example: current_user_retweet: { id: 26815871309, id_str: 26815871309 }, Best, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Mon, Dec 20, 2010 at 10:48 AM, Mike under619ta...@gmail.com wrote: Hello, If i try to run 'statuses/destroy' on a status I retweeted, I get the error You may not delete another user's status. I've searched around and found this bug: http://code.google.com/p/twitter-api/issues/detail?id=1274 I see no replies though whether there are plans to implement an easy way to grab the Retweet ID. Can someone confirm or deny that this is in the works right now? Or if I'm just doing something wrong? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Twitter Search API - Possible Proximity Bug
Here's my non API call searches from search.twitter.com with a 5mi range: keg near:121 W Trade St, Charlotte NC within:5mi http://search.twitter.com/search?q=+keg+near%3A%22121+W+Trade+St%2C+Charlotte+NC%22+within%3A5mi http://search.twitter.com/search?q=ands=kegphrase=ors=nots=tag=lang=allfrom=to=ref=near=121+West+Trade+St%2C+Charlotte%2C+NCwithin=5units=misince=until=rpp=50 If you extend the radius to 10mi, you'll get significantly more results. My office is in the heart of Charlotte at a major intersection as well (Trade St and Tryon St). http://search.twitter.com/search?q=+keg+near%3A%22121+W+Trade+St%2C+Charlotte+NC%22+within%3A10mi http://search.twitter.com/search?q=ands=kegphrase=ors=nots=tag=lang=allfrom=to=ref=near=121+West+Trade+St%2C+Charlotte%2C+NCwithin=5units=misince=until=rpp=50 Based on the results returned from the 10mi radius, it seems to indicate that even though I tweeted from a Place, the tweet is being generalized to the parent city bounding box of Charlotte, NC. It just doesn't feel right; does it have to do with an optimization to avoid the heavy cost of performing calculations for sorting by distance? I'll update this post with the API call tomorrow morning when I get in the office. I've got it tucked away in the error logs with no root password in my keychain. In the meantime, any clarification or light you can shed on how you guys are calculating proximity would be much appreciated. Regards, Corey On Dec 20, 5:36 pm, Matt Harris thematthar...@twitter.com wrote: Im not entirely clear on how to reconstruct the query you are trying to make. Can you share the full Search URL request you are making so we can take a look. Thanks, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Mon, Dec 20, 2010 at 1:16 PM, Corey Ballou ball...@gmail.com wrote: While running some tests on the search API I noticed a potential issue with the search API's proximity handling when filtering by places. If I specify a radius of 5 miles with a search term of keg and the address of my office building, I would expect to retrieve a previous tweet of mine: Tweet in question: http://twitter.com/cballou/statuses/15770007518584832 The status update in question was created with an associated place_id of my office, which properly maps to the right address. The place in question (Skookum, Charlotte, NC): https://search.twitter.com/search?q=place%3A5c9b53e1da87e502 Theoretically, I should be able to search within a one mile radius with the address. In this case, the only way I'm able to retrieve my tweet is to bump the radius up to 10 miles. I've tested this issue using both lat/lon coordinates with my application as well as using your advanced search (search.twitter.com/advanced) with the full address. Am I missing something here? Are you associating places to the overall city and not the exact lat/lon marker of an address? When I view the place directly, the marker placement is indicative of having the proper lat/lon coordinates. Let me know if you need any clarification or additional details. Regards, Corey -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Twitter Search API - Possible Proximity Bug
It's also worth noting that while the above example may not be pulling a place, the API call I'll be including tomorrow uses the latitude/ longitude pair pulled from the Google Maps API V3 geocoder with the same outcome. On Dec 20, 7:22 pm, Corey Ballou ball...@gmail.com wrote: Here's my non API call searches from search.twitter.com with a 5mi range: keg near:121 W Trade St, Charlotte NC within:5mihttp://search.twitter.com/search?q=+keg+near%3A%22121+W+Trade+St%2C+C...http://search.twitter.com/search?q=ands=kegphrase=ors=nots=tag=;... If you extend the radius to 10mi, you'll get significantly more results. My office is in the heart of Charlotte at a major intersection as well (Trade St and Tryon St). http://search.twitter.com/search?q=+keg+near%3A%22121+W+Trade+St%2C+C...http://search.twitter.com/search?q=ands=kegphrase=ors=nots=tag=;... Based on the results returned from the 10mi radius, it seems to indicate that even though I tweeted from a Place, the tweet is being generalized to the parent city bounding box of Charlotte, NC. It just doesn't feel right; does it have to do with an optimization to avoid the heavy cost of performing calculations for sorting by distance? I'll update this post with the API call tomorrow morning when I get in the office. I've got it tucked away in the error logs with no root password in my keychain. In the meantime, any clarification or light you can shed on how you guys are calculating proximity would be much appreciated. Regards, Corey On Dec 20, 5:36 pm, Matt Harris thematthar...@twitter.com wrote: Im not entirely clear on how to reconstruct the query you are trying to make. Can you share the full Search URL request you are making so we can take a look. Thanks, @themattharris Developer Advocate, Twitterhttp://twitter.com/themattharris On Mon, Dec 20, 2010 at 1:16 PM, Corey Ballou ball...@gmail.com wrote: While running some tests on the search API I noticed a potential issue with the search API's proximity handling when filtering by places. If I specify a radius of 5 miles with a search term of keg and the address of my office building, I would expect to retrieve a previous tweet of mine: Tweet in question: http://twitter.com/cballou/statuses/15770007518584832 The status update in question was created with an associated place_id of my office, which properly maps to the right address. The place in question (Skookum, Charlotte, NC): https://search.twitter.com/search?q=place%3A5c9b53e1da87e502 Theoretically, I should be able to search within a one mile radius with the address. In this case, the only way I'm able to retrieve my tweet is to bump the radius up to 10 miles. I've tested this issue using both lat/lon coordinates with my application as well as using your advanced search (search.twitter.com/advanced) with the full address. Am I missing something here? Are you associating places to the overall city and not the exact lat/lon marker of an address? When I view the place directly, the marker placement is indicative of having the proper lat/lon coordinates. Let me know if you need any clarification or additional details. Regards, Corey -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: OAuth and Multiple Accounts on Mobile applications
The method you are using is called Pin-based OAuth, designed for Desktop. It's not ideal for mobile integration b/c it is cumbersome to ask mobile user to copy and paste a pin from safari browser, then open app 2nd time to paste the pin in the right place in the app. Who would want to take extra steps to authenticate such app on the go? Plus your app would request user to enter multiple twitter accts to request matching pin for each account. Think of how many steps the same user have to do? References: http://apiwiki.twitter.com/w/page/22554643/Authentication On Dec 20, 12:48 pm, Omar Gonzalez omarg.develo...@gmail.com wrote: I found this thread about OAuth and multiple devices:http://groups.google.com/group/twitter-development-talk/browse_thread... All of the information in that thread makes sense to me. I currently have a mobile application where I have successfully implemented an OAuth flow, I'm not quite sure what the official name is, so I will describe it. If the application does not have an OAuthToken the mobile browser is opened and the user is asked to log in to give the mobile application permission to access their account. If the user agrees, they get a PIN number to enter into my mobile application. Once the user enters the PIN, I request a token from Twitter, my app verifies the token access and retrieves the user's screen name. What I am not sure of is what is the intended way to handle mobile applications that post to multiple Twitter accounts? Do I need messaging in my application to instruct the user to make sure they're logged out of their application so they can log in with another account and my application can request access that way? That seems kind of clunky. Is there another alternative where I can have the user enter their screen name and I can start an OAuth flow with that? Any help/guidance is appreciated. -omar -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Incorrect signature while getting user time line
Now the issue solved. Thanks Twitter. Regards, George On Mon, Dec 20, 2010 at 10:20 AM, Georgooty varghese georgo...@gmail.comwrote: Dear Twitter, I didn't get a solution. Please help me. I am waiting for your reply. Regards, George On Thu, Dec 16, 2010 at 1:58 PM, Tom van der Woerdt i...@tvdw.eu wrote: They look fine, and since the rest of the requests work fine (which you said), I have to assume that it's not the signature generation. Also, since you're not the only one to mention this in the past 12 hours, I have to leave open the possibility of Twitter being the issue. However, before looking at that, please double check that the Base String matches what you are actually doing! Tom On 12/16/10 7:25 AM, Georgooty varghese wrote: Thanks twitter for your quick reply. I have make only one modification into my code. Other code changes do only when I get your reply. I have changed url for user time line http to https. Here I have copied my user time line base url and signature and base string. Please suggest to me a correct way for this. *Base URL* :oauth_consumer_key=*oauth_nonce=EF2k_xwovJInFfqoauth_signature_method=HMAC-SHA1oauth_timestamp=1292480095oauth_token=*oauth_version=1.0page=1screen_name=Sanoop_SP * Signature*:FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REpV1owATZgqcsx3R6FaM0qGilyBRkkP95zwNVosGoSnc *Base string*:GEThttps%3A%2F%2Fapi.twitter.com http://2Fapi.twitter.com %2F1%2Fstatuses%2Fuser_timeline.jsonoauth_consumer_key%%26oauth_nonce%3DEF2k_xwovJInFfq%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1292480095%26oauth_token%**%26oauth_version%3D1.0%26page%3D1%26screen_name%3DSanoop_SP What mistake I have made in this. Please reply. I am waiting for your reply. Regards, George On Wed, Dec 15, 2010 at 11:21 PM, Tom van der Woerdt i...@tvdw.eu mailto:i...@tvdw.eu wrote: Hi George, There have been some changes to Twitter's API and while not all of them have been activated yet, some of them may apply to you. Incorrect signature usually means that your signature is bad. This can mean a lot of things, but if only your user_timeline part is broken, you can start by looking at these : * Make sure that the URL in the Base String does not contain the query part of an URL (= anything after (and including) the ? part of the URL) - Good: https://api.twitter.com/1/statuses/user_timeline.json - Bad: https://api.twitter.com/1/statuses/user_timeline.json?count=200 Of course, this only applies to the Base String. Making a GET request is still fine. * Make sure that you specify the correct method in the Base String. - If you are making a GET request, put GET in the Base String. * Make sure that you properly URL-encode all values in the Base String - Good: Hello%20Twitter - Bad: Hello+Twitter - (This does not really apply to user_timeline) If you checked the above and the issue is still there, please show us a sample Base String and a dump of the request you make to the Twitter API. Tom On 12/15/10 6:06 PM, Georgooty varghese wrote: Dear Twitter, I have been created a twitter application. I got xauth token for my application. I have implemented twitter functionalities like home tweets, user info, follower details, following details, user time line. These functionalities working smoothly. Also get each user time line . But Todat, usser time url is not working right now. I got incorrect signature exception.. Though usertime line qury is not working yesterday. I have no change any line code. If any change need to my coding? Anybody please help me.. I am waiting for your reply. Regards, George -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Need help to develop twitter application, Plz reply me
I am surprised that no one here to response you. May be you are asking very basic info. You should go buy a Twitter developer book online ebook or from a book store. We are releasing a Twitter API Developer book but it is not available yet til next year. You'll need to use OAuth, not basic auth. Twitter OAuth Library http://dev.twitter.com/pages/oauth_libraries Use consumer key and consumer secret from your app settings in your OAuth lib. Your Twitter API is limited by hour and no. of tweets. On Dec 19, 11:28 pm, Roopesh Rai roopesh.ra...@gmail.com wrote: If anybody know solution to above question, Please reply me. I am very new to twitter application development I am confusing. I am trying, Googling... But, Result is nill... Thank U On Dec 15, 2:33 pm, Roopesh Rai roopesh.ra...@gmail.com wrote: Hi all, I am developing twitter application. In this application without browser user can use Twitter, I am providing user a interface to use twitter. I registered my application with twitter . By Oauth I am accessing twiiter. My doubts starts here 1) In my application I need to develop such that any user can enter his user name and password, and he can enter to twitter home page(In my application), But now I am not using any username and password, Directly using consumer key, consumer secret key, token key, token secret key, PIN I am entering to twitter home. how i can allow other users to use my application just by there user name and password 2) By using statuses/home_timeline.json, I am getting only 14 timelines, How I can get all the timeline. Thank you for Your valuable reply. Regards, S.R Rai -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: how to get twitter user's email address
I don't find any api can get friends email address. it's very important to my application. help me ,thanks The use of other apis are not authorized by twitter but you can try them for as long as they work. Use Rapleaf API so 'your api' can get 'friends email addresses' ~~~ Mohan -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Need help to develop twitter application, Plz reply me
Thank u for reply I am very new to this application, So not understanding basic concepts itself, can you suggest me any document to read, and having following info * how any user can login just by his username and password,how he will get authentication ??? * how I can use this in my application, I mean design for login If anybody know answer and ready to share valuable time for sharing knowledge, plz suggest me regards, Rai On Dec 21, 9:24 am, Bess bess...@gmail.com wrote: I am surprised that no one here to response you. May be you are asking very basic info. You should go buy a Twitter developer book online ebook or from a book store. We are releasing a Twitter API Developer book but it is not available yet til next year. You'll need to use OAuth, not basic auth. Twitter OAuth Libraryhttp://dev.twitter.com/pages/oauth_libraries Use consumer key and consumer secret from your app settings in your OAuth lib. Your Twitter API is limited by hour and no. of tweets. On Dec 19, 11:28 pm, Roopesh Rai roopesh.ra...@gmail.com wrote: If anybody know solution to above question, Please reply me. I am very new to twitter application development I am confusing. I am trying, Googling... But, Result is nill... Thank U On Dec 15, 2:33 pm, Roopesh Rai roopesh.ra...@gmail.com wrote: Hi all, I am developing twitter application. In this application without browser user can use Twitter, I am providing user a interface to use twitter. I registered my application with twitter . By Oauth I am accessing twiiter. My doubts starts here 1) In my application I need to develop such that any user can enter his user name and password, and he can enter to twitter home page(In my application), But now I am not using any username and password, Directly using consumer key, consumer secret key, token key, token secret key, PIN I am entering to twitter home. how i can allow other users to use my application just by there user name and password 2) By using statuses/home_timeline.json, I am getting only 14 timelines, How I can get all the timeline. Thank you for Your valuable reply. Regards, S.R Rai -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk