Obtaining a Twitter Widget
To display Twitter Tweets in the Siebel Self Service Web site, you must first obtain a Twitter widget from Twitter.
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
Navigate to
https://twitter.com/settings
Enter your Twitter user name and password to access the widget page.
Click the Widgets link.
Click Create New.
You use the Twitter timeline tool to configure the public Twitter widget that appears in a Web site.
Click the Search tab, and provide values for the following fields to configure the timeline:
Search Query. The search word or hashtag that the Twitter timeline shows (for example, #Oracle, #Siebel, #hadoop, and so on).
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
Height. The height of the Twitter timeline.
Theme. The background color of the Tweets.
Link color. The color for the links that appear in the Tweets.
After you provide these values, a preview of your timeline appears on your screen.
Click Create Widget.
The following message appears: Your widget has been created.
After the timeline preview, 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.
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.
(Optional) To verify that this generated code displays the widget, complete the following steps:
Create an HTML file with an empty div element.
Copy and paste the generated code inside the div element.
Launch the file in a browser.