Description:

SocialRok allows you to post what you're listening in Amarok on the Social Networks, allows to send a Cover Arts along with the post and also creates a link to YouTube to do a search!

AVAILABLE NETWORKS
Facebook + Flickr (optional, if you want to send Cover Art along with the post as link format.)
Twitter
GooglePlus (Coming Soon. We have to wait until Google release the API with the write access.)
Skype (curl and python-dbus must be installed.)

INSTRUCTIONS
Take a look at the help in the Script Configuration.

READ PLEASE
I have noticed many failed attempts of sends on facebook, so I decided to add a try/catch on the method to prevent these errors and, at the same time, I added a return of more descriptive information on errors, so that the user can get an idea of what did not work. In addition, Facebook has a sending limit for the apps (to prevent spam), so it may happen that after a long series of sends, facebook blocks the application for the rest of the day. I don't know what is the limit, because it seems to vary based on the received comments/like.

UPDATE
Facebook has removed access_offline permission. Now grant access, gets a token valid for two months. After two months is need to grant access again to get a new token. For all existing users, should be enough grant access again to get a valid token for two months. If this doesn't works, remove the app from the Facebook App Center and grant access again. I'll keep under control the operation to make sure that everything is working.

CONTACT ME
If you have any suggestions or want to inform me of any problems, please leave a comment or contact me by going to https://calm-river-6855.herokuapp.com/contacts.php

That's all!

If you like this script please leave a comment!
Last changelog:

4 years ago

v1.9:
- Fixed some bugs and improved the code for Skype.

v1.8:
- Added button in tools menu of SocialRok to check validity of the access token of Facebook.
- Added button in tools menu of SocialRok for contact me for any suggestions or problems.
- Changed search engine for posted link from Last.Fm to MusicBrainz (is better).
- Fixed the request to TinyURL on server side. Now, if TinyURL fails, the script print "Not Available".
- Fixed the bug of multiple uploading on Flickr when the cover art exists.

v1.7:
- Checking presence of Python & Curl only once.
- Reduced the number of query on tinyurl for Skype.
- Facebook has removed access_offline permission. Now grant access, gets a token valid for two months. After two months is need to grant access again to get a new token. For all existing users, should be enough grant access again to get a valid token for two months. If this doesn't works, remove the app from the Facebook App Center and grant access again. I'll keep under control the operation to make sure that everything is working.
- Fixed some bugs for grant access to Flickr.

v1.6:
- Added button to manually chat playing track in all Skype open chats.
- Added option to chat playing track in all Skype open chats on every track change.
- Fixed some bugs on changing mood text on Skype.
- Created a workaround for Amarok bug that on track change gives multiple notify. (I hope)

v1.5:
- Retrieves more descriptive informations on errors when sends post fails, especially on facebook that has the API quite selective, so you can get an idea of what's wrong!

v1.4:
- Many bugs correct on server side. (The correction of these errors is continuous and is not necessarily linked to release of new versions.)
- Force resizing to 100x100 for cover art when uploading on Flickr, because Facebook uses 75x75 image as link and as result the operation is more fast and there are minor possibility of errors.
- Added skype as Social Networks (curl and python-dbus must be installed.)
- Changed the method for open the web pages.
- Fixed minor graphics bugs.

v1.3:
- Added Flickr option, for upload Cover Arts in a space that allows to create a link instead of as normal picture when you post on Facebook. Read the Help for the Configuration.
- Implemented Google+ in the code but disabled it because the API actually is read only.

v1.2:
- Added option for attach Cover Art (if exist) in the Post message.
- WARNING: for existing facebook users, the app must be deleted from App Center and then must be granted again (sorry).

v1.1:
- Fixed message options for Twitter and changed default text.
- Others minor bugs fixed.

v1.0:
- First script release.

Rockinkaj

3 years ago

Was looking at all the BS posted here.. Made account just to say Thank You.. works perfect..People!! .There is NOTHING wrong with this script.. You need to read instructions ..

Report

baddwin

3 years ago

I can't post to facebook and twit on twitter. I've granted acces to both of them.

Report

m4x1m

3 years ago

Tested right now and all works fine. Have you inserted your user id in the configuration dialog?

Report

baddwin

3 years ago

Of course, I have done that

Report

wheelloader

3 years ago

thankyou very much, it work good,but why i must register again after 2 week?

Report

m4x1m

3 years ago

From the UPDATE in the script description:
-
Facebook has removed access_offline permission. Now grant access, gets a token valid for two months. After two months is need to grant access again to get a new token.
-

then not two weeks!

Just visit the page again as the first time, to receive a new access token.

Report

snock

4 years ago

Hi, I get permission error. Seeking the application on facebook and says does not exist. On twitter works perfectly, for when in google?

Report

m4x1m

4 years ago

Here you can read what's the problem: http://stackoverflow.com/questions/16248645/facebook-api-ip-address-blocking-of-heroku-servers

Now it works again, we hope it continues.

About G+, we have to wait until Google release the API with write permissions, at this moment, doesn't intend to do so

Report

snock

4 years ago

It works just as the last message sent, the website gave me error, thought that he had not sent the message. It works for me, THANK YOU.

Report

