[twitter-dev] Cursor Not Being Returned When It Should

2009-10-27 Thread TylerC

Hey everyone, im trying to figure out why cursors are not being
returned... I am making a call to 
http://twitter.com/statuses/friends.xml?cursor=-1
to get my first page of friends through OAuth and simpleXML in PHP5.

Everything is fine and the next_cursor shows up in my browser, but
when I try to extract it or even var dump the xml the tag does not
even show up. Heres how im getting it:

$users = $oauth-oAuthRequest(
http://twitter.com/statuses/friends.xml?cursor=$page;, 
 // Where
$page is -1 in this case...
array(), GET
);

$xml = simplexml_load_string($users);

print_r($xml);

//$next_page = $xml-next_cursor;


I get only data located under the users array, any ideas?





[twitter-dev] Re: Twitter Lists: /user/list/members.xml returning only 20 at a time

2009-10-27 Thread Rich

Thats pretty disappointing seeing as, for instance on the iPhone/iPod
touch platform, there are lots competing together.  Some get
preferential treatment they get advantages.

On Oct 26, 5:55 pm, Eric Woodward e...@nambu.com wrote:
 Rich, I think you answered your own question there, the first one
 anyway. I would not expect a real answer to the second one.

 --ejw

 Eric Woodward
 Email: e...@nambu.com

 On Oct 26, 2:30 am, Rich rhyl...@gmail.com wrote:



  Seriously have we got a two tier dev system now, can we all have
  access to the API please?

  On Oct 24, 10:18 pm, Dave Briccetti da...@davebsoft.com wrote:

   How can I retrieve more than 20 at a time?

   ?cursor=-1count=200  has no effect


[twitter-dev] Re: Im a newbie, eager to learn, teach me how to setup API

2009-10-27 Thread Andrew Badera

So what you're really asking for is someone to teach you web
development? I'm sure there are plenty of consultants on this list
who'd be willing to spend time in exchange for cold hard cash.

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Mon, Oct 26, 2009 at 8:32 PM, North Carolina developer
4northcarol...@gmail.com wrote:


 How to start the Twitter API on my site?

 I have been playing with php for a month now and really want to use
 the simplicity of the Twitter API to make a nice site, using my
 visitors status updates, friends, and other info that the API shares.
 I have a free hosting site at 000webhost.com  if u never heard of it,
 its free, offers php/mysql, and 100s of features for free.  How should
 I start my new project.. if I want to simply... display a couple feeds
 on a page, with the header of the page including the visitor's profile
 pic and bio info.  One feed will be theirs and another mine.

 I've been thru 20 plus tutorials and they jump to fast into the coding
 part.  I think i have every code there is as well as library or json
 jquery twitterlib etc but no one ever shows how to start from
 scratch.

 How to use the curl options?

 How does the php interact with xml pages and can u explain that
 concept?

 What do I need to do to get the API to work, come back to the page
 with the accessed info from Twitter.

 Please help, im desperate, in the middle of nowhere, and broke! lol
 This is so interesting and hope to get some great answers from someone
 who can explain well.  Thanks and God Bless!



[twitter-dev] revisiting: Have you read the OneForty.com Developer Contract?

2009-10-27 Thread Andrew Badera

It's been a couple weeks ... not to antagonize anyone or stir up a
hornet's nest, but I'm curious, what are peoples' takes on oneforty
now? Looks like TOS is revamped.

Who's using it? What have your experiences been?

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera


[twitter-dev] Re: Posting non-English Characters using OAuth

2009-10-27 Thread Kalpesh

Hi Mageuzi, can you please shed more light what you exactly did?
I am trying to post non-ascii status through api and it shows
incorrect signature.
ascii characters are posted successfully.

On Sep 20, 1:55 am, Mageuzi mage...@gmail.com wrote:
 Thanks for the response, Brian :)  After a bit more debugging and
 research, I found the problem.  In hindsight it's obvious, but I was
 putting too much faith into how the characters were being encoded.
 That %65E5%672C%72AC was completely incorrect, and instead the
 individual bytes needed to be encoded and sent to twitter.  Once I
 changed the oAuth code to do that, it's working flawlessly.  Thanks
 again for your response!

 On Sep 18, 2:59 pm, Brian Smith br...@briansmith.org wrote:

  Mageuzi wrote:
   I'm sorry for posting a follow up so soon, but I spent another few
   hours trying to debug this again last night, and still without
   success.  It seems to be encoding the characters properly (%65E5%672C
   %72AC in this case), and so I assume it is generating the signature
   properly. After all, it works perfectly fine with English characters.
   So any guidance would be much appreciated, I'm running out of things
   to check.

   Thank you again in advance.

  It probably isn't generating the signature properly. Try using a different 
  library to post the same message and likely you will find that they are 
  calculating the signature differently. Calculating bad signatures for 
  non-ASCII characters is probably the most common bug in OAuth libraries, 
  because the authors often test with ASCII characters but not non-ASCII 
  characters. If the library you are using has a mechanism for you to get the 
  signature base string, use that mechanism to retrieve it and post it here.

  Also, try using a different OAuth library.

  がんばってください!

  - Brian


[twitter-dev] Re: How to get related hashtags?

2009-10-27 Thread Mitchel Berberich

I think you'll have to compute relationsships yourself.

* use existing ontologies describing relationships
* try to guess relationships by using AI and datamining algorithms
like clustering

On Oct 26, 7:00 pm, Legend rahul...@gmail.com wrote:
 Hi,

 I was wondering if there's a way to get related hashtags or maybe
 hashtags that are similar. If Twitter API does not support it, what is
 the best way to achieve this? Any suggestions?

 Thanks,
 Rahul


[twitter-dev] Re: Im a newbie, eager to learn, teach me how to setup API

2009-10-27 Thread Scott Haneda


The Twitter Dev/API list is the one list that there is a very often  
posted thread of this nature.  I call it the Twitter Think Tank  
BandWagon™ :)


Twitter hits the news, the news reports that application x, y, and z  
are all getting millions of users, millions of users translates to  
some form of money, popularity, or general enticement.


And off to the races we are.  However, programming is no different  
than any other industry.  And this reply goes out to North Carolina  
developer and well as any other Developer that makes his way here.


Reporters work hard to become reporters, veterinarians work hard to  
become vets, and programmers work hard to become programmers.


Starting your own business is the American Dream.  They are all hard  
work.  Sure there are some overnight success stories, but those people  
all had past experience in a development field.  If you want to get in  
on any form of new development, you would do yourself good to think  
about it as any other idea you have ever had.


If you were sitting at home, and decided you were going to start a new  
company, say, one that makes drills for the construction business.   
Most logical people would start looking at other drills, taking them  
apart, calling motor manufacturers, researching all aspect of drills  
and the parts that make them up.  If after all that, you still think  
you have an edge, you may be able to move forward.


Development, be it Twitter or any other computer programming related  
field, is no different.  It very well may be harder.


Quite frankly, the lack of respect some developers get compared to  
other fields is a little disconcerting.  It takes many years to become  
proficient in any programming language.  That does not include the  
ramp up time to learn the basics of what ssh, ftp, sftp, tcp/ip ack/ 
syn, post, get, json, rest, ajax, html, css, oop, precedural, I could  
go on.


There is just so much to learn, and so many parts, I would say it is  
one of the harder things to embark on.  Add into all this, as a  
startup, not only are you learning the technical sides of things, but  
you are also learning how to run a business, marketing, etc, and each  
of those sub aspects of your end goal, has just as large a laundry  
list of acronyms to define it as well.


I do not want to discourage anyone, as anyone can learn anything, if  
they put their mind to it.  But please, of the many people who come to  
this list, it is borderline insulting to say I have idea x, how do I  
do it.


No one walks into NASA and says, I want to build a rocket, where do I  
get started.  It is that very analogy that non developers need to  
understand.   In all honestly, every passionate developer is a rocket  
scientist in their own special way.  At the very least, they are a  
scientist.


To specifically answer the original posters questions:
1) If you are looking at a free host, you need to start your research  
learning and understanding about hardware and software in general.   
You need to learn that the backbone of your entire business is going  
to sit on a server, or servers somewhere.  Do not run your business on  
free, it is not possible.  Learn why this is not possible.


2) How do you display feeds?  Start learning about RSS and any push/ 
pull driven protocol. In the end, it is all just a stream of data, you  
read it in, and parse it, and display it how you want. It will be up  
to you to determine the logic of how you do that.  There are at least  
20 variables I could ask, such as, how many feeds, when do you want  
them to expire, what if they contain profanity, do you want links on  
the feeds, etc, the list goes on.  These are decisions you need to  
make, and then learn how to programatically implement them.


