Author Topic: Social Networks Status Plugin  (Read 66007 times)

boroda

  • Sr. Member
  • ****
  • Posts: 4595
Its because of massive status updating in the past. As far as I understood from facebook developer page you should wait with using plugin for an approximately hour:

https://developers.facebook.com/docs/reference/ads-api/api-rate-limiting/


boroda

  • Sr. Member
  • ****
  • Posts: 4595

boroda

  • Sr. Member
  • ****
  • Posts: 4595
  • New plugin version correctly parses singe-key hotkeys in textboxes, i.e. you can assign for example 'space' as hotkey and use 'space' as normal character in plugin settings window


http://www.mediafire.com/download/pwhs78e64zr7zfh/mb_SocialNetworksStatus_2014-04-14.zip

You need MB 2.4 latest patch to use new plugin version:

http://musicbee.niblseed.com/V2_4/MusicBee_Exe_Patched.zip

Triopticon

  • Guest
I was wondering if it is possible to include an image file when it posts?  Such as the album cover image in the MP3?

boroda

  • Sr. Member
  • ****
  • Posts: 4595

Triopticon

  • Guest
Thanks.

I am getting this error when it tries to update my Facebook

(OAuthException - #190) Error validating access token: Session has expired on May 17, 2014 7:00am. The current time is May 17, 2014 9:56am.

It posted fine this morning.  I have it post once every 20 songs which is always over an hour.  Even if I try to update status manually it gives me the error.

However, it posts fine to Twitter.

Any suggestions?

boroda

  • Sr. Member
  • ****
  • Posts: 4595
Try to log off (in plugin preferences) and log on again.

Triopticon

  • Guest
OK, that seemed to work.  I will see what happens after an hour +.

Thanks!

Triopticon

  • Guest
No, it failed, again

(OAuthException - #190) Error validating access token: Session has expired on May 17, 2014 12:00pm. The current time is May 17, 2014 12:28pm.

Current Time is 3 hours behind my time.

boroda

  • Sr. Member
  • ****
  • Posts: 4595
Yes, I can reproduce this. It happens when status updates have interval more than hour. I'll try to ping server to avoid this. Maybe tomorrow, but don't promise.


wmaxlees

  • Guest
So I was messing around with the code a bit since you had it posted up. I changed the way that listening data is posted to Facebook if you wanna check it out. It uses Facebook Actions instead of just using a me/feed/ post so that it appears more like Spotify where Facebook sorta gathers the info and then posts a bunch of the songs all in one post automatically.

I'm not sure where to put the code if you wanna see it. I don't wanna put it on my Google git account because you have to license the code which mostly isn't mine.  ;)

boroda

  • Sr. Member
  • ****
  • Posts: 4595
Zip and upload your code to mediafire (or any other file sharing service) and post the link here. Maybe I could enhance the plugin by adding some options.

Also it doesn't matter that initial code is not yours - feel free to fork the plugin if you want (under any license you want).

wmaxlees

  • Guest
I put it up on my Google Drive. You should be able to get the code here: https://drive.google.com/file/d/0B51M5KSRCcLfc1h5OXc3ZzVzOWs/edit?usp=sharing

I added an UpdateAction() method to the Facebook object that is called when the plugin gets a PlayCountChanged event call. I also had to change the Facebook app that the plugin was connected to so that I could implement the Action via Facebook. It's not that hard to figure out I don't think, though. https://developers.facebook.com/docs/opengraph/using-actions/v2.0 for some info on Actions.