New Homepage Forums Social Media Shields No detect a new tweet

This topic contains 1 reply, has 2 voices, and was last updated by avatar Eslam Ali 4 years ago. This post has been viewed 699 times

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13262
    Rodrigo Abel
    Participant

    I use:

    Twitter.setOnNewTweet(&myFunction);
    /* myFunction exists under the loop function. */
    /* This function will be invoked each time a new tweet comes with the tracked word. */
    void myFunction (char * userName,char * tweetText)
    {
    /* Print out the phone userName and tweetTexton Terminal shield. */
    Terminal.println(userName);
    Terminal.println(tweetText);
    }

    But no print the new tweet, why?

    #13311
    avatarEslam Ali
    Participant

    Hi Rodrigo,

    Did the Twitter shield pops up a message states the it started tracking the keyword, Also do you have a good internet connection ? Cuz sometimes Twitter API misses a tweet due to weak internet connection. make sure that Twitter.trackKeyword(keyword) is sent to the application to track that certain keyword and please leave the Twitter shield opened until you are sure that the pop appeared.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.