3) If you have been through 20+ tutorials, and still are not getting  
it, then you are looking at twitter tutorials, and you should be  
looking at ftp, php, perl, apache, server, and other more general  
tutorials.  Can you build a rock, paper scissors game in php that runs  
in a web browser?


Until you can take any idea you have and write pseudo code as to how  
you would deploy it, asking on the Twitter list for specifics is too  
far outside the scope of what you currently understand.


4) Curl I would lump into #3, it is just a tool, that can be used  
within any language, to do some work, what you do with the data it  
returns, comes back to general programming logic and understanding.


5) In regards to how to interact with the API.  This is again, more  
detail that is not important at this time.


6) I am taking some guesses here.  My suggestions..
a) Find a patient web designer friend, have them show you how to
design web sites, so you learn ftp, and basic development of non
programming aspect of the web.

b) Start making simple apps in php, 50 lines or less.  Rock, paper,
scissors, blackjack, or towers of hanoi, any of the 

[twitter-dev] Find username/screenname through email addresses

2009-10-27 Thread dhaval

Hey all

Is it possible to find the screen name of a twitter user from an email
address?

Say suppose an email address is a...@abc.com then what is the
corresponding screen name of the user with that email id if there
exists a registered user with that email.

Please let me know if there is any way to find that out.

Thanks


[twitter-dev] Re: Find username/screenname through email addresses

2009-10-27 Thread Harshad RJ
You could try signing in with that email address. People usually have easy
to guess passwords. After signing in, the link to the profile page will have
the screen-name at the end of the URL.



On Tue, Oct 27, 2009 at 4:20 PM, dhaval dhaval.parik...@gmail.com wrote:


 Is it possible to find the screen name of a twitter user from an email
 address?



-- 
Harshad RJ
http://hrj.wikidot.com


[twitter-dev] Re: Find username/screenname through email addresses

2009-10-27 Thread Marco Kaiser
No

Marco

2009/10/27 dhaval dhaval.parik...@gmail.com


 Hey all

 Is it possible to find the screen name of a twitter user from an email
 address?

 Say suppose an email address is a...@abc.com then what is the
 corresponding screen name of the user with that email id if there
 exists a registered user with that email.

 Please let me know if there is any way to find that out.

 Thanks


[twitter-dev] Re: Find username/screenname through email addresses

2009-10-27 Thread Andrew Badera

Wow, smartest post EVER.

BAN?

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Tue, Oct 27, 2009 at 7:03 AM, Harshad RJ harshad...@gmail.com wrote:
 You could try signing in with that email address. People usually have easy
 to guess passwords. After signing in, the link to the profile page will have
 the screen-name at the end of the URL.



 On Tue, Oct 27, 2009 at 4:20 PM, dhaval dhaval.parik...@gmail.com wrote:

 Is it possible to find the screen name of a twitter user from an email
 address?



 --
 Harshad RJ
 http://hrj.wikidot.com



[twitter-dev] Re: Im a newbie, eager to learn, teach me how to setup API

2009-10-27 Thread Dwi Sasongko Supriyadi
Hi Scott,

On Tue, Oct 27, 2009 at 5:12 PM, Scott Haneda talkli...@newgeo.com wrote:


 The Twitter Dev/API list is the one list that there is a very often posted
 thread of this nature.  I call it the Twitter Think Tank BandWagon™ :)

 Twitter hits the news, the news reports that application x, y, and z are
 all getting millions of users, millions of users translates to some form of
 money, popularity, or general enticement.

 And off to the races we are.  However, programming is no different than any
 other industry.  And this reply goes out to North Carolina developer and
 well as any other Developer that makes his way here.

 Reporters work hard to become reporters, veterinarians work hard to become
 vets, and programmers work hard to become programmers.

 Starting your own business is the American Dream.  They are all hard work.
  Sure there are some overnight success stories, but those people all had
 past experience in a development field.  If you want to get in on any form
 of new development, you would do yourself good to think about it as any
 other idea you have ever had.

 If you were sitting at home, and decided you were going to start a new
 company, say, one that makes drills for the construction business.  Most
 logical people would start looking at other drills, taking them apart,
 calling motor manufacturers, researching all aspect of drills and the parts
 that make them up.  If after all that, you still think you have an edge, you
 may be able to move forward.

 Development, be it Twitter or any other computer programming related field,
 is no different.  It very well may be harder.

 Quite frankly, the lack of respect some developers get compared to other
 fields is a little disconcerting.  It takes many years to become proficient
 in any programming language.  That does not include the ramp up time to
 learn the basics of what ssh, ftp, sftp, tcp/ip ack/syn, post, get, json,
 rest, ajax, html, css, oop, precedural, I could go on.

 There is just so much to learn, and so many parts, I would say it is one of
 the harder things to embark on.  Add into all this, as a startup, not only
 are you learning the technical sides of things, but you are also learning
 how to run a business, marketing, etc, and each of those sub aspects of your
 end goal, has just as large a laundry list of acronyms to define it as well.

 I do not want to discourage anyone, as anyone can learn anything, if they
 put their mind to it.  But please, of the many people who come to this list,
 it is borderline insulting to say I have idea x, how do I do it.

 No one walks into NASA and says, I want to build a rocket, where do I get
 started.  It is that very analogy that non developers need to understand.
 In all honestly, every passionate developer is a rocket scientist in their
 own special way.  At the very least, they are a scientist.

 To specifically answer the original posters questions:
 1) If you are looking at a free host, you need to start your research
 learning and understanding about hardware and software in general.  You need
 to learn that the backbone of your entire business is going to sit on a
 server, or servers somewhere.  Do not run your business on free, it is not
 possible.  Learn why this is not possible.

 2) How do you display feeds?  Start learning about RSS and any push/pull
 driven protocol. In the end, it is all just a stream of data, you read it
 in, and parse it, and display it how you want. It will be up to you to
 determine the logic of how you do that.  There are at least 20 variables I
 could ask, such as, how many feeds, when do you want them to expire, what if
 they contain profanity, do you want links on the feeds, etc, the list goes
 on.  These are decisions you need to make, and then learn how to
 programatically implement them.

 3) If you have been through 20+ tutorials, and still are not getting it,
 then you are looking at twitter tutorials, and you should be looking at ftp,
 php, perl, apache, server, and other more general tutorials.  Can you build
 a rock, paper scissors game in php that runs in a web browser?

 Until you can take any idea you have and write pseudo code as to how you
 would deploy it, asking on the Twitter list for specifics is too far outside
 the scope of what you currently understand.

 4) Curl I would lump into #3, it is just a tool, that can be used within
 any language, to do some work, what you do with the data it returns, comes
 back to general programming logic and understanding.

 5) In regards to how to interact with the API.  This is again, more detail
 that is not important at this time.

 6) I am taking some guesses here.  My suggestions..
a) Find a patient web designer friend, have them show you how to
design web sites, so you learn ftp, and basic development of non
programming aspect of the web.

b) Start making simple apps in php, 50 lines or less.  Rock, paper,
scissors, blackjack, or towers of 

[twitter-dev] Re: Find username/screenname through email addresses

2009-10-27 Thread Tim Haines
It made me laugh.  Not helpful, but entertaining.

Dhaval, there's no way for you to do what you want.  Twitter doesn't make
email or email related functions accessible to third party devs in any way.
 Not that I know of anyway..

Tim.

On Wed, Oct 28, 2009 at 12:05 AM, Andrew Badera and...@badera.us wrote:


 Wow, smartest post EVER.

 BAN?

 ∞ Andy Badera
 ∞ +1 518-641-1280
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me: http://www.google.com/search?q=andrew%20badera



 On Tue, Oct 27, 2009 at 7:03 AM, Harshad RJ harshad...@gmail.com wrote:
  You could try signing in with that email address. People usually have
 easy
  to guess passwords. After signing in, the link to the profile page will
 have
  the screen-name at the end of the URL.
 
 
 
  On Tue, Oct 27, 2009 at 4:20 PM, dhaval dhaval.parik...@gmail.com
 wrote:
 
  Is it possible to find the screen name of a twitter user from an email
  address?
 
 
 
  --
  Harshad RJ
  http://hrj.wikidot.com
 



[twitter-dev] Re: Find username/screenname through email addresses

2009-10-27 Thread ryan alford

No, and don't expect it to ever be available.



