07-24-2014 09:38 PM - last edited on 03-05-2021 09:59 AM by dekwan
HI,
I'm trying to use sample klout script filter that I've download from :
https://github.com/CiscoDevNet/socialminer-sample-code/tree/master/script-filters
I've follow the instructions and also I've got the Klout API KEY.
I've put the Klout API KEY into klout sample script and then I upload it into Social Miner.
For the meanwhile the filter state indicator is showing work properly but when I assign it into a campaign, an error occurred.
The filter state change into error.
I'm using socialminer version 10.0.1.
Is that sample script compatible with social miner version 10.0.1 ?
I also try to use sample translate script filter and an error occured like sample klout script filter case above.
Thanks,
07-25-2014 01:06 PM
Hi Subagyo,
When you hover your mouse pointer over the script error icon, what is the text in the tooltip?
I tried this out on my system just now and noted that the Twitter feed that I had configured was processing more calls per second than the Klout service allows. In my case, I registered a free account that allows 10 calls per second. When I did this and configured the filter to a campaign, the filter error icon tooltip indicated "error forbidden". Is this what you are experiencing?
You could try increasing the Polling interval on your feed so that it doesn't hit the Klout service beyond your account's rate limit. If this is indeed the problem, then you could also pay Klout for a larger rate limit.
Ryan
08-03-2014 07:41 PM
Hi Ryan,
yes, the filter error icon tooltip indicated "error forbidden",
I've tried to increasing the polling interval on my feed and the filter is working properly.
And do you know about the translate script with Google API? I have an error with sample translate Script Filter.
The error was same, Error Forbidden.
Thanks for your help,
08-04-2014 07:41 AM
Assuming you have a Google API Key for your cloud app (separate from the Klout API Key, by the way), things should work fine unless you are somehow not authorized to use the Google API.
Is your Google key from a current and authorized Google developer app?
How many feeds do you have using the Google Translate filter?
What are the respective Polling Intervals? Could you also be hitting this one too often?
Is the error in the tooltip the same as the one above?
Ryan
08-05-2014 06:42 PM
Hi Ryan,
I've found the problem is.
Google Translate API is a paid service and my API KEY is not set up for the billing.
Thanks for your support.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide