No result from Search Twitter functionality

Jerba
Jerba New Altair Community Member
edited November 5 in Community Q&A
I've set up a Twitter connection (twice) and tested the connection in Rapidminer as described in the tutorial from Rapidminer which I cannot post as I'm still a new member. I get the green check mark, but when I follow the tutorial further I do not get any results in my feed ( no matter what search or amount of Tweets I ask for). When I use the Get Twitter User Statuses it does work and I do receive all tweets. Can someone help me with this?
Tagged:

Answers

  • sgenzer
    sgenzer
    Altair Employee
    hi @Jerba - hmm that is odd. Can you please share your process here so we can see?
  • YYH
    YYH
    Altair Employee
    Just did a test on my Twitter connection. It works well for a query as below 



    Output from "search twitter"


  • robin
    robin New Altair Community Member
    @JerbaI tested all four Twitter operators, maybe use this code and just change your connection to see if it works. 
    <?xml version="1.0" encoding="UTF-8"?><process version="9.2.000">
      <context>
        <input/>
        <output/>
        <macros/>
      </context>
      <operator activated="true" class="process" compatibility="9.2.000" expanded="true" name="Process">
        <parameter key="logverbosity" value="init"/>
        <parameter key="random_seed" value="2001"/>
        <parameter key="send_mail" value="never"/>
        <parameter key="notification_email" value=""/>
        <parameter key="process_duration_for_mail" value="30"/>
        <parameter key="encoding" value="SYSTEM"/>
        <process expanded="true">
          <operator activated="true" class="social_media:get_twitter_user_statuses" compatibility="9.0.000" expanded="true" height="68" name="Get Twitter User Statuses" width="90" x="179" y="34">
            <parameter key="connection" value="Twitter"/>
            <parameter key="query_type" value="name"/>
            <parameter key="user" value="RobinMeisel"/>
            <parameter key="limit" value="100"/>
          </operator>
          <operator activated="true" class="social_media:get_twitter_user_details" compatibility="9.0.000" expanded="true" height="68" name="Get Twitter User Details" width="90" x="179" y="136">
            <parameter key="connection" value="Twitter"/>
            <parameter key="query_type" value="name"/>
            <parameter key="user" value="RobinMeisel"/>
          </operator>
          <operator activated="true" class="social_media:get_twitter_relations" compatibility="9.0.000" expanded="true" height="68" name="Get Twitter Relations" width="90" x="179" y="238">
            <parameter key="connection" value="Twitter"/>
            <parameter key="query_type" value="name"/>
            <parameter key="user" value="robinmeisel"/>
            <parameter key="relation" value="followers"/>
          </operator>
          <operator activated="true" class="social_media:search_twitter" compatibility="9.0.000" expanded="true" height="68" name="Search Twitter" width="90" x="179" y="340">
            <parameter key="connection" value="Twitter"/>
            <parameter key="query" value="RapidMiner"/>
            <parameter key="result_type" value="recent or popular"/>
            <parameter key="limit" value="100"/>
            <parameter key="filter_by_geo_location" value="false"/>
            <parameter key="radius_unit" value="miles"/>
          </operator>
          <connect from_op="Get Twitter User Statuses" from_port="output" to_port="result 1"/>
          <connect from_op="Get Twitter User Details" from_port="output" to_port="result 2"/>
          <connect from_op="Get Twitter Relations" from_port="output" to_port="result 3"/>
          <connect from_op="Search Twitter" from_port="output" to_port="result 4"/>
          <portSpacing port="source_input 1" spacing="0"/>
          <portSpacing port="sink_result 1" spacing="0"/>
          <portSpacing port="sink_result 2" spacing="0"/>
          <portSpacing port="sink_result 3" spacing="0"/>
          <portSpacing port="sink_result 4" spacing="0"/>
          <portSpacing port="sink_result 5" spacing="0"/>
        </process>
      </operator>
    </process>