0

次のURLを使用して、新しいiOSTwitterフレームワークでユーザーを検索しようとしています 。https://api.twitter.com/1/users/search.json? q =%@&page = 2&per_page = 20

APIによると、ページごとに最大20人が検索されます。https: //dev.twitter.com/docs/api/1/get/users/search

だから私はpage=2を40人をフェッチするように設定しましたが、それでも20人をフェッチしています。

これはTwitterフレームワークのバグですか、それとも私がしなければならないことが他にありますか。

助けていただければ幸いです。

4

1 に答える 1

1

No matter what query you run, you'll get 20 people back. The reason to set page is so that you can page through the results.

page=1&per_page=20 returns the first 20 people.page=2&per_page=20 returns the next 20 people. And so on.

于 2012-04-12T10:42:22.027 に答える