开发者

remove mentions in twitter api callback

开发者 https://www.devze.com 2023-03-05 22:45 出处:网络
i am using this json script to fetch my latest tweet. but i want it to remove the tw开发者_如何学Goeets when i \"@reply\" to someone.

i am using this json script to fetch my latest tweet. but i want it to remove the tw开发者_如何学Goeets when i "@reply" to someone.

<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js">
</script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/myusername.json?callback=twitterCallback2&count=1&include_entities=false">
</script>

i went after the "include_entities" but that didn't work. here is some more info for your reference.


The most straightforward approach will be to retrieve the timeline and remove any tweets where: - The "in_reply_to_status_id" contains a non-blank or non-zero value AND - The "id" tag in the "user" section is your user id.

0

精彩评论

暂无评论...
验证码 换一张
取 消