Re: [twitter-dev] Search Twitter Feed from a group of Twitters

2011-01-12 Thread Mauro Asprea
Hi you can take a look at  http://dev.twitter.com/doc ;)

On Wed, Jan 12, 2011 at 7:13 AM, Abhi abhishek2j...@gmail.com wrote:

 Hi, I am New to the Twitter search API and was wondering if someone
 can please help me on where to find some guidance on how to use
 Twitter Search API to find tweets from a group of twitters.

 Thanks for all the help in advance

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk




-- 
Mauro Sebastián Asprea

E-Mail: mauroasp...@gmail.com
Mobile: +34 654297582
Skype: mauro.asprea

Algunos hombres ven las cosas como son y se preguntan porque. Otros sueñan
cosas que nunca fueron y se preguntan por qué no?.
George Bernard Shaw

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Return number of tweets in a Search

2011-01-12 Thread Steve
Hi, I'm developing an application using the Twitter Ruby gem in Rails,
and was wondering whether there was a way to return the number of
tweets containing a certain hashtag?

I'm looking to display random tweets on a page which contain a
particular hashtag (I know there are issues with hashtag abuse, but
this is an internal application) when being pulled in from a Twitter
Search API call.

I can display a random tweet using the following code, but how would
you go about modifying it so that the maximum random is the number of
search results? So if there were 2500 results on one query but 30,000
on another, is there a way to change the random max dynamically based
on the number available?

 search.hashtag(somehashtag).since_id(2011-01-01).until_date(2011-01-11).result_type(recent).per_page(1).page(rand(1500))

Setting the random as 1,000,000 and then looping through when you hit
an HTTP error probably isn't the best approach ;)

Thanks for any help!

Steve

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: Search Twitter Feed from a group of Twitters

2011-01-12 Thread Abhi
Thanks. I looked at it but It just allows me to search for twitter
feed from one user. I want to be able to search for twitter feed from
multiple users at once.

On Jan 12, 12:30 am, Mauro Asprea mauroasp...@gmail.com wrote:
 Hi you can take a look at  http://dev.twitter.com/doc;)

 On Wed, Jan 12, 2011 at 7:13 AM, Abhi abhishek2j...@gmail.com wrote:
  Hi, I am New to the Twitter search API and was wondering if someone
  can please help me on where to find some guidance on how to use
  Twitter Search API to find tweets from a group of twitters.

  Thanks for all the help in advance

  --
  Twitter developer documentation and resources:http://dev.twitter.com/doc
  API updates via Twitter:http://twitter.com/twitterapi
  Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk

 --
 Mauro Sebastián Asprea

 E-Mail: mauroasp...@gmail.com
 Mobile: +34 654297582
 Skype: mauro.asprea

 Algunos hombres ven las cosas como son y se preguntan porque. Otros sueñan
 cosas que nunca fueron y se preguntan por qué no?.
 George Bernard Shaw

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] t.co Posting Questions

2011-01-12 Thread David E . Wheeler
On Dec 18, 2010, at 5:17 PM, David E. Wheeler wrote:

 Currently the API does not shorten the links for you yet. In the future 
 Twitter may implement this, but currently you will have to shorten the links 
 yourself, via (for example) bit.ly.
 
 That's what I thought. Thanks for the confirmation.

It appears that Twitter 2 for the Mac somehow does what I was describing. Try 
typing or pasting a URL into it; it stops counting characters once it 
recognizes it as a URL. You can also send tweets that are over 140 characters 
due to a long URL; it does the shortening using t.co. How does it do it? Is 
there an API for that?

I'm doing the same thing in my app, but using s.coop. would be nice just to be 
able to send stuff to the API an let it do the shortening. I don't suppose 
that's how it works…

Any ideas?

Best,

David

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] t.co Posting Questions

2011-01-12 Thread Abraham Williams
I would not recommend using it yet but Twitter for Mac is using the endpoint
/urls/shorten.json?url=http://example.com

http://t.co/6wD3idD

Abraham
-
Abraham Williams | Hacker Advocate | abrah.am
@abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.



On Wed, Jan 12, 2011 at 10:58, David E. Wheeler da...@kineticode.comwrote:

 On Dec 18, 2010, at 5:17 PM, David E. Wheeler wrote:

  Currently the API does not shorten the links for you yet. In the future
 Twitter may implement this, but currently you will have to shorten the links
 yourself, via (for example) bit.ly.
 
  That's what I thought. Thanks for the confirmation.

 It appears that Twitter 2 for the Mac somehow does what I was describing.
 Try typing or pasting a URL into it; it stops counting characters once it
 recognizes it as a URL. You can also send tweets that are over 140
 characters due to a long URL; it does the shortening using t.co. How does
 it do it? Is there an API for that?

 I'm doing the same thing in my app, but using s.coop. would be nice just
 to be able to send stuff to the API an let it do the shortening. I don't
 suppose that's how it works…

 Any ideas?

 Best,

 David

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Re: Search Twitter Feed from a group of Twitters

2011-01-12 Thread Taylor Singletary
There are no search within a set capabilities really in the Twitter API or
Search API. There are a few approaches you can take, but all of them defer
the search part of operation to you and you'll have to accept that you'll
not have the full possible dataset to search against.

One popular way to search within a given set of users is to assemble a
Twitter List containing the users of interest, paginate through the List
timeline as your needs (and the data supply) allows, and then perform the
search against the tweets/metadata retrieved, acknowledging that a list
doesn't comprise all of the tweets (or any of the retweets) authored by the
users on the list (@replies / tweets beginning with a @mention to users not
belonging to the list are excluded).

Other methods are retrieval of various (user) timelines, merging them
together, then searching against.

The most efficient way to collect tweets for a given set of public users
when historical tweets are not important is to use the follow feature of
the Streaming API.

Taylor


On Wed, Jan 12, 2011 at 10:22 AM, Abhi abhishek2j...@gmail.com wrote:

 Thanks. I looked at it but It just allows me to search for twitter
 feed from one user. I want to be able to search for twitter feed from
 multiple users at once.

 On Jan 12, 12:30 am, Mauro Asprea mauroasp...@gmail.com wrote:
  Hi you can take a look at  http://dev.twitter.com/doc;)
 
  On Wed, Jan 12, 2011 at 7:13 AM, Abhi abhishek2j...@gmail.com wrote:
   Hi, I am New to the Twitter search API and was wondering if someone
   can please help me on where to find some guidance on how to use
   Twitter Search API to find tweets from a group of twitters.
 
   Thanks for all the help in advance
 
   --
   Twitter developer documentation and resources:
 http://dev.twitter.com/doc
   API updates via Twitter:http://twitter.com/twitterapi
   Issues/Enhancements Tracker:
  http://code.google.com/p/twitter-api/issues/list
   Change your membership to this group:
  http://groups.google.com/group/twitter-development-talk
 
  --
  Mauro Sebastián Asprea
 
  E-Mail: mauroasp...@gmail.com
  Mobile: +34 654297582
  Skype: mauro.asprea
 
  Algunos hombres ven las cosas como son y se preguntan porque. Otros
 sueñan
  cosas que nunca fueron y se preguntan por qué no?.
  George Bernard Shaw

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] t.co Posting Questions

2011-01-12 Thread David E. Wheeler
On Jan 12, 2011, at 11:41 AM, Abraham Williams wrote:

 I would not recommend using it yet but Twitter for Mac is using the endpoint
 /urls/shorten.json?url=http://example.com
 
 http://t.co/6wD3idD

Ah, that's pretty nice. Pity the API doesn't do it magically for you, but this 
will be a good compromise. I wonder if there is or will be a parameter that 
causes the short link to simply be returned as the content, like many of the 
shortening services offer (not goo.gl, alas). It's nice not to have to parse 
anything if all you need is a link.

I look forward to seeing this documented/announced at some point…thank for the 
pointer, Abraham.

Best,

David

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Re: Using OAuth Echo

2011-01-12 Thread Matt Harris
Hi Gabe,

We have a page about OAuth Echo on our Developer Resources site:
http://dev.twitter.com/pages/oauth_echo

Let us know if you have any questions which arise from it,

Best
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Sat, Jan 8, 2011 at 4:04 PM, Gabe gabe...@gmail.com wrote:

 Is there any reference implementation of OAuth Echo from a Delegator
 perspective?  I just cannot get this working no matter what.

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: xAuth request returns 401, need help

2011-01-12 Thread Eric Will
Was the cause of the empty response body ever discovered?  I'm having
a similar issue, except my 401 response body has Content-Length: 1
containing an empty space  .