On Oct 27, 2009, at 6:51 AM, dhaval dhaval.parik...@gmail.com wrote:


 Hey all

 Is it possible to find the screen name of a twitter user from an email
 address?

 Say suppose an email address is a...@abc.com then what is the
 corresponding screen name of the user with that email id if there
 exists a registered user with that email.

 Please let me know if there is any way to find that out.

 Thanks


[twitter-dev] Re: Im a newbie, eager to learn, teach me how to setup API

2009-10-27 Thread Scott Haneda


On Oct 27, 2009, at 4:05 AM, Dwi Sasongko Supriyadi wrote:

Twitter is not a point and click API, none are; a Twitter  
programmer could
build any web app they want.  With that in mind, I would look to  
forums and
mailing lists for beginner introductions to programming.  A good  
programmer
could read the twitter API, and make an app in a day, as they could  
with any

API, be it one from Twitter, google, Amazon, ebay, or a private one.

Hope that was helpful.


[snip... Big huge rant about how Twitter dev is a strange mailing  
list :) ]	




May I, cat this  /my/blog ?


Certainly, I was going to work it over as a blog post, with some links  
to what exactly development is.  But please, be my guest, anything in  
the mail list is public as far as i am concerned.

--
Scott * If you contact me off list replace talklists@ with scott@ *



[twitter-dev] Book recommendations

2009-10-27 Thread Tim

Anybody got a recommendation on a book on developing for Twitter?


[twitter-dev] s.twimg.com vs a?.twimg.com

2009-10-27 Thread Gavin Bong

Is my assumption correct that s.twimg.com is for serving more system
related images  a?.twimg.com are for user assets ?

Regards,

G


[twitter-dev] Is OAuth API down?

2009-10-27 Thread Chen Jie

My app runs on Appengine, and always get 'ApplicationError: 5 ',
anybody has this issue now?


[twitter-dev] Re: How to get related hashtags?

2009-10-27 Thread Tim Hastings

Hello,

You can find related tags, words, users, links and sites from a
recommendation and reputation tool I am building called TagWalk,
http://tagwalk.com/

For example, tags related to #rest are #json #sap #php #xml #Java #API
#nosql + more.
Take a look: http://tagwalk.com/tag/rest

This is based on a sample of messages updated at least once or twice
daily.

Hope this helps,

Tim Hastings
http://twitter.com/timhastings


[twitter-dev] Re: Is OAuth API down?

2009-10-27 Thread ryan alford
OAuth is working fine for me right now.


On Tue, Oct 27, 2009 at 7:52 AM, Chen Jie chenyue...@gmail.com wrote:


 My app runs on Appengine, and always get 'ApplicationError: 5 ',
 anybody has this issue now?



[twitter-dev] Re: Twitter API

2009-10-27 Thread ryan alford
As far as I know, there is no API for this.  If I am not mistaken,
currently, Twitter doesn't give the country of the tweeter.  So there is no
real way of knowing what country the tweet is from.

On Tue, Oct 27, 2009 at 3:52 AM, NightStalker vincent.van...@gmail.comwrote:


 Hey guys

 I need some sort of API for twitter stats. Where do I get that? for
 eg. I would like to list of the top users from my country. Ordered by
 followers, tweets, re-tweets, etc

 Where is the API for this and what methods would I use to get this
 info? Any decent documentation on this anywhere?

 Thanks for any help



[twitter-dev] Re: Is OAuth API down?

2009-10-27 Thread Spataro

I can confirm both of you: I can use oauth with no problems, but two
other users of my website can't login. ( www.gloxa.eu )

There's something. How can we help ?

On Oct 27, 2:16 pm, ryan alford ryanalford...@gmail.com wrote:
 OAuth is working fine for me right now.

 On Tue, Oct 27, 2009 at 7:52 AM, Chen Jie chenyue...@gmail.com wrote:

  My app runs on Appengine, and always get 'ApplicationError: 5 ',
  anybody has this issue now?


[twitter-dev] Re: Book recommendations

2009-10-27 Thread leonspencer

Hi.

I don't have a book (but mention a couple below) that I've used. But
there seen to be quite a few good tutorials. And you can learn a great
deal from the Twitter API Libraries under:

http://apiwiki.twitter.com/Libraries

If developing in PHP, I've found Tijs Verkoyen's library to be fairly
straight forward: http://classes.verkoyen.eu/twitter/


As far as books for the Twitter API:

http://oreilly.com/catalog/9780596154622
Twitter API: Up and Running
Learn How to Build Applications with the Twitter API
By Kevin Makice

