Retrieve latest tweets from twitter with safe search(remove adult content) using phirehose



I am using phirehose to get live tweets form twitter based on the hashtag , But the problem is its getting all the tweets including adult content. Is there a way to avoid these adult content in phirehose ?


The streaming API will send you all the Tweets regardless of content. You’ll need to filter the unwanted content out in your application.