On Nov 19 2010, 3:44 pm, Matt Harris thematthar...@twitter.com
wrote:
 Hey Chrys,

 Agreed. The authentication header doesn't have to be in order but as said
 previously, it helps with debugging.

 It is really strange that the response body is empty. It maybe easier if you
 email me the full request headers, with response headers and content so I
 can debug further. For security it'll be easier if you email me that
 directly.

 Best,
 @themattharris
 Developer Advocate, Twitterhttp://twitter.com/themattharris







 On Fri, Nov 19, 2010 at 12:20 PM, Chrys Bader chr...@gmail.com wrote:
  Also, the example here shows that the Auth header and the base string
  aren't in the same order:

 http://dev.twitter.com/pages/xauth

  On Nov 19, 11:04 am, Matt Harris thematthar...@twitter.com wrote:
   Hey Chrys,

   The order of the parameters in the base string matter and they should be
  in
   lexicollexicographical order. For ease of debugging and to remove any
   ambiguity it would be better to have the authorization header use the
  same
   order too.

   Can you tell me what the body content of the 401 error is?

   Best,
   @themattharris
   Developer Advocate, Twitterhttp://twitter.com/themattharris

   On Thu, Nov 18, 2010 at 6:55 PM, Chrys Bader chr...@gmail.com wrote:
Does the order of the params in either the Authorization or Base
string matter?

Here are my Request Headers:

   Authorization = OAuth oauth_timestamp=\1290134876\, oauth_nonce=
\D3EC42D2-A37F-4298-987D-0F9603B0C9C7\, oauth_version=\1.0\,
oauth_consumer_key=\xxx\, oauth_signature_method=\HMAC-SHA1\,
oauth_signature=\MOWT%2BaSs35RhzvRRMVxRG0Y5p0E%3D\;
   Content-Length = 71;
    Content-Type = application/x-www-form-urlencoded;
charset=utf-8;

Here is my actual base string:

POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
%2Faccess_tokenoauth_consumer_key%3Dxxx%26oauth_nonce%3DD3EC42D2-
A37F-4298-987D-0F9603B0C9C7%26oauth_signature_method%3DHMAC-
SHA1%26oauth_timestamp%3D1290134876%26oauth_version%3D1.0%26x_auth_mode
%3Dclient_auth%26x_auth_password%3Dxxx%26x_auth_username%3Dchrysb

On Nov 18, 6:47 pm, Chrys Bader chr...@gmail.com wrote:
 Yes I compared the UTC timestamp that my phone is generating with the
 actual UTC timestamp, and they were the same.

 Is there anything else I can show you for more information?

 No matter what, I just keep getting a 401 response from Twitter.

 On Nov 18, 6:41 pm, Matt Harris thematthar...@twitter.com wrote:

  OK, but is the UTC timestamp actually accurate? we've heard of a
  number
of
  phones whose date/time are wildly wrong. It maybe find but it's
  quite
  common.

  Your content-type is fine.
  Matt

  On Thu, Nov 18, 2010 at 6:03 PM, Chrys Bader chr...@gmail.com
  wrote:
   Ok, I looked into it.  According to the iPhone SDK documentation,
  I
am
   indeed sending the UTC (GMT) timestamp.

   Still not sure what else could be wrong?

   Is this the right Content-Type?

   Content-Type = application/x-www-form-urlencoded;
  charset=utf-8;

   On Nov 18, 5:53 pm, themattharris thematthar...@twitter.com
  wrote:
Hey Chrys,

A couple of things to check first:

1. Have you been granted xAuth access?
2. Double check the timestamp of your request is within 10 or
  so
minutes of the time returned by Twitter's servers. Our server
  time
is
in UTC.
3. Verify your encoding is correct. For example: a password
  like
ab$
%123 should be in your basestring as ab%2524%2525%2526123 and
  in
your
post body as ab%24%25%26123.

Best,
Matt

On Nov 18, 5:31 pm, Chrys Bader chr...@gmail.com wrote:

 *bump*

 I've run my base string through an oAuth verifier (
   http://quonos.nl/
 oauthTester/), and it all checks out!

 Any ideas?

 On Oct 27, 4:50 pm, Chrys Bader chr...@gmail.com wrote:

  Hey all,

  This is my first post in this group, hi!

  I am having trouble making a request onhttps://
   api.twitter.com/oauth/access_token.
  I've been at this for 2 days and I can't make any progress.
   I
feel
  like everything matches up with all examples,
  documentation,
and
   other
  forum posts perfectly.

  Here is my post body:

  x_auth_username=oauth_test_execx_auth_password=twitter-
  xauthx_auth_mode=client_auth

  Here is my base string (using the example's test
  credentials):

  POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
  %2Faccess_tokenoauth_consumer_key%3DJvyS7DO2qd6NNTsXJ4E7zA
  %26oauth_nonce%3DE0E37C06-F12A-407B-8D80-20C78FF6183A
  