(also on Twitter @ http://twitter.com/the_api_book )

Article by Makice:
http://blog.programmableweb.com/2009/08/05/twitter-developer-tips-from-the-guy-who-wrote-the-book/

There is also a .NET Twitter API book out there:

http://search.barnesandnoble.com/Professional-Twitter-Development/Daniel-Crenna/e/9780470531327/
Professional Twitter Development: With Examples in .NET 3. 5 by Daniel
Crenna

Again, I haven't used these books. I started with the online tutorials
and the opensource libraries at:
http://apiwiki.twitter.com/Libraries

Twitter API Tips  Tutorials (a few good links can't hurt)
http://www.newwebplatform.com/tips-and-tutorials/Twitter
http://twittut.netsensei.nl/?page_id=8
http://nicolasrosental.com/?p=42

Dig in and get your feet wet ;-)

Leon

On Oct 26, 8:59 pm, Tim yau...@willowsoft.com wrote:
 Anybody got a recommendation on a book on developing for Twitter?


[twitter-dev] Re: Is OAuth API down?

2009-10-27 Thread ryan alford
I am using OAuth with a desktop client.  Maybe something with the web
clients?  Don't know if Twitter handles them differently on their side.

Ryan

On Tue, Oct 27, 2009 at 9:31 AM, Spataro spat...@lexia.it wrote:


 I can confirm both of you: I can use oauth with no problems, but two
 other users of my website can't login. ( www.gloxa.eu )

 There's something. How can we help ?

 On Oct 27, 2:16 pm, ryan alford ryanalford...@gmail.com wrote:
  OAuth is working fine for me right now.
 
  On Tue, Oct 27, 2009 at 7:52 AM, Chen Jie chenyue...@gmail.com wrote:
 
   My app runs on Appengine, and always get 'ApplicationError: 5 ',
   anybody has this issue now?



[twitter-dev] Re: Twitter Search Issues for Japanese

2009-10-27 Thread Aki

Thank you for responding so quickly!
It's nice to know that the issues have been reported to the
appropriate people.

-- Aki

On Oct 27, 12:35 am, John Kalucki jkalu...@gmail.com wrote:
 I've forwarded your message to the Japan product manager and to the
 engineer who first brought Japanese tokenizing to Search.

 -John Kaluckihttp://twitter.com/jkalucki
 Services, Twitter.com

 On Oct 26, 2:27 am, Aki yoru.fuku...@gmail.com wrote:



  Hi,

  I'm developing desktop Twitter application for Mac, targeting Japanese
  Twitterers.
  I've recently implemented a feature to interface the official Twitter
  Search API.
  It came to my attention that there are several severe issues with the
  current implementation of Twitter Search.

  Firstly, many tweets posted by Japanese Twitterers are not being
  indexed at all.
  Yes, I have read the notice regarding missing tweets from the search
  results. (http://help.twitter.com/forums/10713/entries/42646)
  From looking at several people I follow, about 50% of people are not
  being indexed at all.
  Actually, tweets were never indexed at all. Many of the other Japanese
  developers have also noticed these issues.
  I have tried using the locale option for the search API, but it
  didn't help much.

  Secondly, the operator to execute an exact phrase search (documented
  athttp://search.twitter.com/operators) does not work for Japanese
  query.
  I'm not sure if it's supposed to work with the API though.
  This issue is annoying, because search results returned from a query
  containing Japanese characters seems to return very fuzzy results.
  I get very irrelevant results, and even find it difficult to figure
  out why it even matched at all.

  I consider Twitter Search to be the major feature of Twitter, and I
  think correcting these issues will make Twitter much better web
  service for Japanese people.

  Thank you.

  -- Aki


[twitter-dev] Re: Find username/screenname through email addresses

2009-10-27 Thread Dossy Shiobara

No way, I think Harshad totally wins the troll the stupid and
frequently asked question award.

I think Harshad's answer should be our canned response when anyone asks
this FAQ in the future.


On 10/27/09 7:05 AM, Andrew Badera wrote:
 
 Wow, smartest post EVER.
 
 BAN?
 
 ∞ Andy Badera
 ∞ +1 518-641-1280
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me: http://www.google.com/search?q=andrew%20badera
 
 
 
 On Tue, Oct 27, 2009 at 7:03 AM, Harshad RJ harshad...@gmail.com wrote:
 You could try signing in with that email address. People usually have easy
 to guess passwords. After signing in, the link to the profile page will have
 the screen-name at the end of the URL.



 On Tue, Oct 27, 2009 at 4:20 PM, dhaval dhaval.parik...@gmail.com wrote:

 Is it possible to find the screen name of a twitter user from an email
 address?



 --
 Harshad RJ
 http://hrj.wikidot.com



-- 
Dossy Shiobara  | do...@panoptic.com | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)



[twitter-dev] Re: Book recommendations

2009-10-27 Thread leonspencer

- Forwarded Message 
From: Andrew Badera and...@badera.us
To: twitter-development-talk@googlegroups.com
Sent: Tue, October 27, 2009 7:35:33 AM
Subject: [twitter-dev] Re: Find username/screenname through email
addresses


The Address Book API is forthcoming.

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Oct 27, 6:35 am, leonspencer spencer_l...@yahoo.com wrote:
 Hi.

 I don't have a book (but mention a couple below) that I've used. But
 there seen to be quite a few good tutorials. And you can learn a great
 deal from the Twitter API Libraries under:

 http://apiwiki.twitter.com/Libraries

 If developing in PHP, I've found Tijs Verkoyen's library to be fairly
 straight forward:http://classes.verkoyen.eu/twitter/

 As far as books for the Twitter API:

 http://oreilly.com/catalog/9780596154622
 Twitter API: Up and Running
 Learn How to Build Applications with the Twitter API
 By Kevin Makice

 (also on Twitter @http://twitter.com/the_api_book)

 Article by 
 Makice:http://blog.programmableweb.com/2009/08/05/twitter-developer-tips-fro...

 There is also a .NET Twitter API book out there:

 http://search.barnesandnoble.com/Professional-Twitter-Development/Dan...
 Professional Twitter Development: With Examples in .NET 3. 5 by Daniel
 Crenna

 Again, I haven't used these books. I started with the online tutorials
 and the opensource libraries at:http://apiwiki.twitter.com/Libraries

 Twitter API Tips  Tutorials (a few good links can't 
 hurt)http://www.newwebplatform.com/tips-and-tutorials/Twitterhttp://twittut.netsensei.nl/?page_id=8http://nicolasrosental.com/?p=42

 Dig in and get your feet wet ;-)

 Leon

 On Oct 26, 8:59 pm, Tim yau...@willowsoft.com wrote:

  Anybody got a recommendation on a book on developing for Twitter?


[twitter-dev] Allow/Deny for Previously Authorised Apps

2009-10-27 Thread CreativeEye

This is first app using OAuth. As far as I have known, once the user
has authorized an application, in the subsequent visits, he is not
shown the page Allow/Deny buttons but automatically redirected to
application.

But in my application, every time the user tries to login, he is
greeted with Allow/Deny button. Is there anything extra required to
instruct the OAuth server to behave as above? I am using 
http://twitter.abrah.am/
TwittterOAuth class.


[twitter-dev] Re: Allow/Deny for Previously Authorised Apps

2009-10-27 Thread JDG
are you saving the access token?

On Tue, Oct 27, 2009 at 09:57, CreativeEye creativv...@gmail.com wrote:


 This is first app using OAuth. As far as I have known, once the user
 has authorized an application, in the subsequent visits, he is not
 shown the page Allow/Deny buttons but automatically redirected to
 application.

 But in my application, every time the user tries to login, he is
 greeted with Allow/Deny button. Is there anything extra required to
 instruct the OAuth server to behave as above? I am using
 http://twitter.abrah.am/
 TwittterOAuth class.




-- 
Internets. Serious business.


[twitter-dev] Re: Book recommendations

2009-10-27 Thread AndyDJordan

I have just ordered the book Twitter API and its arriving tomorrow, I
will let you guys know how I found it :)

On Oct 27, 1:35 pm, leonspencer spencer_l...@yahoo.com wrote:
 Hi.

 I don't have a book (but mention a couple below) that I've used. But
 there seen to be quite a few good tutorials. And you can learn a great
 deal from the Twitter API Libraries under:

 http://apiwiki.twitter.com/Libraries

 If developing in PHP, I've found Tijs Verkoyen's library to be fairly
 straight forward:http://classes.verkoyen.eu/twitter/

 As far as books for the Twitter API:

 http://oreilly.com/catalog/9780596154622
 Twitter API: Up and Running
 Learn How to Build Applications with the Twitter API
 By Kevin Makice

 (also on Twitter @http://twitter.com/the_api_book)

 Article by 
 Makice:http://blog.programmableweb.com/2009/08/05/twitter-developer-tips-fro...

 There is also a .NET Twitter API book out there:

 http://search.barnesandnoble.com/Professional-Twitter-Development/Dan...
 Professional Twitter Development: With Examples in .NET 3. 5 by Daniel
 Crenna

 Again, I haven't used these books. I started with the online tutorials
 and the opensource libraries at:http://apiwiki.twitter.com/Libraries

 Twitter API Tips  Tutorials (a few good links can't 
 hurt)http://www.newwebplatform.com/tips-and-tutorials/Twitterhttp://twittut.netsensei.nl/?page_id=8http://nicolasrosental.com/?p=42

 Dig in and get your feet wet ;-)

 Leon

 On Oct 26, 8:59 pm, Tim yau...@willowsoft.com wrote:

  Anybody got a recommendation on a book on developing for Twitter?


[twitter-dev] Re: Allow/Deny for Previously Authorised Apps

2009-10-27 Thread CreativeEye

I missed this in the 1st message: my app uses Twitter for login
purposes. So there is registration on my app.
How do I use the saved access token?
Yes I am saving the access token. yet i am not able to see where I
will use that.

--
On Oct 27, 9:16 pm, JDG ghil...@gmail.com wrote:
 are you saving the access token?

 On Tue, Oct 27, 2009 at 09:57, CreativeEye creativv...@gmail.com wrote:

  This is first app using OAuth. As far as I have known, once the user
  has authorized an application, in the subsequent visits, he is not
  shown the page Allow/Deny buttons but automatically redirected to
  application.

  But in my application, every time the user tries to login, he is
  greeted with Allow/Deny button. Is there anything extra required to
  instruct the OAuth server to behave as above? I am using
 http://twitter.abrah.am/
  TwittterOAuth class.

 --
 Internets. Serious business.


[twitter-dev] Re: Cursor Not Being Returned When It Should

2009-10-27 Thread TylerC

Nothing really?

Is there any way to set the mount / start point of the simpleXML
array?

On Oct 27, 2:28 am, TylerC tyle...@gmail.com wrote:
 Hey everyone, im trying to figure out why cursors are not being
 returned... I am making a call 
 tohttp://twitter.com/statuses/friends.xml?cursor=-1
 to get my first page of friends through OAuth and simpleXML in PHP5.

 Everything is fine and the next_cursor shows up in my browser, but
 when I try to extract it or even var dump the xml the tag does not
 even show up. Heres how im getting it:

                 $users = $oauth-oAuthRequest(
                         
 http://twitter.com/statuses/friends.xml?cursor=$page;,  // Where
 $page is -1 in this case...
                         array(), GET
                 );

                 $xml = simplexml_load_string($users);

                 print_r($xml);

                 //$next_page = $xml-next_cursor;

 I get only data located under the users array, any ideas?


[twitter-dev] Re: lang parameter in the search api

2009-10-27 Thread Andy Freeman

There are ways to figure out language with very short text.  In fact,
one can identify language changes in documents that contain text in
multiple languages.

http://www.stanford.edu/class/ee380/Abstracts/090114.html

That's not to say that Twitter uses such methods, just that it's
possible to identify languages in tweet-size documents.


On Oct 26, 6:19 am, Nicole Simon nee...@gmail.com wrote:
 The language selection is useless, even with a limitation to English.
 The problem is probably that normal methods of attributing language
 are more or less based on longer text - and not text stripped down
 to 140 chars or less.

 If you want to make detection f.e. in search, rather get all
 results and apply common sense methods, like grep
 special words which most likely are only used in your
 language of choice.

 For real 'select your choice here' it is not going to work.

 At the current rate, this is rather hurting than helping.
 I instruct users in my book to rather use search which
 will limit itself, i.e. use German words if possible in search.

 Nicole

 --

 My german twitter sitehttp://mit140zeichen.de-http://twitter.com/m140z

 Kontakt:http://twitter.com/NicoleSimonhttps://www.xing.com/profile/Nicole_Simon

 skype: nicole.simon / mailto:nicole.si...@mit140zeichen.de
 phone: +49 451 899 75 03 / mobile: +49 179 499 7076


[twitter-dev] No Cursor Data Returned

2009-10-27 Thread TylerC

I really don't get it now... I am making a call to get all my friends
and I am only getting data between the users/users tags. I need to
get cursors and while they are returned when going through the browser
they do not show up when ran from my script. wtf...


$users = $oauth-oAuthRequest(
http://twitter.com/statuses/friends.xml?cursor=-1;,
array(), GET
);


$xml = simplexml_load_string($users);
$next_page = $xml-next_cursor;

Its like the only data returned is the user array...




[twitter-dev] Re: Allow/Deny for Previously Authorised Apps

2009-10-27 Thread JDG
So you're using Sign In With Twitter. Are you sure you're going to the right
URL? That is, are you going to /oauth/authorize or /oauth/authenticate?
IIRC, if you use the latter, they should only be prompted once. If you use
the former, they'll be prompted every time.

On Tue, Oct 27, 2009 at 11:11, CreativeEye creativv...@gmail.com wrote:


 I missed this in the 1st message: my app uses Twitter for login
 purposes. So there is registration on my app.
 How do I use the saved access token?
 Yes I am saving the access token. yet i am not able to see where I
 will use that.

 --
 On Oct 27, 9:16 pm, JDG ghil...@gmail.com wrote:
  are you saving the access token?
 
  On Tue, Oct 27, 2009 at 09:57, CreativeEye creativv...@gmail.com
 wrote:
 
   This is first app using OAuth. As far as I have known, once the user
   has authorized an application, in the subsequent visits, he is not
   shown the page Allow/Deny buttons but automatically redirected to
   application.
 
   But in my application, every time the user tries to login, he is
   greeted with Allow/Deny button. Is there anything extra required to
   instruct the OAuth server to behave as above? I am using
  http://twitter.abrah.am/
   TwittterOAuth class.
 
  --
  Internets. Serious business.




-- 
Internets. Serious business.


[twitter-dev] Re: No Cursor Data Returned

2009-10-27 Thread JDG
are you sure they're not returned via the script? did you dump the data you
received using wireshark or some other network monitoring tool? it could be
that the $oauth class is simply not parsing it correctly.

On Tue, Oct 27, 2009 at 11:31, TylerC tyle...@gmail.com wrote:


 I really don't get it now... I am making a call to get all my friends
 and I am only getting data between the users/users tags. I need to
 get cursors and while they are returned when going through the browser
 they do not show up when ran from my script. wtf...


$users = $oauth-oAuthRequest(
http://twitter.com/statuses/friends.xml?cursor=-1
 ,
array(), GET
);


$xml = simplexml_load_string($users);
$next_page = $xml-next_cursor;

 Its like the only data returned is the user array...





-- 
Internets. Serious business.


[twitter-dev] Re: No Cursor Data Returned

2009-10-27 Thread TylerC

Its the standard OAuth class provided from the Twitter wiki...

When I dump it, even with var dump or print it begins with :

?xml version=1.0 encoding=UTF-8?
users type=array

But then right after the /users tag the data ends. Its very odd and
its driving me nuts.

On Oct 27, 1:40 pm, JDG ghil...@gmail.com wrote:
 are you sure they're not returned via the script? did you dump the data you
 received using wireshark or some other network monitoring tool? it could be
 that the $oauth class is simply not parsing it correctly.



 On Tue, Oct 27, 2009 at 11:31, TylerC tyle...@gmail.com wrote:

  I really don't get it now... I am making a call to get all my friends
  and I am only getting data between the users/users tags. I need to
  get cursors and while they are returned when going through the browser
  they do not show up when ran from my script. wtf...

                 $users = $oauth-oAuthRequest(
                         http://twitter.com/statuses/friends.xml?cursor=-1
  ,
                         array(), GET
                 );

                 $xml = simplexml_load_string($users);
                 $next_page = $xml-next_cursor;

  Its like the only data returned is the user array...

 --
 Internets. Serious business.


[twitter-dev] Re: No Cursor Data Returned

2009-10-27 Thread JDG
The cursor stuff is still somewhat new. Just because it's on the wiki
doesn't mean it was provided by Twitter (it's not). It may not have been
updated to handle cursors. You should do a dump via a network monitoring
tool, like wireshark or even just curl, to see what's sent to the oAuth
class. I can't imagine the HTTP response being that different, unless
they're doing stuff with User-Agents.

On Tue, Oct 27, 2009 at 11:44, TylerC tyle...@gmail.com wrote:


 Its the standard OAuth class provided from the Twitter wiki...

 When I dump it, even with var dump or print it begins with :

 ?xml version=1.0 encoding=UTF-8?
 users type=array

 But then right after the /users tag the data ends. Its very odd and
 its driving me nuts.

 On Oct 27, 1:40 pm, JDG ghil...@gmail.com wrote:
  are you sure they're not returned via the script? did you dump the data
 you
  received using wireshark or some other network monitoring tool? it could
 be
  that the $oauth class is simply not parsing it correctly.
 
 
 
  On Tue, Oct 27, 2009 at 11:31, TylerC tyle...@gmail.com wrote:
 
   I really don't get it now... I am making a call to get all my friends
   and I am only getting data between the users/users tags. I need to
   get cursors and while they are returned when going through the browser
   they do not show up when ran from my script. wtf...
 
  $users = $oauth-oAuthRequest(
  
 http://twitter.com/statuses/friends.xml?cursor=-1
   ,
  array(), GET
  );
 
  $xml = simplexml_load_string($users);
  $next_page = $xml-next_cursor;
 
   Its like the only data returned is the user array...
 
  --
  Internets. Serious business.




-- 
Internets. Serious business.


[twitter-dev] Re: No Cursor Data Returned

2009-10-27 Thread TylerC

Idk the OAuth files just return all the data from the CURL query there
is not any parsing done to it from what I can see. It just gives you
whatever it gets from Twitter which leads me to believe I am missing
some kind of parameter or there is a bug with the API and OAuth.

On Oct 27, 1:46 pm, JDG ghil...@gmail.com wrote:
 The cursor stuff is still somewhat new. Just because it's on the wiki
 doesn't mean it was provided by Twitter (it's not). It may not have been
 updated to handle cursors. You should do a dump via a network monitoring
 tool, like wireshark or even just curl, to see what's sent to the oAuth
 class. I can't imagine the HTTP response being that different, unless
 they're doing stuff with User-Agents.



 On Tue, Oct 27, 2009 at 11:44, TylerC tyle...@gmail.com wrote:

  Its the standard OAuth class provided from the Twitter wiki...

  When I dump it, even with var dump or print it begins with :

  ?xml version=1.0 encoding=UTF-8?
  users type=array

  But then right after the /users tag the data ends. Its very odd and
  its driving me nuts.

  On Oct 27, 1:40 pm, JDG ghil...@gmail.com wrote:
   are you sure they're not returned via the script? did you dump the data
  you
   received using wireshark or some other network monitoring tool? it could
  be
   that the $oauth class is simply not parsing it correctly.

   On Tue, Oct 27, 2009 at 11:31, TylerC tyle...@gmail.com wrote:

I really don't get it now... I am making a call to get all my friends
and I am only getting data between the users/users tags. I need to
get cursors and while they are returned when going through the browser
they do not show up when ran from my script. wtf...

               $users = $oauth-oAuthRequest(
                       
 http://twitter.com/statuses/friends.xml?cursor=-1
,
                       array(), GET
               );

               $xml = simplexml_load_string($users);
               $next_page = $xml-next_cursor;

Its like the only data returned is the user array...

   --
   Internets. Serious business.

 --
 Internets. Serious business.


[twitter-dev] Re: No Cursor Data Returned

2009-10-27 Thread TylerC

Further moor I edited the OAuth script for some debugging and output
the exact string returned by the CURL call and there is still no
next_cursor showing up.

On Oct 27, 1:52 pm, TylerC tyle...@gmail.com wrote:
 Idk the OAuth files just return all the data from the CURL query there
 is not any parsing done to it from what I can see. It just gives you
 whatever it gets from Twitter which leads me to believe I am missing
 some kind of parameter or there is a bug with the API and OAuth.

 On Oct 27, 1:46 pm, JDG ghil...@gmail.com wrote:

  The cursor stuff is still somewhat new. Just because it's on the wiki
  doesn't mean it was provided by Twitter (it's not). It may not have been
  updated to handle cursors. You should do a dump via a network monitoring
  tool, like wireshark or even just curl, to see what's sent to the oAuth
  class. I can't imagine the HTTP response being that different, unless
  they're doing stuff with User-Agents.

  On Tue, Oct 27, 2009 at 11:44, TylerC tyle...@gmail.com wrote:

   Its the standard OAuth class provided from the Twitter wiki...

   When I dump it, even with var dump or print it begins with :

   ?xml version=1.0 encoding=UTF-8?
   users type=array

   But then right after the /users tag the data ends. Its very odd and
   its driving me nuts.

   On Oct 27, 1:40 pm, JDG ghil...@gmail.com wrote:
