Siebel Self Service Administration Guide > Configuring Siebel Self Service > Setting Up the Applet for Twitter >

Obtaining a Twitter Widget


To display Twitter Tweets in the Siebel Self Service Web site, you must first obtain a Twitter widget from Twitter.

NOTE:  Siebel Self Service provides a framework for you to create a Web application for your end users. If you choose to display Twitter Tweets in the Web application that you create, then your Web application is subject to Twitter's terms. You do NOT receive a license to use the Twitter service, sites, content, products, or any software under your agreement with Oracle. The Twitter service, sites, content, products, and software must be separately licensed from Twitter. You bear all risks associated with the access and use of Twitter service, sites, content, products, and software. If you choose to display Twitter Tweets in the Web application that you create, then the Twitter widget is available for you to license separately from Twitter subject to Twitter, Inc.'s terms and conditions, policies, rules, and requirements. The Twitter widget downloads javascript that runs on the client side when your Web application opens.

For more information about configuring Twitter widgets, see the Client Side Options section at

https//dev.twitter.com/docs/embedded-timelines

To obtain a Twitter widget

  1. Navigate to

    https://twitter.com/settings

  2. Enter your Twitter user name and password to access the widget page.
  3. Click the Widgets link.
  4. Click Create New.

    You use the Twitter timeline tool to configure the public Twitter widget that appears in a Web site.

  5. Click the Search tab, and provide values for the following fields to configure the timeline:
    1. Search Query. The search word or hashtag that the Twitter timeline shows (for example, #Oracle, #Siebel, #hadoop, and so on).
    2. Options. Options about the content in Tweets. These options include the following check boxes:
      • Only show top Tweets
      • Safe search mode (Exclude sensitive content and profanity)
      • Auto-expand photos
    3. Height. The height of the Twitter timeline.
    4. Theme. The background color (white or black) of the Tweets.
    5. Link color. The color for the links that appear in the Tweets.

      After you provide these values, a preview of your timeline appears on the right side of the screen.

  6. Click Create Widget.

    The following message appears: Your widget has been created.

    Below the preview of the timeline, generated code appears. You copy and paste this generated code into an empty div element of a Web template file. For more information, see Displaying the Twitter Widget in Siebel Self Service.

  7. Note the widget ID before the </script> tag at the end of the generated code.

    An example of the code around the widget ID follows:

    (document,"script","twitter-wjs");</script>

    where:

    twitter-wjs is the widget ID.

    You must note the widget ID because you will enter this ID into an empty div element of a Web template file. For more information, see Displaying the Twitter Widget in Siebel Self Service.

  8. (Optional) To verify that this generated code displays the widget, complete the following steps:
    1. Create an HTML file with an empty div element.
    2. Copy and paste the generated code inside the div element.
    3. Launch the file in a browser.
Siebel Self Service Administration Guide Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.