试图消除twitter小部件中的回复和转发
trying to eliminate replies and retweets in the twitter widget
我正在努力消除twitter小部件中的回复和转发。到目前为止,以下代码不起作用:
从widget.js:的1967行开始
var F = /twitter'.com(':'d{2,4})?'/intent'/('w+)/,
A = {
tweet: true,
retweet: false,
reply:false,
favorite: true
},
而这段代码在html页面的正文中,同样不起作用:
<script type="text/javascript">
new TWTR.Widget({
version: 2,
type: 'search',
search: 'blahblahblah', // This shows all tweets with the hashtag #blahblahblah.
interval: 3000,
title: '',
subject: '',
width: 'auto',
height: 544,
theme: {
shell: {
background: '#cccccc',
color: '#ffffff'
},
tweets: {
background: '#ffffff',
color: '#5e6a71',
links: '#aa0828',
reply:false,
retweet:false
}
},
features: {
scrollbar: false,
loop: true,
live: true,
hashtags: true,
timestamp: true,
avatars: true,
behavior: 'default'
}
}).render().start();
</script>
如有任何帮助,我们将不胜感激。
要消除转发,请尝试在搜索字符串中添加"-RT"。
我想明白了。在搜索小部件中,只需设置如下搜索参数:
搜索:"发件人:@blahbrahblah",
这将搜索查询限制为仅来自特定用户的推文。我希望这能帮助任何遇到这个问题的人。
只需将搜索查询设置为:
"发件人:@blahbrahblah-RT"
它将消除其他回复、转发和提及!
我希望它能帮助你
相关文章:
- 回复'js'仅当请求有错误时(否则使用html)
- 如何使用javascript获取下一个/转发url
- 在Jquery中制作删除和回复按钮
- JQuery-返回复选框的值
- 弹出格式化的模式对话框,并在用户确认时转发
- Firefox将我转发到另一个网站,而不是在Drag&滴
- Q回复了一个坚定的承诺
- 如何使用js代码转发reactjs路由器
- yammer在手机上嵌入评论不显示回复选项
- AJAX PHP评论框userid=0?回复=“&”;
- Magento:支付门户转发 - 如何调试
- 在PHP的注释-回复系统中删除某个注释
- 将ng模型转发到指令中的元素的正确方法是什么
- PHP和Javascript转发页面
- 页面未通过createRenderUrl转发
- Angular/Node/Mongoose-呈现帖子,评论,回复
- 在slack nestor bot回复中调用giphy搜索
- 将回复电子邮件地址更改为队列's在动态crm 2011中的电子邮件地址
- 试图消除twitter小部件中的回复和转发
- 如何转发,回复或添加推文到收藏夹