Giter Site home page Giter Site logo

Comments (5)

dhowe avatar dhowe commented on August 18, 2024 1

Thanks for the reply. So they do seem to be retweets (example: #1296315656623681537), though I was attempting to explicitly eliminate retweets.

This is the rule and URL (used w' the example code):

const rules = [  { 'value': '"global warming" OR "climate change" -is:retweet', 'tag': 'ecb1' } ];
const streamURL = 'https://api.twitter.com/2/tweets/search/stream?expansions=author_id&user.fields=location';

from twitter-api-v2-sample-code.

andypiper avatar andypiper commented on August 18, 2024

Can you provide any Tweet IDs where this is the case?
Are they Retweets?

Are you using any other parameters beyond the ones provided in the sample code, to get additional fields or expansions?

from twitter-api-v2-sample-code.

andypiper avatar andypiper commented on August 18, 2024

Thanks for confirming, will need to check on the expectations here.

from twitter-api-v2-sample-code.

dhowe avatar dhowe commented on August 18, 2024

Do let me know if there is some other way I should be filtering out retweets...

from twitter-api-v2-sample-code.

andypiper avatar andypiper commented on August 18, 2024

Iā€™m going to close this issue in favour of this thread on our developer forums, which is a better location to have a more wide-ranging conversation on the API in general. Thank you so much.

from twitter-api-v2-sample-code.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.