RE: [twitter-dev] Abridged summary of twitter-development-talk@googlegroups.com - 16 Messages in 9 Topics

2011-01-12 Thread Bob Koons
OK, no rush.  We have time.  

 

Thanks, Bob

 

From: twitter-development-talk@googlegroups.com
[mailto:twitter-development-t...@googlegroups.com] On Behalf Of
twitter-development-talk+nore...@googlegroups.com
Sent: Wednesday, January 12, 2011 6:41 PM
To: Abridged Recipients
Subject: [twitter-dev] Abridged summary of
twitter-development-talk@googlegroups.com - 16 Messages in 9 Topics

 

  Today's Topic Summary

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

*   xAuth request returns 401, need help   [1 Update]
*   Using OAuth Echo   [1 Update]
*   t.co Posting Questions   [3 Updates]
*   Search Twitter Feed from a group of Twitters   [4 Updates]
*   Return number of tweets in a Search   [1 Update]
*   Twitter Feed Javascript   [1 Update]
*   ~25% loss rate Streaming API vs. Search API   [1 Update]
*   Twitter feed for corporate website/portal   [3 Updates]
*   Twitter's mobile oauth page waits 10 seconds before redirecting 
[1 Update]

 Topic: xAuth request returns 401, need help
http://groups.google.com/group/twitter-development-talk/t/a3afa0144d4850d7


Eric Will eric.w...@heavy-iron.com Jan 12 11:55AM -0800 ^  
 
Was the cause of the empty response body ever discovered? I'm having
a similar issue, except my 401 response body has Content-Length: 1
containing an empty space  .
 
 
On Nov 19 2010, more...
http://groups.google.com/group/twitter-development-talk/msg/d5f1f38a11c9b7a
b 

 Topic: Using OAuth Echo
http://groups.google.com/group/twitter-development-talk/t/7ecb923529232174


Matt Harris thematthar...@twitter.com Jan 12 12:14PM -0800 ^  
 
Hi Gabe,
 
We have a page about OAuth Echo on our Developer Resources site:
http://dev.twitter.com/pages/oauth_echo
 
Let us know if you have any questions which arise from it,
 
Best more...
http://groups.google.com/group/twitter-development-talk/msg/3a9043a0ba4e707
e 

 Topic: t.co Posting Questions
http://groups.google.com/group/twitter-development-talk/t/6844e1db8e432bec


David E. Wheeler da...@kineticode.com Jan 12 10:58AM -0800 ^  
 
On Dec 18, 2010, at 5:17 PM, David E. Wheeler wrote:
 
 Currently the API does not shorten the links for you yet. In the future
Twitter may implement this, but currently you will have to shorten more...
http://groups.google.com/group/twitter-development-talk/msg/a3e7de5ec972d34
 

Abraham Williams 4bra...@gmail.com Jan 12 11:41AM -0800 ^  
 
I would not recommend using it yet but Twitter for Mac is using the endpoint
/urls/shorten.json?url=http://example.com
 
http://t.co/6wD3idD
 
Abraham
-
Abraham Williams | Hacker more...
http://groups.google.com/group/twitter-development-talk/msg/5caaad0f7e85156
9 

David E. Wheeler da...@kineticode.com Jan 12 12:18PM -0800 ^  
 
On Jan 12, 2011, at 11:41 AM, Abraham Williams wrote:
 
 I would not recommend using it yet but Twitter for Mac is using the
endpoint
 /urls/shorten.json?url=http://example.com
more...
http://groups.google.com/group/twitter-development-talk/msg/ccec61914c2152a
d 

 Topic: Search Twitter Feed from a group of Twitters
http://groups.google.com/group/twitter-development-talk/t/ebe5fde96beac2c5


Abhi abhishek2j...@gmail.com Jan 11 10:13PM -0800 ^  
 
Hi, I am New to the Twitter search API and was wondering if someone
can please help me on where to find some guidance on how to use
Twitter Search API to find tweets from a group of twitters.
more...
http://groups.google.com/group/twitter-development-talk/msg/d7ed9da0306a998
 

Mauro Asprea mauroasp...@gmail.com Jan 12 09:30AM +0100 ^  
 
Hi you can take a look at http://dev.twitter.com/doc ;)
 
 
-- 
Mauro Sebastián Asprea
 
E-Mail: mauroasp...@gmail.com
Mobile: +34 654297582
Skype: mauro.asprea
 