snock

4 years ago

Nothing I tried in every way. With twitter no problem.

Report

m4x1m

4 years ago

Is a permissions problem, access token now is good. Try now! Grant access again. If this doesn't works remove the app from the Facebook App Center and grant access again.

Facebook is a little more complicated than Twitter.

Report

snock

4 years ago

I was looking at my facebook account in the songs I get images with the image. But if I give them the link does not work and it goes public.

Report

m4x1m

4 years ago

I'll try to understand! Now the access token and permissions are good. You can change the way that the app sends the post, from Public to Friends, by the settings from SocialRok in your App Center. For link, if you mean the link to youtube, it works well. If you mean to send post as link instead of a normal photo, you have to get an account on Flickr to do this.

Report

snock

4 years ago

Sorry! Twitter me works perfectly, Facebook does not work. It gives me error, says that sends the information but in my facebook page does not appear.

Pardon my language is not English, and it shows: P.

Report

m4x1m

4 years ago

Try now! Grant access again. If this doesn't works remove the app from the Facebook App Center and grant access again.

Report

snock

4 years ago

Excellent script, twitter me facebook works fine but nothing comes out: (

Report

m4x1m

4 years ago

Sorry, I don't understand. Twitter works, facebook not?

If facebook fails, it returns the error that tells you why. May you post it here?

Report

devianpctek

4 years ago

Would it be too much to ask that SocialRok could send album art? :)

Report

m4x1m

4 years ago

Done!

Tomorrow the new version with the option to send the cover art!

Now I'm tired and I'm going to see on TV "Last Resort" :-D

Report

devianpctek

4 years ago

Awesome, it works just great. Thanx :D

Report

devianpctek

4 years ago

But I think it would be better if you can add the ability to use hash for twitter, so instead of just sending for example instead of just sending
♪ NowPlaying Luz De Dia by Enanitos Verdes ♪ | ▶ http://tinyurl.com/bf7esr7 ◀

it could be

♪ #NowPlaying Luz De Dia by Enanitos Verdes ♪ | ▶ http://tinyurl.com/bf7esr7 ◀ via #SocialRok

Looking forward for Google+ :D
oh what about Diaspora? :)

Report

m4x1m

4 years ago

Thanks for the tip, has already been implemented and is available now.

About Google+ I'll work on it next week.

About Diaspora, if the API allows autopost, I'll try to add it after that Google+ is implemented.

Report

m4x1m

4 years ago

I forgot.

The hashtag... #NowPlaying ... you can put it in message options directly yourself.

Report

devianpctek

4 years ago

"The hashtag... #NowPlaying ... you can put it in message options directly yourself."

For some reason it wasn't working, anyway with the new update is working just perfect, excellent job :)

Report

4 years ago

v1.9:
- Fixed some bugs and improved the code for Skype.

v1.8:
- Added button in tools menu of SocialRok to check validity of the access token of Facebook.
- Added button in tools menu of SocialRok for contact me for any suggestions or problems.
- Changed search engine for posted link from Last.Fm to MusicBrainz (is better).
- Fixed the request to TinyURL on server side. Now, if TinyURL fails, the script print "Not Available".
- Fixed the bug of multiple uploading on Flickr when the cover art exists.

v1.7:
- Checking presence of Python & Curl only once.
- Reduced the number of query on tinyurl for Skype.
- Facebook has removed access_offline permission. Now grant access, gets a token valid for two months. After two months is need to grant access again to get a new token. For all existing users, should be enough grant access again to get a valid token for two months. If this doesn't works, remove the app from the Facebook App Center and grant access again. I'll keep under control the operation to make sure that everything is working.
- Fixed some bugs for grant access to Flickr.

v1.6:
- Added button to manually chat playing track in all Skype open chats.
- Added option to chat playing track in all Skype open chats on every track change.
- Fixed some bugs on changing mood text on Skype.
- Created a workaround for Amarok bug that on track change gives multiple notify. (I hope)

v1.5:
- Retrieves more descriptive informations on errors when sends post fails, especially on facebook that has the API quite selective, so you can get an idea of what's wrong!

v1.4:
- Many bugs correct on server side. (The correction of these errors is continuous and is not necessarily linked to release of new versions.)
- Force resizing to 100x100 for cover art when uploading on Flickr, because Facebook uses 75x75 image as link and as result the operation is more fast and there are minor possibility of errors.
- Added skype as Social Networks (curl and python-dbus must be installed.)
- Changed the method for open the web pages.
- Fixed minor graphics bugs.

v1.3:
- Added Flickr option, for upload Cover Arts in a space that allows to create a link instead of as normal picture when you post on Facebook. Read the Help for the Configuration.
- Implemented Google+ in the code but disabled it because the API actually is read only.

v1.2:
- Added option for attach Cover Art (if exist) in the Post message.
- WARNING: for existing facebook users, the app must be deleted from App Center and then must be granted again (sorry).

v1.1:
- Fixed message options for Twitter and changed default text.
- Others minor bugs fixed.

v1.0:
- First script release.

Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 65%
65.00 Likes
35 Dislikes
Details
version
1.9
updated Apr 05 2013
added Nov 08 2012
downloads
page views 709