twitter_oauth_example icon indicating copy to clipboard operation
twitter_oauth_example copied to clipboard

Converting to Phoenix 1.3

Open mazz opened this issue 8 years ago • 2 comments

Hi just for kicks I tried converting this project to phoenix 1.3. I've managed to authenticate with oauth but currently it does not load the tweets into the webpage. I believe the issue is that I moved the setupTwitter() and loadTweets() in the web/static/js/app.js to the 1.3 folder assets/js/app.js

I get a javascript runtime error now:

Error: Cannot find module 'web/static/js/app' from '/' app.js:61:11 require http://localhost:4000/js/app.js:61:11 <anonymous>

How do I fix this reference?

mazz avatar Oct 29 '17 20:10 mazz

Have you pushed up this fork? If so -- could you provide a link? I could clone and take a look when I have time

steveklebanoff avatar Oct 31 '17 18:10 steveklebanoff

Sorry I made an entirely new project. I know that this makes it more difficult to cherry-pick the changes but lately short on time to start from a fork..

https://github.com/mazz/twitter_kittens

mazz avatar Nov 06 '17 02:11 mazz