One of the SocialMiner features that we think will be most interesting to our system integration partners and possibly other technology partners is the new reply template feature.
This is the first Developer Challenge
Pre-work: Learn how the Cisco Twitter Reply Template works
1. Create a test Twitter account for this exercise if you don't have one already
2. Create a "Twitter Account" Feed on SocialMiner using your test Twitter account. When configuring the feed, choose the "Cisco Twitter" reply template. When you click save you will do the Oauth dance with Twitter to authenticate it, hopefully this will all be self explanatory to you. If not, see SocialMiner doc. There's a video on this particular feed setup. http://docwiki.cisco.com/wiki/SocialMiner
3. Create some more feeds of Tweets using whatever feed type you want: Twitter Stream, RSS, or more Twitter Accounts. It doesn't matter what these feeds capture, the point is to have a feed that has tweets in it. Again, make sure you select the "Cisco Twitter" Reply template.
4. Go to results gadget and click on the reply/reserve button for one of the posts. This will show the Cisco Twitter reply template. This is the default/blank reply template that ships with SocialMiner. Note: this is real, so if you do send a reply it's really going to send a tweet to the person you are replying too. You may not want to do that so hit cancel. (!?!)
This is how you reply to Tweets from within Cisco SocialMiner
And now for:
Developer Challenge #1
This challenge is to create a custom reply template as an alternative to Cisco Twitter.
The "Cisco Twitter" reply template is a OpenSocial gadget. You can download it, modify it, and host it on your own web server to offer an alternative version. A simple customization will be possible in just a few minutes.
1. Get the Cisco Twitter gadget. Go to your SocialMiner Server:
http://<servername>/templates/reply/twitter_reply_sample.jsp
2. Choose "Save As" from the file menu on your browser to save the file. Now you have the gadget file on your computer.
3. Edit the html code within the file to modify the gadget and then post it to a web server. You could insert some text, a picture or whatever you like.
Short cut if you don't have a web server handy. Go here (you'll need a Google account)
http://code.google.com/apis/gadgets/docs/tools.html#GGE
This is the Google Gadget Editor. Select file upload, then choose the jsp file from your computer, then edit the file to insert your customization in the HTML code, then choose file-publish. You will get a URL something like my customized reply template:
http://hosting.gmodules.com/ig/gadgets/file/105267679219537288201/tod_reply1.jsp
This is your customized gadget hosted by google. Copy the URL.
4. Go to SocialMiner Admin tab, add a new reply template, name it and paste your URL.
5. Go to your Twitter feed, and select the name of your new reply template (replacing Cisco Twitter)
6. Go to SocialMiner results and click the reply button. You will see your customized reply template.
Suggested customizations for "professional" HTML coders:
Create a K-base lookup that looks up the content of the tweet in a k-base.
Create an embedded CRM profile lookup
Create a link to a CRM profile (new tap or pop out)
Create a suggested Tweet reply text that will automatically paste one of the suggested replies into the text box of the reply
Create a URL shortner from bit.ly that will let the user paste a full URL and then one-click insert it into the reply.
Questions?
ccp_pilot@cisco.com
Tod