treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Login with Twitter (Kirby)

  • Hey @traq. I'm on my iPhone writing this as I'm not home at the moment.

    Basically I was taking my consumer and access keys/secrets, inputting them into the twitteroauth.php file in the Vendor folder. I might have placed into another file as well which was causing it to fail. The only thing you need to do to get it working is to place your Consumer key and secret into opauth-config (or whatever the filename is) inside the Example folder. It should then validate.

  • hmm... that's where I have them (in ./example/opauth.conf.php, in $config['Strategy']['Twitter']).

  • @traq Do you have Gmail or perhaps we can discuss this further through chat?

  • actually, nevermind. I was using the TwitterStrategy.php file you'd sent me, which had your key and secret. Once I deleted that it worked fine.

    I'm testing my twitter_user class now with the live API. I'll post with the results in your other thread.

    ...thanks!

  • @traq Awesome, thanks.