GithubHelp home page GithubHelp logo

isabella232 / lastfm2twitter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oniietzschan/lastfm2twitter

0.0 0.0 0.0 14 KB

Show Last.fm Tracks in your Twitter Username (Also works with Spotify)

PHP 83.64% HTML 13.62% CSS 2.74%

lastfm2twitter's Introduction

Last.fm Last played song to twitter


1. Create a mysql database called lastfmtwitter
2. Import the sql under app/db into the database
3. Create a twitter app under https://apps.twitter.com/
  a. Set the Callback url according to this example: https://YOURDOMAIN.com/lastfmtwitter/login/twitter
  b. [x] allow this application to be used to Sign in with Twitter
  c. Permissions: Set request e-mail address from users. (My login class uses an e-mail adress as ID, otherwise we don't need it.)
  d. Access: read & write
  e. Note the values forConsumer Key (API Key) and Consumer Secret (API Secret)
4. create a lastfm app
5. copy app/config.production_example.php to app/config/config.production.php
   and change the values according to the comments.
6. install composer and run composer update
7. upload to a server
8. set up a cronjob to run cronjobRunner.php every 2 minutes, or use cronjob.de

lastfm2twitter's People

Contributors

oniietzschan avatar

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.