Import Tweets from Twitter

To search for tweets and import them:
  1. Click Twitter in the Import Data window.
    The first time you import tweets, you are directed to the Twitter website to log on to your account and authorize SAS Visual Analytics. After you enter your logon information and click Authorize app, the SAS product page opens. Close this page and navigate back to SAS Visual Analytics.
    After the initial logon, SAS Visual Analytics uses authorization tokens for accessing Twitter instead of requiring you to log on each time. If you would like to change users or remove authorization after completing this step, click Clear Sign In Information on the lower left-hand side of the Import Twitter Data window.
  2. Enter a search term and the maximum number of tweets to return.
    The search operators that you can use are described at https://dev.twitter.com/rest/public/search.
    Note: SAS does not support the following:
    • searches in languages other than English. Requests in other languages (such as specifying lang=fr) return no tweets.
    • search terms cannot include double-byte characters.
  3. (Optional) In the LASR Table section, enter the name for the table and a description. Review the library and location settings by clicking Advanced. Make any necessary changes.
    You do not have access to the Advanced section if you are using the explorer or designer and do not have the Build Data capability. Instead, you can import the data to a general-purpose area or select Store the table in a private location to prevent other users from accessing the data.
  4. (Optional) Review the Proxy Server section. Make any necessary changes.
  5. Click OK.
The search results from a Twitter import in SAS Visual Analytics and the search results from Twitter’s own search interface do not match exactly. Each uses a different mechanism to download tweets. A Twitter import in SAS Visual Analytics uses Twitter’s public search API. There are limits on what data and how much data that SAS can download using Twitter’s public search API. These limits might not apply to Twitter’s own search interface. For more information, see https://dev.twitter.com/rest/reference/get/search/tweets.
For information about the data structure of imported tweets, see Schema for Imported Tweets.
Note: Rate limits apply to the Twitter service. Such limits are beyond the control of SAS Visual Analytics. You are required to follow all applicable terms of use that Twitter and others might promulgate for Twitter data.
Note: Certain functionality in SAS Visual Analytics enables you to invoke external third-party resources. Be aware that use of these resources might result in disclosure and transmission of information that you submit to these resources.
Last updated: January 8, 2019