You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bahir.apache.org by "Lukasz Antoniak (JIRA)" <ji...@apache.org> on 2018/11/28 21:55:00 UTC

[jira] [Commented] (BAHIR-143) Twitter Streaming Example doesn't work

    [ https://issues.apache.org/jira/browse/BAHIR-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702415#comment-16702415 ] 

Lukasz Antoniak commented on BAHIR-143:
---------------------------------------

Are you using any filters? I have just setup Twitter account and after executing the sample, receive below results.
{code:java}
Popular topics in last 60 seconds (135 total):
#OT18Gala10 (4 tweets)
#BTS (3 tweets)
#… (3 tweets)
#WANNAONE (2 tweets)
#RedVelvet (2 tweets)
#النصر_مولوديه_الجزاير
معلومه (2 tweets)
#방탄소년단 (2 tweets)
#워너원 (2 tweets)
#LAIKUANLIN (2 tweets)
#CareerArc (2 tweets){code}

> Twitter Streaming Example doesn't work
> --------------------------------------
>
>                 Key: BAHIR-143
>                 URL: https://issues.apache.org/jira/browse/BAHIR-143
>             Project: Bahir
>          Issue Type: Bug
>          Components: Spark Streaming Connectors
>    Affects Versions: Spark-2.2.0
>            Reporter: Don Drake
>            Priority: Major
>
> I'm attempting to use your spark-streaming-twitter module as part of a Spark Streaming application.
> I attempted to take snippets of your TwitterPopularTags.scala and copy them into my application, but everytime I run it, I get 0 records.  In the same application, I can use the twitter4j application using the same authentication parameters to make simple search requests and I am getting results.
> I'm trying to get a stream of keyword-related tweets, but so far I am getting 0 records. And I am using popular words that rhyme with Frump.
> I cloned the Bahir repo and ran your TwitterPopularTags example and I'm getting the same results.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)