are you sure they're not returned via the script? did you dump the data
   you
received using wireshark or some other network monitoring tool? it could
   be
that the $oauth class is simply not parsing it correctly.

On Tue, Oct 27, 2009 at 11:31, TylerC tyle...@gmail.com wrote:

 I really don't get it now... I am making a call to get all my friends
 and I am only getting data between the users/users tags. I need to
 get cursors and while they are returned when going through the browser
 they do not show up when ran from my script. wtf...

                $users = $oauth-oAuthRequest(
                        
  http://twitter.com/statuses/friends.xml?cursor=-1
 ,
                        array(), GET
                );

                $xml = simplexml_load_string($users);
                $next_page = $xml-next_cursor;

 Its like the only data returned is the user array...

--
Internets. Serious business.

  --
  Internets. Serious business.


[twitter-dev] Re: No Cursor Data Returned

2009-10-27 Thread JDG
then you should open a bug against twitter.

On Tue, Oct 27, 2009 at 13:32, TylerC tyle...@gmail.com wrote:


 Further moor I edited the OAuth script for some debugging and output
 the exact string returned by the CURL call and there is still no
 next_cursor showing up.

 On Oct 27, 1:52 pm, TylerC tyle...@gmail.com wrote:
  Idk the OAuth files just return all the data from the CURL query there
  is not any parsing done to it from what I can see. It just gives you
  whatever it gets from Twitter which leads me to believe I am missing
  some kind of parameter or there is a bug with the API and OAuth.
 
  On Oct 27, 1:46 pm, JDG ghil...@gmail.com wrote:
 
   The cursor stuff is still somewhat new. Just because it's on the wiki
   doesn't mean it was provided by Twitter (it's not). It may not have
 been
   updated to handle cursors. You should do a dump via a network
 monitoring
   tool, like wireshark or even just curl, to see what's sent to the oAuth
   class. I can't imagine the HTTP response being that different, unless
   they're doing stuff with User-Agents.
 
   On Tue, Oct 27, 2009 at 11:44, TylerC tyle...@gmail.com wrote:
 
Its the standard OAuth class provided from the Twitter wiki...
 
When I dump it, even with var dump or print it begins with :
 
?xml version=1.0 encoding=UTF-8?
users type=array
 
But then right after the /users tag the data ends. Its very odd and
its driving me nuts.
 
On Oct 27, 1:40 pm, JDG ghil...@gmail.com wrote:
 are you sure they're not returned via the script? did you dump the
 data
you
 received using wireshark or some other network monitoring tool? it
 could
be
 that the $oauth class is simply not parsing it correctly.
 
 On Tue, Oct 27, 2009 at 11:31, TylerC tyle...@gmail.com wrote:
 
  I really don't get it now... I am making a call to get all my
 friends
  and I am only getting data between the users/users tags. I
 need to
  get cursors and while they are returned when going through the
 browser
  they do not show up when ran from my script. wtf...
 
 $users = $oauth-oAuthRequest(
 
   http://twitter.com/statuses/friends.xml?cursor=-1
  ,
 array(), GET
 );
 
 $xml = simplexml_load_string($users);
 $next_page = $xml-next_cursor;
 
  Its like the only data returned is the user array...
 
 --
 Internets. Serious business.
 
   --
   Internets. Serious business.




-- 
Internets. Serious business.


[twitter-dev] Re: No Cursor Data Returned

2009-10-27 Thread Michael Steuer


Are you sure that's where the cursor=-1 is supposed to go? Isn't the  
array meant to contain all the options you want to pass? Perhaps your  
library is cleaning up your URL to make sure it has no request  
parameters and only passing the parameters in the array that you're  
passing as a 2nd parameter to your oAuthRequest function.




On Oct 27, 2009, at 12:32 PM, TylerC tyle...@gmail.com wrote:



Further moor I edited the OAuth script for some debugging and output
the exact string returned by the CURL call and there is still no
next_cursor showing up.

On Oct 27, 1:52 pm, TylerC tyle...@gmail.com wrote:
Idk the OAuth files just return all the data from the CURL query  
there

is not any parsing done to it from what I can see. It just gives you
whatever it gets from Twitter which leads me to believe I am missing
some kind of parameter or there is a bug with the API and OAuth.

On Oct 27, 1:46 pm, JDG ghil...@gmail.com wrote:

The cursor stuff is still somewhat new. Just because it's on the  
wiki
doesn't mean it was provided by Twitter (it's not). It may not  
have been
updated to handle cursors. You should do a dump via a network  
monitoring
tool, like wireshark or even just curl, to see what's sent to the  
oAuth
class. I can't imagine the HTTP response being that different,  
unless

they're doing stuff with User-Agents.



On Tue, Oct 27, 2009 at 11:44, TylerC tyle...@gmail.com wrote:



Its the standard OAuth class provided from the Twitter wiki...



When I dump it, even with var dump or print it begins with :



?xml version=1.0 encoding=UTF-8?
users type=array


But then right after the /users tag the data ends. Its very odd  
and

its driving me nuts.



On Oct 27, 1:40 pm, JDG ghil...@gmail.com wrote:
are you sure they're not returned via the script? did you dump  
the data

you
received using wireshark or some other network monitoring tool?  
it could

be

that the $oauth class is simply not parsing it correctly.



On Tue, Oct 27, 2009 at 11:31, TylerC tyle...@gmail.com wrote:


I really don't get it now... I am making a call to get all my  
friends
and I am only getting data between the users/users tags. I  
need to
get cursors and while they are returned when going through the  
browser

they do not show up when ran from my script. wtf...



   $users = $oauth-oAuthRequest(
   

http://twitter.com/statuses/friends.xml?cursor=-1

,
   array(), GET
   );



   $xml = simplexml_load_string($users);
   $next_page = $xml-next_cursor;



Its like the only data returned is the user array...



--
Internets. Serious business.



--
Internets. Serious business.


[twitter-dev] Re: No Cursor Data Returned

2009-10-27 Thread Dave Briccetti

I also recommend using Wireshark, tcpdump or the like to get an
authoritative picture of what’s happening. And if there is indeed a
bug, the output serves as clear proof.


[twitter-dev] Re: Search API - 403 bursts and (maybe) a caching issue.

2009-10-27 Thread Marc W


A number of people are seeing similar things, especially if you
specify a since_id:

http://groups.google.com/group/twitter-development-talk/browse_thread/thread/e6289b6439c1d26d/e367ca8af09d28d5?lnk=gstq=searches+returning+no+tweetspli=1

My current (extremely bad) solution is to just hire hose and get all
the tweets every time, and then filter out those I've seen before by
id.  Gaaak!

I'll see if opening a support ticket or whatever helps with this
instead.

Mark.


