Search.twitter.com with JSON problem! (twitter account-related problem?)


#1

Hi all,

I make a JSON request to 2 different accounts (both rpp=20): for one it always returns the 20 requested messages, for the other account always either 3 or 10 messages.

to try yourself surf to this address:

http://search.twitter.com/search.json?q=from%3Apixelplus&rpp=20
-> If you open the response json file in notepad++ you’ll see that it has all the 20 requested posts (messages)

Now try to surf to this address:

http://search.twitter.com/search.json?q=from%3Abaybaynakit&rpp=20
-> open this json file in notepad++ and you’ll find it always returns either 3 or 10 posts. Never the available 20 posts.

The syntaxis of the requests are identical right?
I mean I may be messing up because this is my first twitter job, but any help would be greatly appreciated.

Kind Regards,
Niels
Social media dev.


#2

Hi @nielz,

Search isn’t the best API for retrieving a specific user’s tweets, as the search index does not extend back very far in time. Instead, use [node:56] to retrieve the specific user’s tweets.


#3

Alright, thanks for the info :-).


#4