Hi,
I am creating app for some event that we are hosting. Inside the app, I would like to display tweets with event hashtag. Here is the code that I use for showing tweets by hashtag:
import Foundation
import UIKit
import TwitterKit
class TwitterViewController: TWTRTimelineViewController
{
override func viewDidLoad()
{
super.viewDidLoad()
NSLog("@twc")
self.tableView.beginUpdates()
let client = TWTRAPIClient()
self.dataSource = TWTRSearchTimelineDataSource(searchQuery: "#RACmedvinogradi", APIClient: client)
self.tableView.endUpdates()
}
}
Problem is that I don’t get any tweets to show up, but if I search with Twitter inside the browser I get all the tweets. Also when I change hashtag, to let’s say #test, tweets show up. What is the problem? Is that this hashtag is not popular enough or there is not enough tweets?