You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I tried to use "getUserStreamDelimited", but I got an error. How to stream my user timeline?
When I used "getStatusesSampleDelimited", I got no error.
Code I tried to run:
let swifter = Swifter(consumerKey: consumerkey, consumerSecret: consumersecret, oauthToken: oauthtoken, oauthTokenSecret: oauthtokensecret)
swifter.getUserStreamDelimited(nil, stallWarnings: nil, includeMessagesFromFollowedAccounts: true, includeReplies: true, track: nil, locations: nil, stringifyFriendIDs: nil, progress: { (progress: Dictionary<String, JSONValue>?) in
progress!.values.array.map({json in println(json)})
}, stallWarningHandler: {
(code: String?, mes: String?, percentFull: Int?) in
if let warning = mes {
println("WARNING: ", warning)
}
}, failure: {(error: NSError) in
let errmes = error.localizedDescription
println("ERROR: ", errmes)
})
I got an error below.
(ERROR: , HTTP Status 404: Not Found, Response: Unknown URL. See Twitter Streaming API documentation at http://dev.twitter.com/pages/streaming_api
)
Thanks.
The text was updated successfully, but these errors were encountered:
Hi.
I tried to use "getUserStreamDelimited", but I got an error. How to stream my user timeline?
When I used "getStatusesSampleDelimited", I got no error.
Code I tried to run:
I got an error below.
Thanks.
The text was updated successfully, but these errors were encountered: