Giter Site home page Giter Site logo

API V2.0 support about twitter HOT 10 OPEN

GuyFlenner avatar GuyFlenner commented on August 22, 2024 12
API V2.0 support

from twitter.

Comments (10)

JeremiahChurch avatar JeremiahChurch commented on August 22, 2024 1

I've looked over the API changes and they are not straight forward.

the cursoring/pagination is different but do-able. But the overall shape of the data is quite a bit different. My primary use case is 'contacts' and DMs and the 2.0 endpoints are pretty different. the friends endpoint functionally doesn't exist and the DM events is quite a bit different.

This is likely going to require quite a bit of changes either here or elsewhere

from twitter.

jkotchoff avatar jkotchoff commented on August 22, 2024

This will work with the new OAuth2 authentication requirements from Twitter (using the less full featured but much smaller twitter_oauth2 gem):
https://gist.github.com/jkotchoff/e2f5e5fa431f090ab2fb62613287dfbb

from twitter.

noraj avatar noraj commented on August 22, 2024

The free tier Twitter API now only allows tweet creation with API v2.0 and API v1.1 can only be used to upload media and update statuses. So unless v2.0 support is added this API will probably become obsolete.

from twitter.

jkotchoff avatar jkotchoff commented on August 22, 2024

The free tier Twitter API now only allows tweet creation with API v2.0 and API v1.1 can only be used to upload media and update statuses. So unless v2.0 support is added this API will probably become obsolete.

Maybe https://github.com/sferik/twitter is the most similar gem compatible with v2.0 right now.

This issue is for the sferik/twitter gem which does NOT support Twitter API v2.0 yet. As shown in the gist above, you can talk to the new v2.0 Twitter API using the twitter_oauth2 gem instead.

from twitter.

jasonfine avatar jasonfine commented on August 22, 2024

Older applications won't support the twitter_oauth2 gem, without major version upgrades to core dependencies, as it requires rack (>= 2.1.0). So simply switching to that is not an option without considerable effort.

It would be ideal if this gem could support the API changes.

from twitter.

jasonfine avatar jasonfine commented on August 22, 2024

Ugh. Appreciate the insight

from twitter.

noraj avatar noraj commented on August 22, 2024

Maybe https://github.com/sferik/twitter is the most similar gem compatible with v2.0 right now.

This issue is for the sferik/twitter gem which does NOT support Twitter API v2.0 yet.

Sorry, wrong link, I meant https://github.com/julianfssen/tweetkit.

from twitter.

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.