Twitter configuration tab

Use the Twitter configuration tab to display a Twitter timeline in a section of your report.

For more help and some examples, see Twitter timeline section type - details.

General configuration procedure

  1. Set Section type to Twitter timeline.
    The Twitter configuration tab is displayed with two views:

    • Twitter
    • Design
  2. In the Twitter view, set the Timeline type to the tweet type
    This determines the rest of requirements.

  3. Set the parameters for the selected Timeline type.

    • User requires a Twitter User name and whether to show replies.
    • Hashtag requires a Hashtag and a Widget ID.
      Generate a new widget ID number for the string you want to use as the hashtag.
    • List requires a User name and List name.
    • Search requires a Search query string and a Widget ID.
      Generate a new widget ID number for the string you want to use as the search query.
    • Replies requires a Twitter User name and a Widget ID.
      Generate a new widget ID number for the string you want to use as the user.
    • Mentions requires a User name and Widget ID.
      Generate a new widget ID number for the string you want to use as the user.
  4. In the Design view, make settings that determine the section's appearance.

    • Section width determines how many pixels wide this section will be.
    • Section height determines how many pixels high this section will be.
    • Render section as dark sets this section for light, dark, or automatically determined based on circumstances. If you set fullscreen to dark mode, the Twitter plugin automatically renders in dark mode.
    • Customization options such as "noscrollbar" are possible here.

Generating a widget ID

Some Twitter timeline types require that you provide a Widget ID.

  1. Go to  https://twitter.com/settings/widgets/new
    This opens the Create a search widget page on the Twitter site.
    If you are not logged in to Twitter, you need to log in now.

  2. Set Search Query to the search item you need.

    • Dynatrace looks for the simple string.
    • #Dynatrace looks for the hashtag.
  3. Examine the contents of the Preview box to make sure it returns the results you want.

  4. Select Create widget.

  5. Select Save changes.

  6. Where it says "Copy and paste the code into the HTML of your site" copy the contents the HTML and paste it into a text editor.

  7. Find the part that looks something like "data-widget-id="842355303886774272".

  8. The number (yours will be different) is the Widget ID you will need to paste into NAM when configuring a Twitter timeline section on a report.