Is there a way to turn off @replies?


#1

Is there a way to remove @replies from the website widget? Code for it?


#2

If you modify the source code to the widget, you could potentially modify the request to the https://api.twitter.com/1/statuses/user_timeline.json to include the ?exclude_replies=true parameter to the request – there’s no option for this directly in the widget configurator though.


#3

In the list of features, add a filter. I’ll confess that I don’t understand why this expression works, but it does.

filters: { negatives: /^@\w{1,20}\s+/ },

I got this from http://www.dustindiaz.com/twitter-widget-doc/.


#4

If you don’t mind, which file contains the list of features? What I have: file.css, file.js, fileIE.css, fileMoz.css, widget0_markup.html

I dont see any list of features and so I cant figure out where to put in the filter HTML code-- I’d like to try and block @replies because Im putting a live Twitter feed on our school basketball tournament website. And who knows what the kids will come up with in the @replies… no way. :slight_smile:

LMK!

By the way- using iWeb. I know, I know :slight_smile: Just so much easier for this particular event.


#5

Thanks guys, but none of these seem to be working for me. I’m using the new Twitter widget https://twitter.com/about/resources/widgets/widget_profile


#6

Chris -

I use that widget, too. I looked forever for a solution today, and I think I got something that works. Adding &exclude_replies=true to the call seemed to work. I detailed my changes here: http://bit.ly/Hbw0su


#7

nisfia82
@nisfia82 muhammad nisar

I use that widget, too. I looked forever for a solution today, and I think I got something that works. Adding &exclude_replies=true to the call seemed to work.


#8

I am setting up a twitter account for informational purposes only and I really don’t want to receive a ton of inappropriate replies. How can i setup an account to not accept any replies at all? Is there way in setup to do this?


#9