Algunos hombres ven las cosas more...
http://groups.google.com/group/twitter-development-talk/msg/20649102138f22d
6 

Abhi abhishek2j...@gmail.com Jan 12 10:22AM -0800 ^  
 
Thanks. I looked at it but It just allows me to search for twitter
feed from one user. I want to be able to search for twitter feed from
multiple users at once.
 
more...
http://groups.google.com/group/twitter-development-talk/msg/567e9d042cfaf72
c 

Taylor Singletary taylorsinglet...@twitter.com Jan 12 12:01PM -0800 ^  
 
There are no search within a set capabilities really in the Twitter API or
Search API. There are a few approaches you can take, but all of them defer
the search part of operation to you and more...
http://groups.google.com/group/twitter-development-talk/msg/c39f611a49acdc7
b 

 Topic: Return number of tweets in a Search
http://groups.google.com/group/twitter-development-talk/t/e42c5e009f331568


Steve wastedho...@gmail.com Jan 12 04:39AM -0800 ^  
 
Hi, I'm developing an application using the Twitter Ruby gem in Rails,
and was wondering whether there was a way to return the number of
tweets containing a certain hashtag?
 
I'm looking to more...
http://groups.google.com/group/twitter-development-talk/msg/d367435b4c887c3
2 

 Topic: Twitter Feed Javascript

[twitter-dev] Re: User_timeline returns different amount of tweets for each user

2011-01-12 Thread Cisneiros
It was probably a temporary issue. Just came back from a trip and
tried submitting the ticket again, successfully.

Hope I can get some answers! If I do, I'll update here, so people with
the same problem can easily find them :)

Thanks!
Alexandre Cisneiros Filho.

On Jan 7, 12:09 am, Matt Harris mhar...@twitter.com wrote:
 Hey Alexandre,

 Which browser are you using? The ticket submission worked for me so I wonder 
 if it's a browser specific bug.

 Best,
 @themattharris

 On Jan 5, 2011, at 20:37, Cisneiros alexan...@cisneiros.com wrote:







  Sorry, I could not send a ticket, got this: There was an error
  preventing ticket submission. Please try again later.
  Tried more than once and got nothing.

  I'm really blind here, have no idea what's happening... Anyone can
  help?

  Thanks,
  Alexandre Cisneiros.

  On Jan 4, 4:27 pm, Matt Harris thematthar...@twitter.com wrote:
  Hi Alexandre,

  You should be able to access up to 3200 Tweets (including Retweets) for 
  your
  account though the user_timeline method. If this isn't the case let our 
  user
  support team know so they can check nothing has got confused in your
  account. You can contact them through:
     http://bit.ly/twicket

  Best,
  @themattharris
  Developer Advocate, Twitterhttp://twitter.com/themattharris

  On Mon, Jan 3, 2011 at 7:17 PM, Cisneiros alexan...@cisneiros.com wrote:
  Hello.

  I'm developing an application that has to analyse as much tweets of a
  user as possible (all of them would be the optimal case, but the API
  returns up to 3200 tweets, but no big deal).

  The problem is that I'm getting a different amount of tweets for every
  user I try. With my personal account, I can get about 470 tweets (3
  pages of 200 tweets). When I try to get the 4th page, it returns
  blank. You can try it out with my account;

 http://api.twitter.com/1/statuses/user_timeline/Cisneiros.json?count=...
  --- has tweets

 http://api.twitter.com/1/statuses/user_timeline/Cisneiros.json?count=...
  --- hasn't tweets (as of jan 4rd, 2011 / 12:11 AM -03:00)

  I tried to get my tweets while authenticated on my girlfriend's
  account, instead of mine, but got the same results. No matter who is
  authenticated, I get the same number of tweets for every user I try
  (but they differ between themselves).

  If I try another user, I can get more pages (like 15 pages of 200, for
  example). Other users just return 2 pages...
  I really have no idea whats happening. I know that this method strips
  the retweets, but I don't retweet that much to, from 3200 status, have
  only 470 real updates by me.

  If anyone can give a light on how to fetch all possible tweets from a
  user, I you really appreciate. I have done lots of searching, but
  found nothing to help me solving this.

  Thanks in advance,
  Alexandre Cisneiros Filho.

  --
  Twitter developer documentation and resources:http://dev.twitter.com/doc
  API updates via Twitter:http://twitter.com/twitterapi
  Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk

  --
  Twitter developer documentation and resources:http://dev.twitter.com/doc
  API updates via Twitter:http://twitter.com/twitterapi
  Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list
  Change your membership to this 
  group:http://groups.google.com/group/twitter-development-talk

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: Return number of tweets in a Search

