Giter Site home page Giter Site logo

How to authenticate user? about sttwitter HOT 6 CLOSED

nst avatar nst commented on July 1, 2024
How to authenticate user?

from sttwitter.

Comments (6)

nst avatar nst commented on July 1, 2024

As explained in the README, your OAuth tokens are probably not xAuth enabled https://github.com/nst/STTwitter#xauth

Asking Twitter to enable your own app for xAuth may seem a cumbersome process, but it's the way it works.

Meanwhile, you can use tokens from official, xAuth enabled Twitter clients for testing, see here for example https://gist.github.com/rhenium/3878505

from sttwitter.

ranjha avatar ranjha commented on July 1, 2024

Okay, so lets say I do get xAuth enabled. According to Twitter, this doesn't allow access to direct messages? Is this correct?

Would PIN-code out-of-band flow be an option?

from sttwitter.

nst avatar nst commented on July 1, 2024

Some app tokens can access direct messages and some cannot.

For example, I was able to access my direct messages with STTwitter using "Twitter for Mac" OAuth tokens.

from sttwitter.

ranjha avatar ranjha commented on July 1, 2024

I applied for xAuth. Is there anyway I could use the Twitter framework built in to the iOS?

Thank you!

from sttwitter.

nst avatar nst commented on July 1, 2024

No, you're right, a class to interact with the iOS Twitter framework is still to be added, such as STTwitterOSX. I'll do it.. soon! Meanwhile, check https://dev.twitter.com/docs/ios and https://dev.twitter.com/docs/ios/making-api-requests-slrequest

from sttwitter.

nst avatar nst commented on July 1, 2024

Ok I changed STTwitterOSX into STTwitterOS. This class should work for both OS X and iOS (tested on iOS 6 and 7).

from sttwitter.

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.