Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
SocialMiner Developer Center
Overview
Documentation
Community
Wiki
SocialMiner Forums
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Technical Discussion
Script Filter to apply on equal campaigns
Threads [
Previous
|
Next
]
Script Filter to apply on equal campaigns
Rui Martins
3/27/12 5:12 PM
RE: Script Filter to apply on equal campaigns
John Russell
3/27/12 6:54 PM
RE: Script Filter to apply on equal campaigns
Rui Martins
3/29/12 4:29 PM
RE: Script Filter to apply on equal campaigns
Rodrigo Covarrubias
6/13/12 6:50 PM
RE: Script Filter to apply on equal campaigns
John Russell
6/14/12 3:34 PM
RE: Script Filter to apply on equal campaigns
Rodrigo Covarrubias
6/19/12 8:00 PM
Rui Martins
Posts:
3
Join Date:
10/20/09
Recent Posts
Script Filter to apply on equal campaigns
script
filter
Answer
3/27/12 5:12 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi,
I've a customer who monitores its Facebook Fan Page. We've created 2 campaigns with the same Feed (the FB fan Page) but now we want to filter the contacts/comments by some keywords, in order to separate the relevant contacts by campaigns.
The only way I see to do this is to implement Script Filters, but I need additional help on this language.
Does any of you have a sample code for this type of implementation?
Thx in advance,
Rui Martins
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
John Russell
Posts:
30
Join Date:
5/18/10
Recent Posts
RE: Script Filter to apply on equal campaigns
Answer
3/27/12 6:54 PM as a reply to Rui Martins.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
The language is groovy. It is very much like Java if you are familiar with that. Java syntax will work.
For what objects are available in the script context check out section 16.2 of the developer guide.
http://developer.cisco.com/web/socialminer/docs
For example scripts there is at least one on your socialminer server at
http://socialminerhost/scripts/klout.groovy
That probably has more than you need but its a good example of tagging social contacts.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Rui Martins
Posts:
3
Join Date:
10/20/09
Recent Posts
RE: Script Filter to apply on equal campaigns
Answer
3/29/12 4:29 PM as a reply to John Russell.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi,
I've followed the guide and made some script tests and we are able to that now.
Configuring a script filter and applying to a campaign, we can filter out contacts that don't match predefined keywords.
The hint in the Developers Guide 8.5.5 is at 16.2.4:
//Finally, return 100 so that we include the social contact in campaigns.
return 100
Best Regards,
Rui Martins
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Rodrigo Covarrubias
Posts:
4
Join Date:
1/1/09
Recent Posts
RE: Script Filter to apply on equal campaigns
Answer
6/13/12 6:50 PM as a reply to Rui Martins.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi guys,
The link to the groovy script sample is now broken (http://socialminer host/scripts/klout.groovy ), could anyone send me the file sample?
Regards
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
John Russell
Posts:
30
Join Date:
5/18/10
Recent Posts
RE: Script Filter to apply on equal campaigns
Answer
6/14/12 3:34 PM as a reply to Rodrigo Covarrubias.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
The socialminerhost part of the url is supposed to be replaced by your installed socialminer. For example if your SocialMiner is installed at myhost.company.com the url would be
http://myhost.company.com/scripts/klout.groovy
Give that a try and let us know if it works.
Thanks
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Rodrigo Covarrubias
Posts:
4
Join Date:
1/1/09
Recent Posts
RE: Script Filter to apply on equal campaigns
Answer
6/19/12 8:00 PM as a reply to John Russell.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi John, thanks for your support, It works.
Regards.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Overview
Documentation
Community
Wiki
Search CDN
Go
By API/SDK:
Select an API
Application eXtension Platform (AXP)
Network Management - Active Network Abstraction (ANA)
Network Management - IP Solution Center (ISC)
Network Management - Network Analysis Module (NAM)
Network Management - Cisco Transport Manager (CTM)
Network Management - Managed Services Management Solution (MSMS)
Cisco Headset/Handset API
Cisco Unified Application Environment (CUAE)
Cisco Unified CM Administration XML (AXL)
Cisco Unified CM Call Detail Records (CDR)
Cisco Unified CM Extension Mobility API
Cisco Unified CM JTAPI (JTAPI)
Cisco Unified CM Log Collection
Cisco Unified CM Performance Monitoring
Cisco Unified CM Real-time Device & CTI Information
Cisco Unified CM Service Control
Cisco Unified CM Servicability XML
Cisco Unified CM SIP (SIP)
Cisco Unified CM SNMP/MIB
Cisco Unified CM TAPI (TAPI)
Cisco Unified CM Web Dialer (WebDialer)
Cisco Unified Communication Express Services Interface
Cisco Unified Presence (CUP)
Cisco Unified TCL IVR/Voice XML API
Cisco Unified Gatekeeper TMP API (GKTMPAPI)
Cisco Unity Connection Provisioning Interface (CUPI)
Cisco Unity Connection Messaging Interface (CUMI)
Computer Telephony Integration (CTI) Server C-API
Computer Telephony Integration (CTI) Server Protocol (GED 188)
Computer Telephony Integration (CTI) Object Server
Contact Center Enterprise/Hosted/ICM IVR PG Protocol (GED-125)
Contact Center Reporting (CCR)
Contact Center TCL IVR/Voice XML API
Customer Voice Portal (CVP)
Enterprise Contact Center Scripting (ECCS)
Enterprise Application Gateway Protocol (AGP)
Hardware eXtension Platform (HXP)
IP Phone Services (IPPS)
Mobility – Cisco Compatible Extensions Program
Mobility – Context-Aware Mobility(Location)
Mobility – Guest Access (GAP)
Mobility – Solution Verification
Meetingplace SOAP API (MPSA)
Smart Business Portal (SBP)
Unified Contact Center Express CTI (UCCXCTI)
WebEx - Connect
WebEx - Meeting Services