On Oct 27, 6:28 am, briantroy brian.cosin...@gmail.com wrote:
 This is happening RIGHT NOW for the following:

 1) Go to search.twitter.com and enter tweetsforboobs OR
 tweetforboobs as the search.

 2) Go tohttp://tweetsforboobs.organd see the twitter feed on the
 left.

 Notice that the last tweet from 2 hours ago (VerticalMeasures) is not
 in the twitter feed on tweetsforboobs.org. Also note the ID of the
 tweet - from VerticalMeasures that is missing from tweetsforboobs.org:
 5181937429

 Now here is the log file of the Twitter API call:

 DEBUG: 06:18:01 PM on Mon October 26th Doing CURL fetch with User
 Agent: justsignal/1.0 (+http://justsignal.com) and 
 RFERER:http://justsignal.com/widgets/20ab5e90bf116397d6fb84ca80321928/widget...
 DEBUG: 06:18:01 PM on Mon October 26th Twitter responded with 200 HTTP
 Status Code.
 DEBUG: 06:18:01 PM on Mon October 26th MaxID: 5182676703
 DEBUG: 06:18:01 PM on Mon October 26th There are: 0 results in this
 fetch.
 Updating number for api hits for hour: 18 to: 6
 THROTTLE-69: 06:18:01 PM on Mon October 26th Slowing collection...
 Avg: 0 returning delay: 180
 DEBUG: 06:18:01 PM on Mon October 26th Checking for next page... 
 DEBUG: 06:18:01 PM on Mon October 26th There is NOT another page of
 results...
 DEBUG: 06:18:01 PM on Mon October 26th Old max: 5182676703 New max:
 5182676703
 DEBUG: 06:18:01 PM on Mon October 26th Old max: 5182676703 New max:
 5182676703

 Note that our id is already  the last tweet ID from VerticalMeasures,
 yet we never got that tweet. Our id from the log snip: (5182676703) is
 NOT in our database (we never got it). It does not match the tweet ID
 before Vertical Measures: 5180513610

 Somehow the API is returning a new (and bigger) max id on 200
 responses with no tweets in them OR on 403 (those are the only two
 http codes in the log for today). Either way, that shouldn't be
 happening.

 Brian Roy
 justSignal

 On Oct 26, 12:47 pm, briantroy brian.cosin...@gmail.com wrote:



  Everything below ONLY PERTAINS TO THE SEARCH API:

  1) Since late last week I've noticed a significant number of 403
  errors (403 Error from JSON: since_id too recent, poll less
  frequently). These usually indicate I'm hitting a server with an
  older view of the search index - since it thinks the ID I sent in
  since_id is newer than the newest it has. These trouble me because
  when I get a 200 after the 403 sometimes I get everything back to my
  since_id, sometimes I don't. I appears some indexes have gaps until
  they catch up.

  QUESTION: Are there any ongoing search indexing issues that you are
  aware of?

  2) Since late last week I've noticed that some search API requests
  appear to get stuck returning an empty json result (no new tweets).
  This can go on for HOURS (today one got stuck like this for 12 hours).
  When I restart my process sometimes this clears up (I get the backlog)
  - other times it does not (I continue to get 0 tweets in the json).
  All of the requests return HTTP 200 and valid json.

  QUESTION: Are they any ongoing caching issues with the search API?

  These issues are new in the last 7 days (since about last Thursday).
  My IP is whitelisted. I'm sending both a valid user agent and referrer
  header. My processes are throttled by the volume of tweets the
  receive. I've made no changes to my processing since late September.

  Any assistance would be appreciated. My user's are comparing what they
  see from my service to search.twitter.com and telling me we are
  broken.

  Regards,

  Brian Roy
  justSignal


[twitter-dev] Suggestion: Ability to just search amongst a user's friends

2009-10-27 Thread Jesse Stay
I have a project in which it would be tremendously easier if I could just
specify a search to take place amongst a particular user's Twitter friends,
instead of across the entire site.  Is there a way to do this currently?  If
not, is this something the team could consider?  I can make it work by
comparing the full results to a list of friends, but that seems like
unnecessary work.

Thanks,

Jesse


[twitter-dev] Re: Search API - 403 bursts and (maybe) a caching issue.

2009-10-27 Thread Marc W

It looks as though it depends on the exact nature of the query.

The following always return up to date results, even with a since_id
(I haven't included those since_ids here)

http://search.twitter.com/search.json?q=hong+kong+OR+kowloonrpp=100
http://search.twitter.com/search.json?q=%23iphonerpp=100

but the following will just return 200 OK with no results:

http://search.twitter.com/search.json?q=from%3ADavidFeng+OR+from%3ABeijingWithKids+OR+from%3ABlueJDMBA+OR+from%3Akaiserkuo+OR+from%3Acharlieflint+OR+from%3Aourmaninshrpp=100
http://search.twitter.com/search.json?q=%23beijing+OR+%E5%8C%97%E4%BA%AC+OR+beijing+OR+%E5%8D%97%E7%BD%97%E6%95%85%E4%B9%A1+OR+nanluoguxiang+OR+%E4%B8%89%E9%87%8C%E5%B1%AF+OR+%E4%BA%94%E9%81%93%E5%8F%A3+OR+%E6%9C%9B%E4%BA%AC+OR+wudaokou+OR+sanlitunrpp=100

Interesting: change the above first query to:

http://search.twitter.com/search.json?q=hong+kong+OR+kowloon+OR+tsim+tsa+shuirpp=100

and then the results STOP coming if there is a since_id 


I've filed a support ticket with Twitter ( 623447 ) with this info,
and hopefully we'll see some progress on it.

Mark.


On Oct 28, 9:56 am, Marc W marcwanchipm...@gmail.com wrote:
 A number of people are seeing similar things, especially if you
 specify a since_id:

 http://groups.google.com/group/twitter-development-talk/browse_thread...

 My current (extremely bad) solution is to just hire hose and get all
 the tweets every time, and then filter out those I've seen before by
 id.  Gaaak!

 I'll see if opening a support ticket or whatever helps with this
 instead.

 Mark.

 On Oct 27, 6:28 am, briantroy brian.cosin...@gmail.com wrote:



  This is happening RIGHT NOW for the following:

  1) Go to search.twitter.com and enter tweetsforboobs OR
  tweetforboobs as the search.

  2) Go tohttp://tweetsforboobs.organdsee the twitter feed on the
  left.

  Notice that the last tweet from 2 hours ago (VerticalMeasures) is not
  in the twitter feed on tweetsforboobs.org. Also note the ID of the
  tweet - from VerticalMeasures that is missing from tweetsforboobs.org:
  5181937429

  Now here is the log file of the Twitter API call:

  DEBUG: 06:18:01 PM on Mon October 26th Doing CURL fetch with User
  Agent: justsignal/1.0 (+http://justsignal.com) and 
  RFERER:http://justsignal.com/widgets/20ab5e90bf116397d6fb84ca80321928/widget...
  DEBUG: 06:18:01 PM on Mon October 26th Twitter responded with 200 HTTP
  Status Code.
  DEBUG: 06:18:01 PM on Mon October 26th MaxID: 5182676703
  DEBUG: 06:18:01 PM on Mon October 26th There are: 0 results in this
  fetch.
  Updating number for api hits for hour: 18 to: 6
  THROTTLE-69: 06:18:01 PM on Mon October 26th Slowing collection...
  Avg: 0 returning delay: 180
  DEBUG: 06:18:01 PM on Mon October 26th Checking for next page... 
  DEBUG: 06:18:01 PM on Mon October 26th There is NOT another page of
  results...
  DEBUG: 06:18:01 PM on Mon October 26th Old max: 5182676703 New max:
  5182676703
  DEBUG: 06:18:01 PM on Mon October 26th Old max: 5182676703 New max:
  5182676703

  Note that our id is already  the last tweet ID from VerticalMeasures,
  yet we never got that tweet. Our id from the log snip: (5182676703) is
  NOT in our database (we never got it). It does not match the tweet ID
  before Vertical Measures: 5180513610

  Somehow the API is returning a new (and bigger) max id on 200
  responses with no tweets in them OR on 403 (those are the only two
  http codes in the log for today). Either way, that shouldn't be
  happening.

  Brian Roy
  justSignal

  On Oct 26, 12:47 pm, briantroy brian.cosin...@gmail.com wrote:

   Everything below ONLY PERTAINS TO THE SEARCH API:

   1) Since late last week I've noticed a significant number of 403
   errors (403 Error from JSON: since_id too recent, poll less
   frequently). These usually indicate I'm hitting a server with an
   older view of the search index - since it thinks the ID I sent in
   since_id is newer than the newest it has. These trouble me because
   when I get a 200 after the 403 sometimes I get everything back to my
   since_id, sometimes I don't. I appears some indexes have gaps until
   they catch up.

   QUESTION: Are there any ongoing search indexing issues that you are
   aware of?

   2) Since late last week I've noticed that some search API requests
   appear to get stuck returning an empty json result (no new tweets).
   This can go on for HOURS (today one got stuck like this for 12 hours).
   When I restart my process sometimes this clears up (I get the backlog)
   - other times it does not (I continue to get 0 tweets in the json).
   All of the requests return HTTP 200 and valid json.

   QUESTION: Are they any ongoing caching issues with the search API?

   These issues are new in the last 7 days (since about last Thursday).
   My IP is whitelisted. I'm sending both a valid user agent and referrer
   header. My processes are throttled by the volume of tweets the
   receive. I've made no changes to my processing since late 

[twitter-dev] Re: Suggestion: Ability to just search amongst a user's friends

2009-10-27 Thread Chad Etzel
This is something that we're considering internally. I'll bring it up again,
though.

-Chad

On Tue, Oct 27, 2009 at 11:33 PM, Jesse Stay jesses...@gmail.com wrote:

 I have a project in which it would be tremendously easier if I could just
 specify a search to take place amongst a particular user's Twitter friends,
 instead of across the entire site.  Is there a way to do this currently?  If
 not, is this something the team could consider?  I can make it work by
 comparing the full results to a list of friends, but that seems like
 unnecessary work.

 Thanks,

 Jesse



[twitter-dev] Re: Suggestion: Ability to just search amongst a user's friends

2009-10-27 Thread Jesse Stay
Thanks Chad!

On Tue, Oct 27, 2009 at 10:02 PM, Chad Etzel c...@twitter.com wrote:

 This is something that we're considering internally. I'll bring it up
 again, though.

 -Chad


 On Tue, Oct 27, 2009 at 11:33 PM, Jesse Stay jesses...@gmail.com wrote:

 I have a project in which it would be tremendously easier if I could just
 specify a search to take place amongst a particular user's Twitter friends,
 instead of across the entire site.  Is there a way to do this currently?  If
 not, is this something the team could consider?  I can make it work by
 comparing the full results to a list of friends, but that seems like
 unnecessary work.

 Thanks,

 Jesse





[twitter-dev] Re: Suggestion: Ability to just search amongst a user's friends

2009-10-27 Thread Shannon Clark
On a related point as a Twitter user with far more than 3200 tweets  
any chance that the following two features might also be considered:


1. Search your OWN tweets? (ideally all not just the most recent 3200  
- both DM's  tweets - possibly including DM's recieved as well as sent)


2. Retrieve, perhaps download, all of your own tweets in a standard,  
structured format ideally including the URL's for each tweet.


And a third thought any possibility of adding an info feature to  
show backlinks? (akin to how bit.ly does this) both for a Twitter  
profile and for individual tweets? Perhaps also for search urls?


Shannon

Sent from my iPhone

On Oct 27, 2009, at 9:02 PM, Chad Etzel c...@twitter.com wrote:

This is something that we're considering internally. I'll bring it  
up again, though.


-Chad

On Tue, Oct 27, 2009 at 11:33 PM, Jesse Stay jesses...@gmail.com  
wrote:
I have a project in which it would be tremendously easier if I could  
just specify a search to take place amongst a particular user's  
Twitter friends, instead of across the entire site.  Is there a way  
to do this currently?  If not, is this something the team could  
consider?  I can make it work by comparing the full results to a  
list of friends, but that seems like unnecessary work.


Thanks,

Jesse





[twitter-dev] To find out ids directly that both in (follower/ids) and ( friends/ids ) ?

2009-10-27 Thread Chi-Shun Chen

Hi all.

I had a question,
take a example for show what i want:

if someone's
  Followers/ids = A,B,C,D,E,G
  Friends/ids = D,F,G

are there a API that can get  result  Xxxx/ids= D,G   directly?


Its easy  to call two apis and calculate by myself when two list are
small.
but it become inconvenient when one list is huge,(such as 7000 ids +
10 ids )







thanks.


Andrew




[twitter-dev] Twitter app that redirects to a download after tweeting

2009-10-27 Thread jstevensdesign

I'm trying to put together a Twitter app for a band that will have you
sign in, add a tweet (a preset tweet about getting a band's free EP),
and then take you to a page where you can download a free EP.

I've never worked with creating a Twitter app before.

Can anyone help or give advice?



[twitter-dev] Twitter Consumer Key issues

2009-10-27 Thread chris7878

I hired a developer to create a twiter application for me.  This
developer did not complete the job, adn gave up about half way
through.  He was able to obtain a twitter consumer and secret key, and
i now need to login to change a setting, however i do not know what
twitter account or login was used to create the key.  Is there
anywhere or any way i can find this information?

Any help is greatly appreciated
mitchell.chris at gmail.com

Thanks


[twitter-dev] Invalid Signature when manipulating URL directly

2009-10-27 Thread whomba

Hello all.  I just recently started using the twitter API and oAuth
for a site I am working on.  After wrapping my head around oAuth
things seemed to be going well.  Out of the 12 components of the
library i am using, 8 worked right off the bat. Unfortunately, methods
where I change the URL, then post to it seem to be breaking, resulting
an invalid signature response.  I am able to successfully post a new
status, get timelines and grab direct messages, so I am fairly
confident that my oAuth lib is working

my URL is constructed as follows (replaced the '' with new lines for
readiblity):
[POST-ing]
http://www.twitter.com/statuses/destroy/5206890175.xml?
oauth_consumer_key=Y6AmNZPU23AOQLwCSmevQ
oauth_nonce=ret3uSMFONY
oauth_signature=QBzS8c51wJE6KuHG8XjlmrzL2Ko%3D
oauth_signature_method=HMAC-SHA1
oauth_timestamp=1256668802
oauth_token=83934696-9mlDot0sC1YbL2907BopkexMJwAFR8WdZojMJCmC1
oauth_version=1.0

This results in the aforementioned error.  Am I suppose to use a
different URL when I encode it?

I appreciate the assistance, this is my first time working with oAuth,
and I am a still a bit fuzy.


[twitter-dev] Basic Authentication

2009-10-27 Thread Allison Inouye

I'm trying to make a blackberry app that gets your friends timeline.
However I keep getting the 401 unauthorized error on any attempt I
make. I am using the same code as the open source BBTweet so I don't
understand why this doesn't work for me. The username and password are
correct. If I copy and paste them into the twitter login page it works
fine. Do I need to sign up somewhere to get this to work?
AuhenticationHash is not null either I tried printing it out.

ENCODING:
byte[] toEncode = (username:password).getBytes();
ByteArrayOutputStream newHash = new ByteArrayOutputStream
(toEncode.length);
Base64OutputStream base64OutputStream = new Base64OutputStream
(newHash);

try {
base64OutputStream.write(toEncode, 0, toEncode.length);
base64OutputStream.flush();
base64OutputStream.close();
}
catch (Exception ioe) {
}

authenticationHash = newHash.toString();

GET:
StreamConnection s = (StreamConnection)Connector.open(http://
twitter.com/statuses/friends_timeline.xml, Connector.READ_WRITE,
true);
sendConn = (HttpConnection)s;
sendConn.setRequestProperty
(HttpProtocolConstants.HEADER_AUTHORIZATION,Basic  +
authenticationHash);
sendConn.setRequestMethod(GET);


[twitter-dev] Lang detection on search

2009-10-27 Thread Tadeu Andrade

Is the language selection broken?
Couldn't get results according to language I selected :S


[twitter-dev] Any update on the List API?

2009-10-27 Thread matthewford

Hi I was wondering what the status of the List API was? Is the API
going to publicized any time soon, as I'm looking forward to
implementing it into @tweetarium.

Cheers,
Matthew Ford
@matthewcford


[twitter-dev] Re: revisiting: Have you read the OneForty.com Developer Contract?

2009-10-27 Thread matthewford

While tweetarium was on the front page (newly listed) it sent us
around 20 unique's a day, each averaging 5 mins and 8 pages views. Not
masses of traffic but better quality than other sources so far.

Matt

On Oct 27, 8:57 am, Andrew Badera and...@badera.us wrote:
 It's been a couple weeks ... not to antagonize anyone or stir up a
 hornet's nest, but I'm curious, what are peoples' takes on oneforty
 now? Looks like TOS is revamped.

 Who's using it? What have your experiences been?

 ∞ Andy Badera
 ∞ +1 518-641-1280
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me:http://www.google.com/search?q=andrew%20badera


[twitter-dev] Re: Twitter app that redirects to a download after tweeting

2009-10-27 Thread Leon Spencer

Twitter Oauth or open new window via http://tinyurl.com/yh2fb2k.

Check  online tutorials and Twitter Libraries:

Writing your first Twitter Application w/Oauth: 
http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/

http://wiki.github.com/jmathai/twitter-async
http://wiki.github.com/jmathai/twitter-async#basic_vs_oauth

Oauth background  faq:
http://apiwiki.twitter.com/OAuth-FAQ#WhatisOAuth

Oauth Examples:
http://apiwiki.twitter.com/OAuth-Examples

Leon




From: jstevensdesign joshsteven...@gmail.com
To: Twitter Development Talk twitter-development-talk@googlegroups.com
Sent: Tue, October 27, 2009 7:52:51 PM
Subject: [twitter-dev] Twitter app that redirects to a download after tweeting


I'm trying to put together a Twitter app for a band that will have you
sign in, add a tweet (a preset tweet about getting a band's free EP),
and then take you to a page where you can download a free EP.

I've never worked with creating a Twitter app before.

Can anyone help or give advice?