2011-01-12 Thread @Red_Eyes
The maximum number of tweets you can return per page is 100. If you return 
all the pages available you can get to around 1,500 max. These limits are 
defined in the search API documentation. (
http://dev.twitter.com/doc/get/search).
 
You may be better either looking at the streaming API and hope some of the 
Tweets you are looking for turn up, or use your random number generator to 
search n times and pull back 100 Tweets at a go. You would have to set an 
interval between searches otherwise you are likley to pull back the same 
Tweet more than once, especially if it is a seldom used hashtag.
 
Perhaps if you have a number of hashtags you are looking for, you could 
round robin through all of them with a suitable delay between each one 
(still checking for duplicates)... or possibly check for the same hashtag at 
the same time each day if you are looking for some sort of frequency 
indicator. Alternatively add some sort of randomness to the date range per 
your example.
 
Paul

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Twitter Button and W3C Validator

2011-01-12 Thread Fabricio Gomes
--- portuguese version
Estou utilizando o Tweet Button na minha pagina web e está causando os
seguintes erros no W3C Validator:

cannot generate system identifier for general entity v
general entity v not defined and no default entity
reference not terminated by REFC delimiter
reference to entity v for which no system identifier could be
generated
entity was defined here

tudo por causa da linha

…script src=http://platform.twitter.com/anywhere.js?
id=4MefUUvPXcQdIm30HhQv=1

utilizo o modelo através da url no link, no formato

a class='twitter-share-button' href='www.twitter.com/share?
url=minha_urlamp;text=meu_textoamp;count=horizontalamp;via=fabriciorgomes'Tweet/
a

O que eu posso fazer para validação no W3C?

Obrigado

--english version
I'm using Tweet Button on my web page and is causing the following
errors in the W3C Validator:

 can not generate system identifier for general entity v
 general entity v not defined and the default entity
 reference not terminated by delimiter REFCO
 reference to entity v Which is the system generated identifier
Could Be
 entity was defined here

 all because of the line

 ... script src = http://platform.twitter.com/anywhere.js?
id=4MefUUvPXcQdIm30HhQv=1

 i use the model with a url in link, like

 a class='twitter-share-button' href='www.twitter.com/share?
url=my_urltext=my_textcount=horizontalvia=fabriciorgomes'Tweet/
a

 What can I do to the W3C validation?

Thanks!


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Twitter Button and W3C Validator

2011-01-12 Thread Matt Harris
When validating for XHTML you need to ensure the  in URLs is encoded as
amp;

In your case that would mean using:
http://platform.twitter.com/anywhere.js?id=4MefUUvPXcQdIm30HhQamp;v=1
and

http://www.twitter.com/share?url=minha_urlamp;text=meu_textoamp;count=horizontalamp;via=fabriciorgomes

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Wed, Jan 12, 2011 at 5:46 PM, Fabricio Gomes 
fabriciorodriguesgo...@gmail.com wrote:

 --- portuguese version
 Estou utilizando o Tweet Button na minha pagina web e está causando os
 seguintes erros no W3C Validator:

 cannot generate system identifier for general entity v
 general entity v not defined and no default entity
 reference not terminated by REFC delimiter
 reference to entity v for which no system identifier could be
 generated
 entity was defined here

 tudo por causa da linha

 …script src=http://platform.twitter.com/anywhere.js?
 id=4MefUUvPXcQdIm30HhQv=1

 utilizo o modelo através da url no link, no formato

 a class='twitter-share-button' href='www.twitter.com/share?

 url=minha_urlamp;text=meu_textoamp;count=horizontalamp;via=fabriciorgomes'Tweet/
 a

 O que eu posso fazer para validação no W3C?

 Obrigado

 --english version
 I'm using Tweet Button on my web page and is causing the following
 errors in the W3C Validator:

  can not generate system identifier for general entity v
  general entity v not defined and the default entity
  reference not terminated by delimiter REFCO
  reference to entity v Which is the system generated identifier
 Could Be
  entity was defined here

  all because of the line

  ... script src = http://platform.twitter.com/anywhere.js?
 id=4MefUUvPXcQdIm30HhQv=1

  i use the model with a url in link, like

  a class='twitter-share-button' href='www.twitter.com/share?
 url=my_urltext=my_textcount=horizontalvia=fabriciorgomes'Tweet/
 a

  What can I do to the W3C validation?

 Thanks!


 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk