[twitter-dev] Problem With Fetching Followers and Following Id's
Dear All, I am developing a twitter mobile application, and i have a problem in fetching the followers and following list. earlier i used http://api.twitter.com/version/statuses/friends.format http://api.twitter.com/version/statuses/followers.format API's to fecth the Followers and following people list. But now they are depricated. Now i want to use the API's http://api.twitter.com/version/friends/ids.format http://api.twitter.com/version/followers/ids.format to fetch the ID's of the follower and following people Id's and http://api.twitter.com/version/users/lookup.format API to get the user List. Now My problem is that i want to fetch the Specific number (as per my requirement it is 16) of follower and following id's using the above two API's (friends/ids.format and followers/ids.format). But these two API's ignoring the count Parameter (suppose if i sent a request to fetch the followers of the user = sachin_rt http://api.twitter.com/1/followers/ids.json/screen_name=sachin_rtcursor=-1count=16 it is ignoring the count parameterand returning an amount 5000 followers ID's. ) and returning a huge number of Id's. As i am developing a mobile app i don't want to store this amount of data in my database until user go for showmore/ or scroll to the bottom of the list. please let me know is there any solution to fetch the specific number of ID's of the followers/follwing. Thanks in Advance Kamesh -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: Error 403 while getFollowers : Twitter Iphone MGTwitterEngine
any idea guys On Jun 10, 4:33 pm, Amit Battan Ror batta...@gmail.com wrote: Hi All I am using Twitter-OAuth-iPhonehttps://github.com/bengottlieb/Twitter-OAuth-iPhone I am calling [twitterObj getFollowersIncludingCurrentStatus:NO] for getting my friend list which was working fine. But from last two days its giving me the 403 error. -- Twitter Request FD751461-39C4-4EAB-A0F7-D1ED262B19EA failed with error: Error Domain=HTTP Code=403 The operation couldn’t be completed. (HTTP error 403.) As twitter api wiki 403 is due to crossing the limit of updates and DM but here in getFollowersIncludingCurrentStatus Why this error occurring and even list is not comes next day giving same 403 error. Thanks Amit Battan -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Error 403 while getFollowers : Twitter Iphone MGTwitterEngine
Amit, I don't know your library, but in my case the 403 was accompanied by the message Not authorized to use this endpoint and the solution was to update to http://api.twitter.com/1 [etc.]. Bill Jacobson On 06/13/2011 05:39 AM, Amit Battan Ror wrote: any idea guys On Jun 10, 4:33 pm, Amit Battan Rorbatta...@gmail.com wrote: Hi All I am using Twitter-OAuth-iPhonehttps://github.com/bengottlieb/Twitter-OAuth-iPhone I am calling [twitterObj getFollowersIncludingCurrentStatus:NO] for getting my friend list which was working fine. But from last two days its giving me the 403 error. -- Twitter Request FD751461-39C4-4EAB-A0F7-D1ED262B19EA failed with error: Error Domain=HTTP Code=403 The operation couldn’t be completed. (HTTP error 403.) As twitter api wiki 403 is due to crossing the limit of updates and DM but here in getFollowersIncludingCurrentStatus Why this error occurring and even list is not comes next day giving same 403 error. Thanks Amit Battan -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: Error 403 while getFollowers : Twitter Iphone MGTwitterEngine
I am not getting the solution. and my API was working fine beofre 2 3 days.. but not now.. all other API except getFollowersIncludingCurrentStatus working ok and return proper output On Jun 13, 5:53 pm, Bill Jacobson gabe...@gmail.com wrote: Amit, I don't know your library, but in my case the 403 was accompanied by the message Not authorized to use this endpoint and the solution was to update to http://api.twitter.com/1[etc.];. Bill Jacobson On 06/13/2011 05:39 AM, Amit Battan Ror wrote: any idea guys On Jun 10, 4:33 pm, Amit Battan Rorbatta...@gmail.com wrote: Hi All I am using Twitter-OAuth-iPhonehttps://github.com/bengottlieb/Twitter-OAuth-iPhone I am calling [twitterObj getFollowersIncludingCurrentStatus:NO] for getting my friend list which was working fine. But from last two days its giving me the 403 error. -- Twitter Request FD751461-39C4-4EAB-A0F7-D1ED262B19EA failed with error: Error Domain=HTTP Code=403 The operation couldn�t be completed. (HTTP error 403.) As twitter api wiki 403 is due to crossing the limit of updates and DM but here in getFollowersIncludingCurrentStatus Why this error occurring and even list is not comes next day giving same 403 error. Thanks Amit Battan -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] edit application - time estimation until changes committed
I've edited my twitter app several times(change app name, description,icon) and each change took a very long time until i was able to actually see it. How long does it take until changes on twitter app take effect? Thanks -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Having issues with twitter signin
Getting this error 500:Something is broken. Please post to the group (http://dev.twitter.com/pages/support) so the Twitter team can investigate. h2Something is technically wrong./h2 pThanks for noticing—we're going to fix it up and have things back to normal soon./p What action should I take here? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Problems about crawling the twitter user relationship
Hi everyone: I am going to crawl the user relationship information, like, followers and friends, from Twitter Inc. for my research work. While, I am confronted with some problems, can anybody give me some suggestions. My problem is as follow: = Problem A: I try Twitter4j to fetch the relationship in Twitter . But I always limit by the rate for not owning a white-list key and secret, and sometimes I also got some errors, like HTTP 414 Error, denoting request-URI too large. Thus, is there any other method to escape the rate limitation with Twitter API? Problem B: For this limit, I attempt another method to get the relationship. I notice that if I input the url http://twitter.com/!#/dannygao/followers , I could get the followers of dannygao in browser. If I input the url http://twitter.com/dannygao/followers, I need to login first, and then, get the followers in browser. Thus, I use the AsyncHttpClient to crawl this relationship just like the process of browser. The code is as follows: - AsyncHttpClient client = new AsyncHttpClient(); Response response = client.prepareGet(this.url).execute().get(); if (response.getStatusCode() == 302) { System.out.print(Redirecting to... ); String redirect = response.getHeader(Location); this.url = redirect; System.out.println(this.url); response = client.prepareGet(this.url).execute().get(); } return response.getResponseBody(UTF-8); - If I input the url http://twitter.com/!#/dannygao/followers, I got following output. Connecting url http://twitter.com/!#/dannygao/followers If I input the url http://twitter.com/dannygao/followers, I get following output. Connecting url http://twitter.com/dannygao/followers Redirecting to... http://twitter.com/login?redirect_after_login=%2Fdannygao%2Ffollowers Neither of the scripts I crawled contains the information about user relationship. Thus, 1) Can anybody explain what is the difference between these two urls? 2) If I want to use this method to crawl the twitter use relationship, can you provide me some suggestions? === Many thanks in advance. Danny -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Having issues with twitter signin
Sounds like an uncaught error. I'd contact a...@twitter.com with details of your request and the time it occurred. On 13 Jun 2011, at 09:11, GP wrote: Getting this error 500:Something is broken. Please post to the group (http://dev.twitter.com/pages/support) so the Twitter team can investigate. h2Something is technically wrong./h2 pThanks for noticing—we're going to fix it up and have things back to normal soon./p What action should I take here? -- Scott Wilcox @dordotky | sc...@dor.ky | http://dor.ky +44 (0) 7538 842418 | +1 (646) 827-0580 -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Twitter JSON feed falls out with php
Hey Twitter Developers. I've had a bit om a problem with my home made twitter feed plugin for my website, sometimes it just wont load the feed for like 30 minutes and then it starts working again. Is there any of you familiar with this kind of error? ?php $user = andreasvoss; $url = http://twitter.com/statuses/user_timeline/.$user..json;; $json = file_get_contents($url); $data = json_decode($json); foreach($data as $val){ $screen_name = $val-user-screen_name; $tweet = $val-text; $date = strtotime($val-created_at); ? span class=name@?php echo $screen_name; ?/ spanbr span class=update?php echo $tweet; ?/spanbr span class=timefor ?php echo $date; ?/ spanbrbr ?php } ? Kind regards Andreas Voss -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] 'count' parameter for statuses/sample gives a 416
Hi all I think the docs might be wrong, as it says that statuses/sample can have a 'count' (see: http://dev.twitter.com/pages/streaming_api_methods) but the API returns a 416 if you try and supply one Cheers Adam -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Error 403 while getFollowers : Twitter Iphone MGTwitterEngine
I'm suggesting that you find out what endpoint (Twitter URL) your app is targeting, and make sure that it matches what is currently documented. If it doesn't match, correct it. That's what worked for me. On 06/13/2011 08:05 AM, Amit Battan Ror wrote: I am not getting the solution. and my API was working fine beofre 2 3 days.. but not now.. all other API except getFollowersIncludingCurrentStatus working ok and return proper output On Jun 13, 5:53 pm, Bill Jacobsongabe...@gmail.com wrote: Amit, I don't know your library, but in my case the 403 was accompanied by the message Not authorized to use this endpoint and the solution was to update to http://api.twitter.com/1[etc.];. Bill Jacobson On 06/13/2011 05:39 AM, Amit Battan Ror wrote: any idea guys On Jun 10, 4:33 pm, Amit Battan Rorbatta...@gmail.comwrote: Hi All I am using Twitter-OAuth-iPhonehttps://github.com/bengottlieb/Twitter-OAuth-iPhone I am calling [twitterObj getFollowersIncludingCurrentStatus:NO] for getting my friend list which was working fine. But from last two days its giving me the 403 error. -- Twitter Request FD751461-39C4-4EAB-A0F7-D1ED262B19EA failed with error: Error Domain=HTTP Code=403 The operation couldn�t be completed. (HTTP error 403.) As twitter api wiki 403 is due to crossing the limit of updates and DM but here in getFollowersIncludingCurrentStatus Why this error occurring and even list is not comes next day giving same 403 error. Thanks Amit Battan -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Error 403 while getFollowers : Twitter Iphone MGTwitterEngine
Amit, also see http://www.mailinglistarchive.com/html/twitter-development-talk@googlegroups.com/2011-06/msg00256.html. That's what helped me. -Bill On 06/13/2011 10:44 AM, Bill Jacobson wrote: I'm suggesting that you find out what endpoint (Twitter URL) your app is targeting, and make sure that it matches what is currently documented. If it doesn't match, correct it. That's what worked for me. On 06/13/2011 08:05 AM, Amit Battan Ror wrote: I am not getting the solution. and my API was working fine beofre 2 3 days.. but not now.. all other API except getFollowersIncludingCurrentStatus working ok and return proper output On Jun 13, 5:53 pm, Bill Jacobsongabe...@gmail.com wrote: Amit, I don't know your library, but in my case the 403 was accompanied by the message Not authorized to use this endpoint and the solution was to update to http://api.twitter.com/1[etc.];. Bill Jacobson On 06/13/2011 05:39 AM, Amit Battan Ror wrote: any idea guys On Jun 10, 4:33 pm, Amit Battan Rorbatta...@gmail.comwrote: Hi All I am using Twitter-OAuth-iPhonehttps://github.com/bengottlieb/Twitter-OAuth-iPhone I am calling [twitterObj getFollowersIncludingCurrentStatus:NO] for getting my friend list which was working fine. But from last two days its giving me the 403 error. -- Twitter Request FD751461-39C4-4EAB-A0F7-D1ED262B19EA failed with error: Error Domain=HTTP Code=403 The operation couldn�t be completed. (HTTP error 403.) As twitter api wiki 403 is due to crossing the limit of updates and DM but here in getFollowersIncludingCurrentStatus Why this error occurring and even list is not comes next day giving same 403 error. Thanks Amit Battan -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: Having issues with twitter signin
I have the same problems. The request I made (keys and such deleted): wget https://userstream.twitter.com/2/user.json; --header Authorization: OAuth realm=Twitter API,oauth_consumer_key=,oauth_token=,oauth_nonce=,oauth_timestamp=1307967420,oauth_signature_method=HMAC- SHA1,oauth_version=1.0,oauth_signature= The result I got: --2011-06-13 19:10:18-- https://userstream.twitter.com/2/user.json Resolving userstream.twitter.com... 199.59.148.139 Connecting to userstream.twitter.com|199.59.148.139|:443... connected. HTTP request sent, awaiting response... 500 Internal Server Error 2011-06-13 19:10:18 ERROR 500: Internal Server Error. On Jun 13, 3:34 pm, Scott Wilcox sc...@dor.ky wrote: Sounds like an uncaught error. I'd contact a...@twitter.com with details of your request and the time it occurred. On 13 Jun 2011, at 09:11, GP wrote: Getting this error 500:Something is broken. Please post to the group (http://dev.twitter.com/pages/support) so the Twitter team can investigate. h2Something is technically wrong./h2 pThanks for noticing—we're going to fix it up and have things back to normal soon./p What action should I take here? -- Scott Wilcox @dordotky | sc...@dor.ky |http://dor.ky +44 (0) 7538 842418 | +1 (646) 827-0580 -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: assets2.twitter.com seems to be down
http://assets2.twitter.com/images/icon_lock.gif On Jun 11, 4:58 pm, Matt Harris thematthar...@twitter.com wrote: Hi, What file/resource are you trying to load from that domain? Best, @themattharris On Jun 11, 2011, at 9:23, kp pki...@gmail.com wrote: http://assets2.twitter.comseems to be down. Is this a transient issue or permanent change? If it is a transient issue, is there an ETA for the fix? -- Twitter developer documentation and resources:https://dev.twitter.com/doc API updates via Twitter:https://twitter.com/twitterapi Issues/Enhancements Tracker:https://code.google.com/p/twitter-api/issues/list Change your membership to this group:https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] illegal character in json feed
All browsers throw error illegal character in twitter jsonp feed http://jsfiddle.net/NBCGf/34/ Please advise, //mh -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] illegal character in json feed
Do you have more details about the specific illegal character(s) you're receiving? How frequently are you polling the API? Have you tried reproducing your scenario outside of a browser-based environment? @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Mon, Jun 13, 2011 at 11:55 AM, miramardesign miramardes...@gmail.comwrote: All browsers throw error illegal character in twitter jsonp feed http://jsfiddle.net/NBCGf/34/ Please advise, //mh -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] illegal character in json feed
Taylor(); I took a pic of firebug here: https://docs.google.com/leaf?id=0B1lcI5OlKM2xNDczZDdmYTMtMjFjZi00Y2E2LWE4MTMtM2YyM2I5ZTM4Njhlsort=namelayout=listnum=50 It is similar to this case (I believe the same chars) http://groups.google.com/group/twitter-development-talk/browse_thread/thread/7567404004266db5?pli=1 It is reproducible on the jsfiddle url if you look at the error console usually 10-20 iterations. http://jsfiddle.net/NBCGf/34/ (Note: I recently added window.onerror to get around it for now and continue loading feeds.) Thanks, //mh On Mon, Jun 13, 2011 at 3:13 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Do you have more details about the specific illegal character(s) you're receiving? How frequently are you polling the API? Have you tried reproducing your scenario outside of a browser-based environment? @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Mon, Jun 13, 2011 at 11:55 AM, miramardesign miramardes...@gmail.comwrote: All browsers throw error illegal character in twitter jsonp feed http://jsfiddle.net/NBCGf/34/ Please advise, //mh -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Thank You, Michael Hazzard (954) 247-4461 https://www.google.com/voice#phones -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] illegal character in json feed
Oh answers to #2 and #3 2) I am polling the jsonp api every second in this test but it will be changed for production to like 6 seconds and cached after all 30 feeds are loaded 3) No, I haven't tried outside the browser since this is strictly a jsonp feed and I chose jsonp over server-side xml but now regretting a bit. //mh On Mon, Jun 13, 2011 at 3:43 PM, michael hazzard miramardes...@gmail.comwrote: Taylor(); I took a pic of firebug here: https://docs.google.com/leaf?id=0B1lcI5OlKM2xNDczZDdmYTMtMjFjZi00Y2E2LWE4MTMtM2YyM2I5ZTM4Njhlsort=namelayout=listnum=50 It is similar to this case (I believe the same chars) http://groups.google.com/group/twitter-development-talk/browse_thread/thread/7567404004266db5?pli=1 It is reproducible on the jsfiddle url if you look at the error console usually 10-20 iterations. http://jsfiddle.net/NBCGf/34/ (Note: I recently added window.onerror to get around it for now and continue loading feeds.) Thanks, //mh On Mon, Jun 13, 2011 at 3:13 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Do you have more details about the specific illegal character(s) you're receiving? How frequently are you polling the API? Have you tried reproducing your scenario outside of a browser-based environment? @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Mon, Jun 13, 2011 at 11:55 AM, miramardesign miramardes...@gmail.comwrote: All browsers throw error illegal character in twitter jsonp feed http://jsfiddle.net/NBCGf/34/ Please advise, //mh -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Thank You, Michael Hazzard (954) 247-4461 https://www.google.com/voice#phones -- Thank You, Michael Hazzard (954) 247-4461 https://www.google.com/voice#phones -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Search all tweets by application
Hi there, I cannot find a way of retrieving all the tweets coming from a given application. For example, can I retrieve all the tweets posted using TweeDeck? Nothings comes up on the documentation or in google, any idea? Cheers! Juan -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] illegal character in json feed
It would be very helpful if you could provide a specific Tweet ID that is exhibiting this behavior -- the test case you're presenting is a bit artificial. Do you know if the environment you're doing this consumption is fully capable of understanding the UTF-8 character set? Tweets can contain just about any UTF-8 character and your parsing should be prepared for that. On a side note, executing a specific query against the Search API every six seconds isn't the most efficient use of the API. Have you considered increasing the time you wait to poll and using additional Search API feature like since_id? @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Mon, Jun 13, 2011 at 12:49 PM, michael hazzard miramardes...@gmail.comwrote: Oh answers to #2 and #3 2) I am polling the jsonp api every second in this test but it will be changed for production to like 6 seconds and cached after all 30 feeds are loaded 3) No, I haven't tried outside the browser since this is strictly a jsonp feed and I chose jsonp over server-side xml but now regretting a bit. //mh On Mon, Jun 13, 2011 at 3:43 PM, michael hazzard miramardes...@gmail.comwrote: Taylor(); I took a pic of firebug here: https://docs.google.com/leaf?id=0B1lcI5OlKM2xNDczZDdmYTMtMjFjZi00Y2E2LWE4MTMtM2YyM2I5ZTM4Njhlsort=namelayout=listnum=50 It is similar to this case (I believe the same chars) http://groups.google.com/group/twitter-development-talk/browse_thread/thread/7567404004266db5?pli=1 It is reproducible on the jsfiddle url if you look at the error console usually 10-20 iterations. http://jsfiddle.net/NBCGf/34/ (Note: I recently added window.onerror to get around it for now and continue loading feeds.) Thanks, //mh On Mon, Jun 13, 2011 at 3:13 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Do you have more details about the specific illegal character(s) you're receiving? How frequently are you polling the API? Have you tried reproducing your scenario outside of a browser-based environment? @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Mon, Jun 13, 2011 at 11:55 AM, miramardesign miramardes...@gmail.com wrote: All browsers throw error illegal character in twitter jsonp feed http://jsfiddle.net/NBCGf/34/ Please advise, //mh -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Thank You, Michael Hazzard (954) 247-4461 https://www.google.com/voice#phones -- Thank You, Michael Hazzard (954) 247-4461 https://www.google.com/voice#phones -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Search all tweets by application
Hi Juan, There's no way to effectively retrieve all tweets sent by a given application using primary methods of any of our APIs. The Search API has some advanced operators that allow you to specify a specific tweet source (effectively the string of text that represents the application that posted the Tweet), but that operator must be used in conjunction with another portion of your query. One could also use the Streaming API to estimate a specific client's tweeting velocity by measuring from the sample hose (which represents 1% of the total tweets being posted) and extrapolate from there, but in the case of measuring a Twitter client's popularity this would not be super-effective since tweeting is just one activity that a client can perform. Is there something with that information you're specifically wanting to accomplish? @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Mon, Jun 13, 2011 at 2:12 PM, Juan Delgado zzzar...@gmail.com wrote: Hi there, I cannot find a way of retrieving all the tweets coming from a given application. For example, can I retrieve all the tweets posted using TweeDeck? Nothings comes up on the documentation or in google, any idea? Cheers! Juan -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] illegal character in json feed
Taylor, Firefox 4.01 on Windows Server 2003 and IE8 on Windows Server 2003 (I believe they are both fully utf-8 compatible) (using jQuery 1.3.2 js library, I would upgrade but I am stuck at it w/ other dependencies ) Can you not reproduce the error on the jsFiddlehttp://jsfiddle.net/NBCGf/34/? (I will test on my ubuntu laptop when I get home) As for the tweetid/url it is happening on multiple but I have http://search.twitter.com/search.json?q=from:LansdowneResortrpp=1callback=? http://search.twitter.com/search.json?q=from:LansdowneResortrpp=1callback=?%20 hard-coded in the jsfiddle example and its showing error after a couple iterations. In any event, if you cannot, I am fine w/ the window.onerror error handling I have implemented and have it working in both browsers now and have implemented dom caching so as not to make too many requests. Update: I just tested in chrome and it threw search.json:1http://search.twitter.com/search.json?q=from:TrumpSoHorpp=1callback=jsonp1308002393614_=1308002425423Uncaught SyntaxError: Unexpected token ILLEGAL http://search.twitter.com/search.json?q=from:TrumpSoHorpp=1callback=jsonp1308002393614_=1308002425423 So I imagine maybe it is an OS/charset thing. Thanks //mh On Mon, Jun 13, 2011 at 5:20 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: It would be very helpful if you could provide a specific Tweet ID that is exhibiting this behavior -- the test case you're presenting is a bit artificial. Do you know if the environment you're doing this consumption is fully capable of understanding the UTF-8 character set? Tweets can contain just about any UTF-8 character and your parsing should be prepared for that. On a side note, executing a specific query against the Search API every six seconds isn't the most efficient use of the API. Have you considered increasing the time you wait to poll and using additional Search API feature like since_id? @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Mon, Jun 13, 2011 at 12:49 PM, michael hazzard miramardes...@gmail.com wrote: Oh answers to #2 and #3 2) I am polling the jsonp api every second in this test but it will be changed for production to like 6 seconds and cached after all 30 feeds are loaded 3) No, I haven't tried outside the browser since this is strictly a jsonp feed and I chose jsonp over server-side xml but now regretting a bit. //mh On Mon, Jun 13, 2011 at 3:43 PM, michael hazzard miramardes...@gmail.com wrote: Taylor(); I took a pic of firebug here: https://docs.google.com/leaf?id=0B1lcI5OlKM2xNDczZDdmYTMtMjFjZi00Y2E2LWE4MTMtM2YyM2I5ZTM4Njhlsort=namelayout=listnum=50 It is similar to this case (I believe the same chars) http://groups.google.com/group/twitter-development-talk/browse_thread/thread/7567404004266db5?pli=1 It is reproducible on the jsfiddle url if you look at the error console usually 10-20 iterations. http://jsfiddle.net/NBCGf/34/ (Note: I recently added window.onerror to get around it for now and continue loading feeds.) Thanks, //mh On Mon, Jun 13, 2011 at 3:13 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Do you have more details about the specific illegal character(s) you're receiving? How frequently are you polling the API? Have you tried reproducing your scenario outside of a browser-based environment? @episod http://twitter.com/intent/user?screen_name=episod - Taylor Singletary On Mon, Jun 13, 2011 at 11:55 AM, miramardesign miramardes...@gmail.com wrote: All browsers throw error illegal character in twitter jsonp feed http://jsfiddle.net/NBCGf/34/ Please advise, //mh -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Thank You, Michael Hazzard (954) 247-4461 https://www.google.com/voice#phones -- Thank You, Michael Hazzard (954) 247-4461 https://www.google.com/voice#phones -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi
[twitter-dev] A few updates about the permission model change
Hey everyone, A number of updates were made to the Direct Message methods and OAuth screens at the end of last week. Here's what went out: * force_login is now supported on https://api.twitter.com/oauth/authorize * the OAuth screens now support a feature phone tier of handsets and render them in a simpler format * the language on all the screens is standardized to say direct message * there is a Return to App URL on the Deny and Cancel screens that redirects the user to the oauth_callback url with a 'denied' parameter instead of oauth_token. This next parameter isn't needed by everybody but we will be adding screen_name support to the authorize and authenticate pages in the next few days. If you want to add this to your code ready for when we release the feature you can, but please know the screen_name parameter will be ignored unless you also provide the force_login parameter. The screen_name parameter pre-fills the username field of the OAuth screen when force_login is true. The user is still able to edit the field, even if it is prefilled. Lastly, these are the main points discussed in previous emails and Tweets: * The new permission level will be enforced on 30th June. * If you don't need to read or delete direct messages you do not need to update the permission level of your application. * Read/Write applications will still be able to send direct messages, even after the enforcement date. * Existing oauth_tokens will not be invalidated, even if the application permission level is altered. * You can find out the current permission level of an oauth_token by inspecting the headers of an authenticated request to the API. Look for the X-Access-Level header. Best, @themattharris https://twitter.com/intent/follow?screen_name=themattharris Developer Advocate, Twitter -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] how to find automatic vs. manual retweets in a Twitter API?
I want to know how Twitter or Twitter APIs such as Power Track tags auto retweets from manual retweets. I have a Twitter data stream and need to know which tweets have been retweeted manually and which ones are automatic retweets. Any thoughts? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Could not retrieve /statuses/friends.xml: 403 Forbidden
I'm currently using an application for mIRC named BitlBee (bitblee.org). With it you can see tweets from those you are following and send tweets out. When you add your account it gives you an OAuth token and an OAuth token. When the link is clicked it gives you a link to a page where there is a pin number. This all went fine, but about a week ago when I tried to sign in it give me: Login error: Could not retrieve /statuses/friends.xml: 403 Forbidden Anyone know what might be causing this and possibly have a solution? Note that I am not a developer for BitlBee, just a user. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Could not retrieve /statuses/friends.xml: 403 Forbidden
/statuses/friends.xml API has deprecated by Twitter.So you did not get these details. For getting friends details you can use a combination of friends.ids and user/lookup. Regards, George On Tue, Jun 14, 2011 at 8:34 AM, cadetandrew homerthi...@gmail.com wrote: I'm currently using an application for mIRC named BitlBee (bitblee.org). With it you can see tweets from those you are following and send tweets out. When you add your account it gives you an OAuth token and an OAuth token. When the link is clicked it gives you a link to a page where there is a pin number. This all went fine, but about a week ago when I tried to sign in it give me: Login error: Could not retrieve /statuses/friends.xml: 403 Forbidden Anyone know what might be causing this and possibly have a solution? Note that I am not a developer for BitlBee, just a user. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: Error 403 while getFollowers : Twitter Iphone MGTwitterEngine
Thanks Bill I will check and try to track URL .. On Jun 13, 9:07 pm, Bill Jacobson gabe...@gmail.com wrote: Amit, also seehttp://www.mailinglistarchive.com/html/twitter-development-talk@googl That's what helped me. -Bill On 06/13/2011 10:44 AM, Bill Jacobson wrote: I'm suggesting that you find out what endpoint (Twitter URL) your app is targeting, and make sure that it matches what is currently documented. If it doesn't match, correct it. That's what worked for me. On 06/13/2011 08:05 AM, Amit Battan Ror wrote: I am not getting the solution. and my API was working fine beofre 2 3 days.. but not now.. all other API except getFollowersIncludingCurrentStatus working ok and return proper output On Jun 13, 5:53 pm, Bill Jacobsongabe...@gmail.com wrote: Amit, I don't know your library, but in my case the 403 was accompanied by the message Not authorized to use this endpoint and the solution was to update to http://api.twitter.com/1[etc.];. Bill Jacobson On 06/13/2011 05:39 AM, Amit Battan Ror wrote: any idea guys On Jun 10, 4:33 pm, Amit Battan Rorbatta...@gmail.com wrote: Hi All I am using Twitter-OAuth-iPhonehttps://github.com/bengottlieb/Twitter-OAuth-iPhone I am calling [twitterObj getFollowersIncludingCurrentStatus:NO] for getting my friend list which was working fine. But from last two days its giving me the 403 error. -- Twitter Request FD751461-39C4-4EAB-A0F7-D1ED262B19EA failed with error: Error Domain=HTTP Code=403 The operation couldn t be completed. (HTTP error 403.) As twitter api wiki 403 is due to crossing the limit of updates and DM but here in getFollowersIncludingCurrentStatus Why this error occurring and even list is not comes next day giving same 403 error. Thanks Amit Battan -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: Error 403 while getFollowers : Twitter Iphone MGTwitterEngine
Bill Working fine : https://twitter.com/statuses/friends_timeline.xml Not Working Giving 403 Error : https://twitter.com/statuses/followers.xml On Jun 14, 10:14 am, Amit Battan Ror batta...@gmail.com wrote: Thanks Bill I will check and try to track URL .. On Jun 13, 9:07 pm, Bill Jacobson gabe...@gmail.com wrote: Amit, also seehttp://www.mailinglistarchive.com/html/twitter-development-talk@googl That's what helped me. -Bill On 06/13/2011 10:44 AM, Bill Jacobson wrote: I'm suggesting that you find out what endpoint (Twitter URL) your app is targeting, and make sure that it matches what is currently documented. If it doesn't match, correct it. That's what worked for me. On 06/13/2011 08:05 AM, Amit Battan Ror wrote: I am not getting the solution. and my API was working fine beofre 2 3 days.. but not now.. all other API except getFollowersIncludingCurrentStatus working ok and return proper output On Jun 13, 5:53 pm, Bill Jacobsongabe...@gmail.com wrote: Amit, I don't know your library, but in my case the 403 was accompanied by the message Not authorized to use this endpoint and the solution was to update to http://api.twitter.com/1[etc.];. Bill Jacobson On 06/13/2011 05:39 AM, Amit Battan Ror wrote: any idea guys On Jun 10, 4:33 pm, Amit Battan Rorbatta...@gmail.com wrote: Hi All I am using Twitter-OAuth-iPhonehttps://github.com/bengottlieb/Twitter-OAuth-iPhone I am calling [twitterObj getFollowersIncludingCurrentStatus:NO] for getting my friend list which was working fine. But from last two days its giving me the 403 error. -- Twitter Request FD751461-39C4-4EAB-A0F7-D1ED262B19EA failed with error: Error Domain=HTTP Code=403 The operation couldn t be completed. (HTTP error 403.) As twitter api wiki 403 is due to crossing the limit of updates and DM but here in getFollowersIncludingCurrentStatus Why this error occurring and even list is not comes next day giving same 403 error. Thanks Amit Battan -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] how save twitter login?
I developing Desktop App and use OAuth, how save acc data for logining users without password every time? Thx. -- С уважением, Буньков Максим. bim...@gmail.com -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk