«Tweet» and post on Facebook what you are listening to

Navigating there I have found a script made by a French.  @OxHaK.

It is a script that after being executed. Post the song you are listening to automatically on your Twitter and Facebook account via Banshee.

  • The first thing to do is install the Banshee.

apt-get install banshee

In order to make it work you have to have fbcmd and TTytter our PC. You can see how to do it

The script in question is as follows.  http://pastebin.com/wpXq4b6L

  • What you have to do is give it execution permissions and run it.
  • We must create a folder called Scripts in our Home

mkdir /home/USUARIO/Scripts

  • In that same Directory we create a file called banshee.txt

touch banshee.txt

If this file is not created, the tweets will be repeated approximately every 30 seconds. And you are going to be the spam lord of Twitter.
  • We move our script there and give it execution permissions.

chmod +x script

Now we run it.

./script

Now you just have to open Banshe and Start listening to your favorite music.

There is something to do for this script. Change the language. If anyone is encouraged to improve it, it would be great.

If we want it to run only at the beginning of the session we put it in /etc/rc.local

7 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Juan said

    Will the same happen with other players?

    1.    @Jlcmux said

      Yes, but you would have to edit the script to adapt it to other players.

  2.   Ankh said

    Enough Internet for today.

  3.   hexborg said

    Excellent. One more sample of the power of the terminal.

    1.    Baron ashler said

      Sure friend, it's a good script I'll try it 😀

  4.   helena_ryuu said

    let's see how to modify it for mpd …… wait a moment…! I don't even have twitter or facebook hahaha
    very interesting contribution!

  5.   saib184 said

    Yeahh rapists of the verse, I already want to see them in the Latino live in March