I am trying to find all the tweets mentioning the word 'apple' using SWIFT.
I am using a open source Library for twitter (https://github.com/mattdonnelly/Swifter/tree/xcode-6.3). but when calling the api , it only gives top 32 tweets whereas I want all of them. here is the code I am using
let swifter = Swifter(consumerKey: "", consumerSecret: "", appOnly: true)
swifter.authorizeAppOnlyWithSuccess({ (accessToken, response) -> Void in
// println("\(accessToken)")
swifter.getSearchTweetsWithQuery("apple", geocode: "", lang: "", locale: "", resultType: "", count: 150, until: "", sinceID: "2009-01-01", maxID: "", includeEntities: true, callback: "", success: { (statuses, searchMetadata) -> Void in
println(statuses
)
}) { (error) -> Void in
println(error)
}
// println("\(response)")
}, failure: { (error) -> Void in
// println(error)
})
}
Any suggestions on how to fix this,Moreover if any other approach is there then it also welcomed.