[twitter-dev] Re: Newbie question - please help.

2010-05-24 Thread gus
Thanks Georgios, your website does exactly what I need. Except that I
don't need to use a website, but to built this functionality into my
application, that will show real-time results for a certain groups of
tweets competing for popularity. I don't want my app to scrape your
pages (for example by doing a request to 
http://favorious.com/search/favorites?s=cerati)
but rather to get the data directly from the Twitter API.
Since you have achieved this already, do you have any advice on how to
tackle this?
How does your website know how many times a given tweet has been
favorited?


On May 23, 8:21 pm, Georgios kapero...@gmail.com wrote:
 Hi Gustavo

 Favorious ( a href=http://favorious.com;http://favorious.com/a ),
 which is a website I have recently launched, can do exactly what you
 want.

 Cheers
 Georgios

 On May 23, 11:17 pm, gus gus...@gmail.com wrote:



  result_type=popular won't do it for my project. This criterion is very
  restrictive. Even if one searches for a widely used hashtag such as
  #cerati, no results or very few results will show up as popular. In
  fact, if you search for twitter you get only a couple of popular
  tweets!

  Furthermore, the problem with result_type=popular is that you cannot
  measure exactly how popular any of the results are. You can't order
  them by popularity either. How many times have they been RT? How many
  times have they been favorited? It's a black box.

  What I would like to do is to query the API in such a way that I can
  get, for instance, all tweets that have been favorited at least 5
  times for a given hashtag.

  What I am doing right now is:
  - search for all tweets that include the hashtag
  - count how many times each of them have been favorited by the
  (~1,500) followers of my account. (For this I use the favorite API
  method).

  What I would like to achieve is:
  - find out how many times each of those tweets has been favorited by
  any users (not just my followers). But it seems this can't be done.
  - query the API in a simpler way (right now I have to constantly check
  the tweets that have been favorited by each of my 1,500 followers just
  to see if they happen to have favorited any of the tweets that contain
  the hashtag in question).

  Thanks,

  Gustavo

  On May 23, 10:22 am, bum meest...@gmail.com wrote:

   Has anyone gotten result_type=popular to work in the search api?  I
   must be doing something silly since for the life of me I can't get it
   to return any results.

   On May 22, 11:52 pm, gus gus...@gmail.com wrote:

Thanks, I'll try that.

On May 22, 12:35 pm, Abraham Williams 4bra...@gmail.com wrote:

 Try using the popular feature of the search 
 method:http://dev.twitter.com/doc/get/search

 Abraham

 On Thu, May 20, 2010 at 15:28, gus gus...@gmail.com wrote:
  Hello,

  I want to develop a web-based application that will search for the
  most favorited tweets for a given hashtag. For example, a user may
  type cerati in a textbox and the application will return the 
  tweets
  that contain the hashtag #cerati and have been favorited more than x
  (3, 4, 5) times.

  My questions are:
  - Is this possible?
  - If so, what method should I use?

  It appears to me that if I use the search API I don't get a
  favourite_count among the results. And I can't specify something 
  like
  minimum amount of times tweet was favorited as a parameter.

  Or maybe I can use the search API to get the tweets that contain the
  hashtag and then iterate thorugh the list to obtain the number of
  times each tweet was favorited?

  Another alternative: instead of doing this with the public timeline
  (ideal solution) do it for all tweets by the users a person is
  following. Can this be done?

  Thanks for your help.

  Gustavo

 --
 Abraham Williams | Developer for hire |http://abrah.am
 @abraham |http://projects.abrah.am|http://blog.abrah.am
 This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: Newbie question - please help.

2010-05-23 Thread bum

Has anyone gotten result_type=popular to work in the search api?  I
must be doing something silly since for the life of me I can't get it
to return any results.

On May 22, 11:52 pm, gus gus...@gmail.com wrote:
 Thanks, I'll try that.

 On May 22, 12:35 pm, Abraham Williams 4bra...@gmail.com wrote:



  Try using the popular feature of the search 
  method:http://dev.twitter.com/doc/get/search

  Abraham

  On Thu, May 20, 2010 at 15:28, gus gus...@gmail.com wrote:
   Hello,

   I want to develop a web-based application that will search for the
   most favorited tweets for a given hashtag. For example, a user may
   type cerati in a textbox and the application will return the tweets
   that contain the hashtag #cerati and have been favorited more than x
   (3, 4, 5) times.

   My questions are:
   - Is this possible?
   - If so, what method should I use?

   It appears to me that if I use the search API I don't get a
   favourite_count among the results. And I can't specify something like
   minimum amount of times tweet was favorited as a parameter.

   Or maybe I can use the search API to get the tweets that contain the
   hashtag and then iterate thorugh the list to obtain the number of
   times each tweet was favorited?

   Another alternative: instead of doing this with the public timeline
   (ideal solution) do it for all tweets by the users a person is
   following. Can this be done?

   Thanks for your help.

   Gustavo

  --
  Abraham Williams | Developer for hire |http://abrah.am
  @abraham |http://projects.abrah.am|http://blog.abrah.am
  This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: Newbie question - please help.

2010-05-23 Thread gus
result_type=popular won't do it for my project. This criterion is very
restrictive. Even if one searches for a widely used hashtag such as
#cerati, no results or very few results will show up as popular. In
fact, if you search for twitter you get only a couple of popular
tweets!

Furthermore, the problem with result_type=popular is that you cannot
measure exactly how popular any of the results are. You can't order
them by popularity either. How many times have they been RT? How many
times have they been favorited? It's a black box.

What I would like to do is to query the API in such a way that I can
get, for instance, all tweets that have been favorited at least 5
times for a given hashtag.

What I am doing right now is:
- search for all tweets that include the hashtag
- count how many times each of them have been favorited by the
(~1,500) followers of my account. (For this I use the favorite API
method).

What I would like to achieve is:
- find out how many times each of those tweets has been favorited by
any users (not just my followers). But it seems this can't be done.
- query the API in a simpler way (right now I have to constantly check
the tweets that have been favorited by each of my 1,500 followers just
to see if they happen to have favorited any of the tweets that contain
the hashtag in question).

Thanks,

Gustavo






On May 23, 10:22 am, bum meest...@gmail.com wrote:
 Has anyone gotten result_type=popular to work in the search api?  I
 must be doing something silly since for the life of me I can't get it
 to return any results.

 On May 22, 11:52 pm, gus gus...@gmail.com wrote:



  Thanks, I'll try that.

  On May 22, 12:35 pm, Abraham Williams 4bra...@gmail.com wrote:

   Try using the popular feature of the search 
   method:http://dev.twitter.com/doc/get/search

   Abraham

   On Thu, May 20, 2010 at 15:28, gus gus...@gmail.com wrote:
Hello,

I want to develop a web-based application that will search for the
most favorited tweets for a given hashtag. For example, a user may
type cerati in a textbox and the application will return the tweets
that contain the hashtag #cerati and have been favorited more than x
(3, 4, 5) times.

My questions are:
- Is this possible?
- If so, what method should I use?

It appears to me that if I use the search API I don't get a
favourite_count among the results. And I can't specify something like
minimum amount of times tweet was favorited as a parameter.

Or maybe I can use the search API to get the tweets that contain the
hashtag and then iterate thorugh the list to obtain the number of
times each tweet was favorited?

Another alternative: instead of doing this with the public timeline
(ideal solution) do it for all tweets by the users a person is
following. Can this be done?

Thanks for your help.

Gustavo

   --
   Abraham Williams | Developer for hire |http://abrah.am
   @abraham |http://projects.abrah.am|http://blog.abrah.am
   This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: Newbie question - please help.

2010-05-23 Thread Georgios
Hi Gustavo

Favorious ( a href=http://favorious.com;http://favorious.com/a ),
which is a website I have recently launched, can do exactly what you
want.

Cheers
Georgios

On May 23, 11:17 pm, gus gus...@gmail.com wrote:
 result_type=popular won't do it for my project. This criterion is very
 restrictive. Even if one searches for a widely used hashtag such as
 #cerati, no results or very few results will show up as popular. In
 fact, if you search for twitter you get only a couple of popular
 tweets!

 Furthermore, the problem with result_type=popular is that you cannot
 measure exactly how popular any of the results are. You can't order
 them by popularity either. How many times have they been RT? How many
 times have they been favorited? It's a black box.

 What I would like to do is to query the API in such a way that I can
 get, for instance, all tweets that have been favorited at least 5
 times for a given hashtag.

 What I am doing right now is:
 - search for all tweets that include the hashtag
 - count how many times each of them have been favorited by the
 (~1,500) followers of my account. (For this I use the favorite API
 method).

 What I would like to achieve is:
 - find out how many times each of those tweets has been favorited by
 any users (not just my followers). But it seems this can't be done.
 - query the API in a simpler way (right now I have to constantly check
 the tweets that have been favorited by each of my 1,500 followers just
 to see if they happen to have favorited any of the tweets that contain
 the hashtag in question).

 Thanks,

 Gustavo

 On May 23, 10:22 am, bum meest...@gmail.com wrote:



  Has anyone gotten result_type=popular to work in the search api?  I
  must be doing something silly since for the life of me I can't get it
  to return any results.

  On May 22, 11:52 pm, gus gus...@gmail.com wrote:

   Thanks, I'll try that.

   On May 22, 12:35 pm, Abraham Williams 4bra...@gmail.com wrote:

Try using the popular feature of the search 
method:http://dev.twitter.com/doc/get/search

Abraham

On Thu, May 20, 2010 at 15:28, gus gus...@gmail.com wrote:
 Hello,

 I want to develop a web-based application that will search for the
 most favorited tweets for a given hashtag. For example, a user may
 type cerati in a textbox and the application will return the tweets
 that contain the hashtag #cerati and have been favorited more than x
 (3, 4, 5) times.

 My questions are:
 - Is this possible?
 - If so, what method should I use?

 It appears to me that if I use the search API I don't get a
 favourite_count among the results. And I can't specify something like
 minimum amount of times tweet was favorited as a parameter.

 Or maybe I can use the search API to get the tweets that contain the
 hashtag and then iterate thorugh the list to obtain the number of
 times each tweet was favorited?

 Another alternative: instead of doing this with the public timeline
 (ideal solution) do it for all tweets by the users a person is
 following. Can this be done?

 Thanks for your help.

 Gustavo

--
Abraham Williams | Developer for hire |http://abrah.am
@abraham |http://projects.abrah.am|http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: Newbie question - please help.

2010-05-22 Thread gus
Thanks, I'll try that.

On May 22, 12:35 pm, Abraham Williams 4bra...@gmail.com wrote:
 Try using the popular feature of the search 
 method:http://dev.twitter.com/doc/get/search

 Abraham



 On Thu, May 20, 2010 at 15:28, gus gus...@gmail.com wrote:
  Hello,

  I want to develop a web-based application that will search for the
  most favorited tweets for a given hashtag. For example, a user may
  type cerati in a textbox and the application will return the tweets
  that contain the hashtag #cerati and have been favorited more than x
  (3, 4, 5) times.

  My questions are:
  - Is this possible?
  - If so, what method should I use?

  It appears to me that if I use the search API I don't get a
  favourite_count among the results. And I can't specify something like
  minimum amount of times tweet was favorited as a parameter.

  Or maybe I can use the search API to get the tweets that contain the
  hashtag and then iterate thorugh the list to obtain the number of
  times each tweet was favorited?

  Another alternative: instead of doing this with the public timeline
  (ideal solution) do it for all tweets by the users a person is
  following. Can this be done?

  Thanks for your help.

  Gustavo

 --
 Abraham Williams | Developer for hire |http://abrah.am
 @abraham |http://projects.abrah.am|http://blog.abrah.am
 This email is: [ ] shareable [x] ask first [ ] private.