The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

No result from Search Twitter functionality

JerbaJerba Member Posts: 1 Learner I
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

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    hi @Jerba - hmm that is odd. Can you please share your process here so we can see?
  • yyhuangyyhuang Administrator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 364 RM Data Scientist
    Just did a test on my Twitter connection. It works well for a query as below 



    Output from "search twitter"


  • robinrobin Member Posts: 100 Guru
    @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>
Sign In or Register to comment.