Full code is available at: Here’s a breakdown of some of the interesting parts: AuthController We start off authenticating via twitter in the request function. I wanted to just use this library, and avoid adding the additional dependencies of ueberauth and guardian. parroty/extwitter provides the functionality to authenticate as a user, as well as to make requests on behalf of that user. There are a few good examples showing how to use OAuth authentication in Phoenix and Elixir, but I wanted a solution which used a small amount of dependencies, and had the ability to make authenticated requests on behalf of a user. If you are able to invest the time there is almost no downside to building a side project.Twitter OAuth Authentication with Elixir and Phoenix. My point here is: There are advantages to starting a side project even if it never sees the light of the day. Of course, you can’t expect to get clients just based on Open Source contributions. I worked for 6 months in the development team using Elixir. We kept in contact and after some back and forth I was able to come on board as a freelancer. I learned he just started as the CTO of freshly founded startup. It turned out that he was living in the same city as I was. Halfway through abandoning the project, I received an email from the maintainer of the CouchDB library.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |