Title: safe search filtering?
Last modified: August 21, 2016

---

# safe search filtering?

 *  [dougfitz](https://wordpress.org/support/users/dougfitz/)
 * (@dougfitz)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/safe-search-filtering/)
 * Martin–
 * Spectacular plugin, and exactly what I needed. Save one thing:
 * Is it possible to enable Twitter’s safe search filter, perhaps via a shortcode
   variable? I’m pulling in some pretty raw tweets with my search parameter, and
   I’d love to skip over them.
 * Best,
    Doug
 * [http://wordpress.org/plugins/rotatingtweets/](http://wordpress.org/plugins/rotatingtweets/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/safe-search-filtering/#post-3972570)
 * Hi Doug,
 * I don’t think there is a safe search option unfortunately. At least I can’t see
   it [here](https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline) or
   [here](https://dev.twitter.com/docs/using-search).
 * 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
 *  Thread Starter [dougfitz](https://wordpress.org/support/users/dougfitz/)
 * (@dougfitz)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/safe-search-filtering/#post-3972629)
 * 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
 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/safe-search-filtering/#post-3972641)
 * 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
 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/safe-search-filtering/#post-3972702)
 * Doug,
 * There is a [possibly_sensitive flag](https://dev.twitter.com/discussions/700)
   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/](http://banbuilder.com/) and [https://github.com/shutterstock/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words](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

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘safe search filtering?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/rotatingtweets.svg)
 * [Rotating Tweets (Twitter widget and shortcode)](https://wordpress.org/plugins/rotatingtweets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rotatingtweets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rotatingtweets/)
 * [Active Topics](https://wordpress.org/support/plugin/rotatingtweets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rotatingtweets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rotatingtweets/reviews/)

## Tags

 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [SAFE](https://wordpress.org/support/topic-tag/safe/)
 * [twitter](https://wordpress.org/support/topic-tag/twitter/)

 * 4 replies
 * 2 participants
 * Last reply from: [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/safe-search-filtering/#post-3972702)
 * Status: not resolved