[twitter-dev] Re: friends_timeline and following
I vote (or the word that you use) for this issue. I attach a png with two samples On 3 abr, 17:48, Martin Dufort martin.duf...@gmail.com wrote: Done. Registered ashttp://code.google.com/p/twitter-api/issues/detail?id=419. Thanks - Martin On Apr 3, 4:46 pm, Doug Williams d...@twitter.com wrote: Sounds like a bug. Can you file an issue [1]? http://code.google.com/p/twitter-api/issues/entry Doug Williams Twitter API Supporthttp://twitter.com/dougw On Fri, Apr 3, 2009 at 1:02 PM, Martin Dufort martin.duf...@gmail.com wrote: I'm seeing the same thing on my side. In the JSON api, i'm even seeing inconsistent behavior such as: following = 0; following = null; with the same request. And people following me are somewtimes marked as: following = 0; On Apr 3, 2:54 pm, Doug Williams d...@twitter.com wrote: I vaguely remember something, too, but my queries through the archives and issues list were fruitless. If this is replicatable, then we should open an issue. I'd be curious if it's still an issue once the big-users-everywhere change from April 1 propagates fully. @SuNcO: can you confirm you can recreate this at will? If so, can you open a new issue? Thanks, Doug Williams Twitter API Supporthttp://twitter.com/dougw On Fri, Apr 3, 2009 at 11:50 AM, Chad Etzel jazzyc...@gmail.com wrote: I could swear that this topic has been discussed recently and that there was an issue for it, but I'm not finding anything... google is not so good at searching code snippets. -chad On Fri, Apr 3, 2009 at 2:46 PM, Abraham Williams 4bra...@gmail.com wrote: Do so searches on the issue tracker and if you don't find anything open an issue:http://code.google.com/p/twitter-api/issues/list On Fri, Apr 3, 2009 at 12:59, SuNcO sunco...@hotmail.com wrote: Nop, is not new. When that happend yesterday, i check via web and i appear on his following list (and he on my following list, else how can i see that update) Going to check now again (at night) On 3 abr, 00:20, Abraham Williams 4bra...@gmail.com wrote: Is it a user you recently started following? I may be a caching issue and the real value has not propagated yet. On Fri, Apr 3, 2009 at 01:19, SuNcO sunco...@hotmail.com wrote: Post before but after 30 minutes i can't see the msg, so i post again --- Im new on developing a twitter app. The first thing that i use is : http://twitter.com/statuses/friends_timeline.xml It returns me 20 msgs in xml format One of those msgs have followingfalse/following But.. i follow that user and that user is following me. What happend ? -- Abraham Williams | Hacker |http://abrah.am @poseurtech |http://the.hackerconundrum.com Web608 | Community Evangelist |http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States -- Abraham Williams | Hacker |http://abrah.am @poseurtech |http://the.hackerconundrum.com Web608 | Community Evangelist |http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from New York, NY, United States- Ocultar texto de la cita - - Mostrar texto de la cita -
[twitter-dev] Re: Search queries not working
Are you using the .atom or .json API feed? I am only familiar with the .json feed. -Chad On Sat, Apr 4, 2009 at 2:01 AM, Basha Shaik basha.neteli...@gmail.com wrote: Hi Chad, how can we use next_page in the url we request. where can we get the url we need to pass. Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Fri, Apr 3, 2009 at 7:14 PM, Chad Etzel jazzyc...@gmail.com wrote: I'm not sure of these next_url and prev_url fields (never seen them anywhere), but at least in the json data there is a next_page field which uses ?page=_max_id=__ already prefilled for you. This should definitely avoid the duplicate tweet issue. I've never had to do any client-side duplicate filtering when using the correct combination of page,max_id, and rpp values... If you give very specific examples (the actual URL data would be handy) where you are seeing duplicates between pages, we can probably help sort this out. -Chad On Fri, Apr 3, 2009 at 2:57 PM, Doug Williams d...@twitter.com wrote: The use of prev_url and next_url will take care of step 1 from your flow described above. Specifically, next_url will give your application the URI to contact to get the next page of results. Combining max_id and next_url usage will not solve the duplicate problem. To overcome that issue, you will have to simply strip the duplicate tweets on the client-side. Thanks, Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Apr 2, 2009 at 11:09 PM, Basha Shaik basha.neteli...@gmail.com wrote: HI, Can you give me an example how i can use prev_url and next_url with max_id. No I am following below process to search 1. Set rpp=100 and retrieve 15 pages search results by incrementing the param 'page' 2. Get the id of the last status on page 15 and set that as the max_id for the next query 3. If we have more results, go to step 1 here i got duplicate. 100th record in page 1 was same as 1st record in page 2. I understood the reason why i got the duplicates from matts previous mail. Will this problem solve if i use max_id with prev_url and next_url? How can the duplicate problem be solved Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Fri, Apr 3, 2009 at 5:59 AM, Doug Williams d...@twitter.com wrote: Basha, Pagination is defined well here [1]. The next_url and prev_url fields give your client HTTP URIs to move forward and backward through the result set. You can use them to page through search results. I have some work to do on the search docs and I'll add field definitions then as well. 1. http://en.wikipedia.org/wiki/Pagination_(web) Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Apr 2, 2009 at 10:03 PM, Basha Shaik basha.neteli...@gmail.com wrote: Hi matt, Thank You What is Pagination? Does it mean that I cannot use max_id for searching tweets. What does next_url and prev_url fields mean. I did not find next_url and prev_url in documentation. how can these two urls be used with max_id. Please explain with example if possible. Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Wed, Apr 1, 2009 at 4:23 PM, Matt Sanford m...@twitter.com wrote: Hi Basha, The max_id is only intended to be used for pagination via the next_url and prev_url fields and is known not to work with since_id. It is not documented as a valid parameter because it's known to only work in the case it was designed for. We added the max_id to prevent the problem where you click on 'Next' and page two starts with duplicates. Here's the scenario: 1. Let's say you search for 'foo'. 2. You wait 10 seconds, during which 5 people send tweets containing 'foo'. 3. You click next and go to page=2 (or call page=2 via the API) 3.a. If we displayed results 21-40 the first 5 results would look like duplicates because they were pushed down by the 5 new entries. 3.b. If we append a max_id from the time you searched we can do and offset from the maximum and the new 5 entries are skipped. We use option 3.b. (as does twitter.com now) so you don't see duplicates. Since we wanted to provide the same data in the API as the UI we added the next_url and prev_url members in our output. Thanks; — Matt Sanford On Mar 31, 2009, at 08:42 PM, Basha Shaik wrote: HI Matt, when Since_id and Max_id are given together, max_id is not working. This query is ignoring max_id. But with only since _id its working fine. Is there any problem when max_id and since_id are used together. Also please tell me what does max_id exactly mean and also what does it return when we send a request. Also tell me what the total returns.
[twitter-dev] Re: Search queries not working
I am using json Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Sat, Apr 4, 2009 at 6:07 AM, Chad Etzel jazzyc...@gmail.com wrote: Are you using the .atom or .json API feed? I am only familiar with the .json feed. -Chad On Sat, Apr 4, 2009 at 2:01 AM, Basha Shaik basha.neteli...@gmail.com wrote: Hi Chad, how can we use next_page in the url we request. where can we get the url we need to pass. Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Fri, Apr 3, 2009 at 7:14 PM, Chad Etzel jazzyc...@gmail.com wrote: I'm not sure of these next_url and prev_url fields (never seen them anywhere), but at least in the json data there is a next_page field which uses ?page=_max_id=__ already prefilled for you. This should definitely avoid the duplicate tweet issue. I've never had to do any client-side duplicate filtering when using the correct combination of page,max_id, and rpp values... If you give very specific examples (the actual URL data would be handy) where you are seeing duplicates between pages, we can probably help sort this out. -Chad On Fri, Apr 3, 2009 at 2:57 PM, Doug Williams d...@twitter.com wrote: The use of prev_url and next_url will take care of step 1 from your flow described above. Specifically, next_url will give your application the URI to contact to get the next page of results. Combining max_id and next_url usage will not solve the duplicate problem. To overcome that issue, you will have to simply strip the duplicate tweets on the client-side. Thanks, Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Apr 2, 2009 at 11:09 PM, Basha Shaik basha.neteli...@gmail.com wrote: HI, Can you give me an example how i can use prev_url and next_url with max_id. No I am following below process to search 1. Set rpp=100 and retrieve 15 pages search results by incrementing the param 'page' 2. Get the id of the last status on page 15 and set that as the max_id for the next query 3. If we have more results, go to step 1 here i got duplicate. 100th record in page 1 was same as 1st record in page 2. I understood the reason why i got the duplicates from matts previous mail. Will this problem solve if i use max_id with prev_url and next_url? How can the duplicate problem be solved Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Fri, Apr 3, 2009 at 5:59 AM, Doug Williams d...@twitter.com wrote: Basha, Pagination is defined well here [1]. The next_url and prev_url fields give your client HTTP URIs to move forward and backward through the result set. You can use them to page through search results. I have some work to do on the search docs and I'll add field definitions then as well. 1. http://en.wikipedia.org/wiki/Pagination_(web)http://en.wikipedia.org/wiki/Pagination_%28web%29 Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Apr 2, 2009 at 10:03 PM, Basha Shaik basha.neteli...@gmail.com wrote: Hi matt, Thank You What is Pagination? Does it mean that I cannot use max_id for searching tweets. What does next_url and prev_url fields mean. I did not find next_url and prev_url in documentation. how can these two urls be used with max_id. Please explain with example if possible. Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Wed, Apr 1, 2009 at 4:23 PM, Matt Sanford m...@twitter.com wrote: Hi Basha, The max_id is only intended to be used for pagination via the next_url and prev_url fields and is known not to work with since_id. It is not documented as a valid parameter because it's known to only work in the case it was designed for. We added the max_id to prevent the problem where you click on 'Next' and page two starts with duplicates. Here's the scenario: 1. Let's say you search for 'foo'. 2. You wait 10 seconds, during which 5 people send tweets containing 'foo'. 3. You click next and go to page=2 (or call page=2 via the API) 3.a. If we displayed results 21-40 the first 5 results would look like duplicates because they were pushed down by the 5 new entries. 3.b. If we append a max_id from the time you searched we can do and offset from the maximum and the new 5 entries are skipped. We use option 3.b. (as does twitter.com now) so you don't see duplicates. Since we wanted to provide the same data in the API as the UI we added the next_url and prev_url members in our output. Thanks; — Matt Sanford On Mar 31, 2009, at 08:42 PM, Basha Shaik wrote: HI Matt,
[twitter-dev] Re: Search queries not working
Assuming you get the json data somehow and store it in a variable called jdata, you can construct the next page url thus: var next_page_url = http://search.twitter.com/; + jdata.next_page; -Chad On Sat, Apr 4, 2009 at 2:11 AM, Basha Shaik basha.neteli...@gmail.com wrote: I am using json Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Sat, Apr 4, 2009 at 6:07 AM, Chad Etzel jazzyc...@gmail.com wrote: Are you using the .atom or .json API feed? I am only familiar with the .json feed. -Chad On Sat, Apr 4, 2009 at 2:01 AM, Basha Shaik basha.neteli...@gmail.com wrote: Hi Chad, how can we use next_page in the url we request. where can we get the url we need to pass. Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Fri, Apr 3, 2009 at 7:14 PM, Chad Etzel jazzyc...@gmail.com wrote: I'm not sure of these next_url and prev_url fields (never seen them anywhere), but at least in the json data there is a next_page field which uses ?page=_max_id=__ already prefilled for you. This should definitely avoid the duplicate tweet issue. I've never had to do any client-side duplicate filtering when using the correct combination of page,max_id, and rpp values... If you give very specific examples (the actual URL data would be handy) where you are seeing duplicates between pages, we can probably help sort this out. -Chad On Fri, Apr 3, 2009 at 2:57 PM, Doug Williams d...@twitter.com wrote: The use of prev_url and next_url will take care of step 1 from your flow described above. Specifically, next_url will give your application the URI to contact to get the next page of results. Combining max_id and next_url usage will not solve the duplicate problem. To overcome that issue, you will have to simply strip the duplicate tweets on the client-side. Thanks, Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Apr 2, 2009 at 11:09 PM, Basha Shaik basha.neteli...@gmail.com wrote: HI, Can you give me an example how i can use prev_url and next_url with max_id. No I am following below process to search 1. Set rpp=100 and retrieve 15 pages search results by incrementing the param 'page' 2. Get the id of the last status on page 15 and set that as the max_id for the next query 3. If we have more results, go to step 1 here i got duplicate. 100th record in page 1 was same as 1st record in page 2. I understood the reason why i got the duplicates from matts previous mail. Will this problem solve if i use max_id with prev_url and next_url? How can the duplicate problem be solved Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Fri, Apr 3, 2009 at 5:59 AM, Doug Williams d...@twitter.com wrote: Basha, Pagination is defined well here [1]. The next_url and prev_url fields give your client HTTP URIs to move forward and backward through the result set. You can use them to page through search results. I have some work to do on the search docs and I'll add field definitions then as well. 1. http://en.wikipedia.org/wiki/Pagination_(web) Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Apr 2, 2009 at 10:03 PM, Basha Shaik basha.neteli...@gmail.com wrote: Hi matt, Thank You What is Pagination? Does it mean that I cannot use max_id for searching tweets. What does next_url and prev_url fields mean. I did not find next_url and prev_url in documentation. how can these two urls be used with max_id. Please explain with example if possible. Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Wed, Apr 1, 2009 at 4:23 PM, Matt Sanford m...@twitter.com wrote: Hi Basha, The max_id is only intended to be used for pagination via the next_url and prev_url fields and is known not to work with since_id. It is not documented as a valid parameter because it's known to only work in the case it was designed for. We added the max_id to prevent the problem where you click on 'Next' and page two starts with duplicates. Here's the scenario: 1. Let's say you search for 'foo'. 2. You wait 10 seconds, during which 5 people send tweets containing 'foo'. 3. You click next and go to page=2 (or call page=2 via the API) 3.a. If we displayed results 21-40 the first 5 results would look like duplicates because they were pushed down by the 5 new entries. 3.b. If we append a max_id from the time you searched we can do and offset from the maximum and the new 5 entries are skipped. We use option 3.b. (as does twitter.com now) so you don't
[twitter-dev] Re: Search queries not working
Hi Doug, you said we can use next_url and prev URL. I tried to get next_url. the response is saying that there is no field called next_url. Should i pass next _url in the request with max_id? if so how can i know what next_url is? Can u give an clear example how to use prev_url and next_url Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Fri, Apr 3, 2009 at 6:57 PM, Doug Williams d...@twitter.com wrote: The use of prev_url and next_url will take care of step 1 from your flow described above. Specifically, next_url will give your application the URI to contact to get the next page of results. Combining max_id and next_url usage will not solve the duplicate problem. To overcome that issue, you will have to simply strip the duplicate tweets on the client-side. Thanks, Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Apr 2, 2009 at 11:09 PM, Basha Shaik basha.neteli...@gmail.com wrote: HI, Can you give me an example how i can use prev_url and next_url with max_id. No I am following below process to search 1. Set rpp=100 and retrieve 15 pages search results by incrementing the param 'page' 2. Get the id of the last status on page 15 and set that as the max_id for the next query 3. If we have more results, go to step 1 here i got duplicate. 100th record in page 1 was same as 1st record in page 2. I understood the reason why i got the duplicates from matts previous mail. Will this problem solve if i use max_id with prev_url and next_url? How can the duplicate problem be solved Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Fri, Apr 3, 2009 at 5:59 AM, Doug Williams d...@twitter.com wrote: Basha, Pagination is defined well here [1]. The next_url and prev_url fields give your client HTTP URIs to move forward and backward through the result set. You can use them to page through search results. I have some work to do on the search docs and I'll add field definitions then as well. 1. http://en.wikipedia.org/wiki/Pagination_(web)http://en.wikipedia.org/wiki/Pagination_%28web%29 Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Apr 2, 2009 at 10:03 PM, Basha Shaik basha.neteli...@gmail.com wrote: Hi matt, Thank You What is Pagination? Does it mean that I cannot use max_id for searching tweets. What does next_url and prev_url fields mean. I did not find next_url and prev_url in documentation. how can these two urls be used with max_id. Please explain with example if possible. Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Wed, Apr 1, 2009 at 4:23 PM, Matt Sanford m...@twitter.com wrote: Hi Basha, The max_id is only intended to be used for pagination via the next_url and prev_url fields and is known not to work with since_id. It is not documented as a valid parameter because it's known to only work in the case it was designed for. We added the max_id to prevent the problem where you click on 'Next' and page two starts with duplicates. Here's the scenario: 1. Let's say you search for 'foo'. 2. You wait 10 seconds, during which 5 people send tweets containing 'foo'. 3. You click next and go to page=2 (or call page=2 via the API) 3.a. If we displayed results 21-40 the first 5 results would look like duplicates because they were pushed down by the 5 new entries. 3.b. If we append a max_id from the time you searched we can do and offset from the maximum and the new 5 entries are skipped. We use option 3.b. (as does twitter.com now) so you don't see duplicates. Since we wanted to provide the same data in the API as the UI we added the next_url and prev_url members in our output. Thanks; — Matt Sanford On Mar 31, 2009, at 08:42 PM, Basha Shaik wrote: HI Matt, when Since_id and Max_id are given together, max_id is not working. This query is ignoring max_id. But with only since _id its working fine. Is there any problem when max_id and since_id are used together. Also please tell me what does max_id exactly mean and also what does it return when we send a request. Also tell me what the total returns. Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Tue, Mar 31, 2009 at 3:22 PM, Matt Sanford m...@twitter.com wrote: Hi there, Can you provide an example URL where since_id isn't working so I can try and reproduce the issue? As for language, the language identifier is not a 100% and sometimes makes mistakes. Hopefully not too many mistakes but it definitely does. Thanks; — Matt Sanford / @mzsanford On Mar 31, 2009, at 08:14 AM, codepuke wrote: Hi all; I see a few people complaining about
[twitter-dev] Re: Search queries not working
Hi Chad, how can we store all json data in a variable jdata. Can you tell me how to do that? I am using java for jason processing Which technology are you using? Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Sat, Apr 4, 2009 at 6:23 AM, Chad Etzel jazzyc...@gmail.com wrote: Sorry, typo previously: var next_page_url = http://search.twitter.com/search.json; + jdata.next_page; On Sat, Apr 4, 2009 at 2:18 AM, Chad Etzel jazzyc...@gmail.com wrote: Assuming you get the json data somehow and store it in a variable called jdata, you can construct the next page url thus: var next_page_url = http://search.twitter.com/; + jdata.next_page; -Chad On Sat, Apr 4, 2009 at 2:11 AM, Basha Shaik basha.neteli...@gmail.com wrote: I am using json Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Sat, Apr 4, 2009 at 6:07 AM, Chad Etzel jazzyc...@gmail.com wrote: Are you using the .atom or .json API feed? I am only familiar with the .json feed. -Chad On Sat, Apr 4, 2009 at 2:01 AM, Basha Shaik basha.neteli...@gmail.com wrote: Hi Chad, how can we use next_page in the url we request. where can we get the url we need to pass. Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Fri, Apr 3, 2009 at 7:14 PM, Chad Etzel jazzyc...@gmail.com wrote: I'm not sure of these next_url and prev_url fields (never seen them anywhere), but at least in the json data there is a next_page field which uses ?page=_max_id=__ already prefilled for you. This should definitely avoid the duplicate tweet issue. I've never had to do any client-side duplicate filtering when using the correct combination of page,max_id, and rpp values... If you give very specific examples (the actual URL data would be handy) where you are seeing duplicates between pages, we can probably help sort this out. -Chad On Fri, Apr 3, 2009 at 2:57 PM, Doug Williams d...@twitter.com wrote: The use of prev_url and next_url will take care of step 1 from your flow described above. Specifically, next_url will give your application the URI to contact to get the next page of results. Combining max_id and next_url usage will not solve the duplicate problem. To overcome that issue, you will have to simply strip the duplicate tweets on the client-side. Thanks, Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Apr 2, 2009 at 11:09 PM, Basha Shaik basha.neteli...@gmail.com wrote: HI, Can you give me an example how i can use prev_url and next_url with max_id. No I am following below process to search 1. Set rpp=100 and retrieve 15 pages search results by incrementing the param 'page' 2. Get the id of the last status on page 15 and set that as the max_id for the next query 3. If we have more results, go to step 1 here i got duplicate. 100th record in page 1 was same as 1st record in page 2. I understood the reason why i got the duplicates from matts previous mail. Will this problem solve if i use max_id with prev_url and next_url? How can the duplicate problem be solved Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Fri, Apr 3, 2009 at 5:59 AM, Doug Williams d...@twitter.com wrote: Basha, Pagination is defined well here [1]. The next_url and prev_url fields give your client HTTP URIs to move forward and backward through the result set. You can use them to page through search results. I have some work to do on the search docs and I'll add field definitions then as well. 1. http://en.wikipedia.org/wiki/Pagination_(web)http://en.wikipedia.org/wiki/Pagination_%28web%29 Doug Williams Twitter API Support http://twitter.com/dougw On Thu, Apr 2, 2009 at 10:03 PM, Basha Shaik basha.neteli...@gmail.com wrote: Hi matt, Thank You What is Pagination? Does it mean that I cannot use max_id for searching tweets. What does next_url and prev_url fields mean. I did not find next_url and prev_url in documentation. how can these two urls be used with max_id. Please explain with example if possible. Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Wed, Apr 1, 2009 at 4:23 PM, Matt Sanford m...@twitter.com wrote: Hi Basha, The max_id is only intended to be used for pagination via the next_url and prev_url fields and is known not to work with since_id. It is not documented as a valid parameter because it's known to only work in the case
[twitter-dev] Re: Search queries not working
I have not used java in a long time, but there should be a next_page key in the map you create from the json response. Here is an example json response with rpp=1 for hello: {results:[{text:hello,to_user_id:null,from_user:fsas1975,id:1450457219,from_user_id:6788389,source:lt;a href=quot;http:\/\/twitter.com\/quot;gt;weblt;\/agt;,profile_image_url:http:\/\/s3.amazonaws.com\/twitter_production\/profile_images\/117699880\/514HjlKzd1L__AA280__normal.jpg,created_at:Sat, 04 Apr 2009 06:59:57 +}],since_id:0,max_id:1450457219,refresh_url:?since_id=1450457219q=hello,results_per_page:1,next_page:?page=2max_id=1450457219rpp=1q=hello,completed_in:0.013591,page:1,query:hello} The part you are interested in is this: next_page:?page=2max_id=1450457219rpp=1q=hello you can construct the next page url by appending this value to: http://search.twitter.com/search.json; -Chad On Sat, Apr 4, 2009 at 2:55 AM, Basha Shaik basha.neteli...@gmail.com wrote: Hi i am using java. We parse the json response. and store the value as key - value pairs in a Map. In the reponse no wahere i found next_url or next_page. Can you tell me how we can store all json data in a variable. Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work
[twitter-dev] Re: Search queries not working
Hi chad, Thank you. I was trying for a query which has only 55 tweets and i have kept 100 as rpp . so i was not getting next_page. when i decreased rpp to 20 and tried i got now. thank you very much. i Will check if any Duplicates occur with these and let you know. Regards, Mahaboob Basha Shaik www.netelixir.com Making Search Work On Sat, Apr 4, 2009 at 7:06 AM, Chad Etzel jazzyc...@gmail.com wrote: next_page
[twitter-dev] Incredible shrinking date window
During the last month, the available time window for searching has been shrinking by days at a time. Currently, I cannot retrieve any Tweets from earlier than Feb 27. By the end of the day, this window will be less than a month. I am making some decisions about a project and am wondering if Twitter plans to address this issue (which I assume is due to an upper bound on the # of tweets stored and available for searching). With more and more users joining and tweeting, this search window will only continue to shrink. I imagine that in two weeks, at this pace, we won't be able to search beyond a week into the past. Perhaps there is a workaround or a fix in the works. Anyone know?
[twitter-dev] Re: Twitter didn't tinyurl my tweets tonight
Chad Etzel wrote: Whether tinyurl is the best service to use for this purpose is arguable, and probably off-topic for this thread, but it does save a lot of characters. -Chad I've never thought of not shortening URLs myself but bit.ly gives a slightly shorter link than tinyurl and sometimes that matters.
[twitter-dev] Following/ Friend count inconsistencies
online-- follows 554 people http://twitter.com/rssfriends/friends (and growing) XML-- has 508 friends: http://twitter.com/users/show/rssfriends.xml JSON-- 501 friends: http://twitter.com/users/show/rssfriends.json
[twitter-dev] Re: exectweets.com twitter API
Thanks for your reply Doug. it will be in html/css/javascript. I'm not looking for a widget. Like exectweets.com I would like to allow users to tweet from my site. Twitter Username: Twitter Password: Remember Me Text input @worldwildweb I have spent quite some time looking on google for a good tutorial but I haven't found anything interesting. On Apr 3, 8:59 pm, Doug Williams d...@twitter.com wrote: What have you learned from [1]? What languages will you be programming in? Or are you looking for a widget? 1.http://www.google.com/search?hl=enq=twitter+api+tutorialbtnG=Search Doug Williams Twitter API Supporthttp://twitter.com/dougw On Fri, Apr 3, 2009 at 6:42 PM, wadada willychataig...@gmail.com wrote: how hard is it to implement a login (username + password) and a submit form to allow users to post tweets from my website? if the question is unclear i would like something like:http://www.exectweets.com Twitter Username: Twitter Password: Remember Me @worldwildweb Where can I find an good tutorial?examples? other thanhttp://apiwiki.twitter.com/ Thank you for your responses
[twitter-dev] Problem with app approval from Twitter Help
Hello fellow devs, I'm in here because I know you guys will probably respond. I sent a request about 10 days ago for my app's approval to twitter's help. The app is called Twitteron, located at http://www.techlogica.us/software/twitteron .. Strangely enough, there's been no response. Tried it on another account a few days ago, and still nothing. Does Twitter Help really take more than 10 days to respond? If there's somebody in here that could let me know how to get the apps approval, with a name link associated to the posts, that would be great. Thanks alot Kyle White Designer/Programmer Techlogica LLC
[twitter-dev] VB.net auh failure [403]
Any idea why I'm forbidden? Thanks in advance! Function writeMessage(ByVal StrPass, ByVal StrUser, ByVal StrMessage, ByVal StrTo) As String Dim req As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(http://twitter.com/direct_messages/ new.xml?user= + StrTo + text= + StrMessage) If Not StrUser = Or StrPass = Then req.Credentials = New System.Net.NetworkCredential (StrUser, StrPass) req.Method = POST 'req.ContentLength = 0 'req.ServicePoint.Expect100Continue = False req.ContentType = application/x-www-form-urlencoded 'req.PreAuthenticate = True Dim resp As HttpWebResponse = req.GetResponse() Dim sr As New System.IO.StreamReader(resp.GetResponseStream ()) 'sr.Read(req.GetResponse(), ) Return sr.ReadToEnd() End If End Function
[twitter-dev] proper waqy to do paging now htat we have maxID
I'm trying to figure out the best way to do paging now that we have a maxID. Currently, on loading a page, I set the since ID to be the id of the first post returned from the api, and the max ID to the ID of the last ID returned from the api call plus 1. Now when I click next, I tell the API to get the posts with a maxID equal to my maxID and a count of twenty, and then reset the sinceID to the first post returned from that call, etc. That's working fi9ne, but something weird is going on when I attempt to go backwards. I would have thought that to go backwards, I would simply make a call to the getstatuses.json call with a since ID equal to the since ID I have saved and a count of twenty to get the previous twenty posts a user hasn't seen, but it seems to be taking me back to the beginning of the tweet stream. I'm looking at my code to see if there was a bug, but I wanted to check here to see if my algorithm made sense or if I was going insane.
[twitter-dev] Re: twitter date format madness
On Sat, Apr 4, 2009 at 15:02, orange80 jpsw...@gmail.com wrote: Is there any plan for the future to standardize the date format to something more widely acceptable? Yes. -- Abraham Williams | Hacker | http://abrah.am @poseurtech | http://the.hackerconundrum.com Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from Chicago, Illinois, United States
[twitter-dev] Account opening
I'm working on an application that will require the use of a considerable number of Twitter accounts- around 5700. Is there an easy and legitimate way of opening this number of accounts rather than having to manually do so? Are Twitter helping developers do things like this? Is it allowed?
[twitter-dev] Re: Account opening
On Sat, Apr 4, 2009 at 5:59 PM, ben benjamin.co...@gmail.com wrote: I'm working on an application that will require the use of a considerable number of Twitter accounts- around 5700. Is there an easy and legitimate way of opening this number of accounts rather than having to manually do so? Are Twitter helping developers do things like this? Is it allowed? No. -damon (who doesn't work for Twitter) -- http://twitter.com/damon
[twitter-dev] Re: Following/ Friend count inconsistencies
I'm seeing that all over the place. It's been happening for at least a week or two. Jesse On Sat, Apr 4, 2009 at 10:58 AM, Adrian spiritpo...@gmail.com wrote: online-- follows 554 people http://twitter.com/rssfriends/friends (and growing) XML-- has 508 friends: http://twitter.com/users/show/rssfriends.xml JSON-- 501 friends: http://twitter.com/users/show/rssfriends.json
[twitter-dev] Twitter Date Converter for Java
Fellow Java programmers, Feel free to use this class I wrote without restriction for any purpose (including commercial) in your Twitter API development work. It does not require any special dependencies except for Java 1.6 (probably works fine on Java 1.5 too), just drop it in and go. I appreciate any feedback you may have. Here it is: http://friendpaste.com/2IaKdlT3Zat4ANwdAhxAmZ Thanks, Jamie
[twitter-dev] Re: VB.net auh failure [403]
Look at what requests you are sending with Netmon or Wireshark. With Witty (C# wpf app), we discovered that first an unauthenticated request is sent to find out what auth the server takes, then a authenticated request after that. This doesn't work on some of the API requests. The solution is to manually attach the BasicAuth header. JD On Sat, Apr 4, 2009 at 11:38 AM, DIENECES bowling.j...@gmail.com wrote: Any idea why I'm forbidden? Thanks in advance! Function writeMessage(ByVal StrPass, ByVal StrUser, ByVal StrMessage, ByVal StrTo) As String Dim req As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(http://twitter.com/direct_messages/ new.xml?user= http://twitter.com/direct_messages/%0Anew.xml?user= + StrTo + text= + StrMessage) If Not StrUser = Or StrPass = Then req.Credentials = New System.Net.NetworkCredential (StrUser, StrPass) req.Method = POST 'req.ContentLength = 0 'req.ServicePoint.Expect100Continue = False req.ContentType = application/x-www-form-urlencoded 'req.PreAuthenticate = True Dim resp As HttpWebResponse = req.GetResponse() Dim sr As New System.IO.StreamReader(resp.GetResponseStream ()) 'sr.Read(req.GetResponse(), ) Return sr.ReadToEnd() End If End Function
[twitter-dev] Re: Problem with app approval from Twitter Help
If you haven't received a response please email a...@twitter.com. I empty the request queues daily so 10 days indicates a problem. Doug Williams Twitter API Support http://twitter.com/dougw On Sat, Apr 4, 2009 at 5:39 PM, Damon Clinkscales sca...@pobox.com wrote: On Sat, Apr 4, 2009 at 1:37 PM, techlogica techlog...@gmail.com wrote: I'm in here because I know you guys will probably respond. I sent a request about 10 days ago for my app's approval to twitter's help. The app is called Twitteron, located at http://www.techlogica.us/software/twitteron .. Strangely enough, there's been no response. Tried it on another account a few days ago, and still nothing. Does Twitter Help really take more than 10 days to respond? Yes. But the developers are more responsive (in my experience). If there's somebody in here that could let me know how to get the apps approval, with a name link associated to the posts, that would be great. But, if you're talking about the source field: from myApp, then you can do that here: http://twitter.com/help/request_source explained here - http://apiwiki.twitter.com/FAQ?SearchFor=MyApp Not sure exactly what kind of approval you are seeking. Best, -damon -- http://twitter.com/damon