Hi Doug,
I don’t think there is a safe search option unfortunately. At least I can’t see it here or here.
I think you might need to make your own with a regular search using a string along the lines of
from:person -rudeword1 -rudeword2 -rudeword3 -rudeword4 -rudeword5
unfortunately.
Best wishes,
Martin
Ah, I hadn’t sifted through the API…I was just looking at Twitter’s own search widget configurator, which includes a checkbox for Safe Search.
On another front, should the feed refresh periodically? I see you say something about every two minutes, but I still have the same set of tweets rotating after an hour. Changing the SSL option doesn’t seem to matter. (I’m using it to search for tweets on a topic, rather than display my own tweets—and I’d love for it to just keep pulling in new messages.)
Thanks,
Doug
There may be a flag for it somewhere, but I haven’t been able to find it yet!
It should be picking up new Tweets every two minutes, but if there’s a problem it keeps the old ones.
You can get a bunch of diagnostics in the HTML by setting WP_DEBUG to 1 in wp-config.php.
Martin
Doug,
There is a possibly_sensitive flag that we could use to hide tweets that lead to possibly sensitive video content or images… although it isn’t returned by the search API unfortunately!
And it doesn’t cover the content of the tweets themselves.
There are some potential lists that could be used for filtering out profanity at http://banbuilder.com/ and https://github.com/shutterstock/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words – otherwise we will just need to wait until Twitter adds it to their API.
Martin