Hi all!
I’ve managed to do a hot-fix for the issue.
You have to open file medium/inc/medium-admin.php and find function
function personal_options_update
And find next line within it:
$medium_user->publications = self::get_contributing_publications($token, $user->id);
For me this was line #183.
Comment it out!
For those who are non-tech users here, this means adding “//” in front of the line. So it becomes:
// $medium_user->publications = self::get_contributing_publications($token, $user->id);
As this is a hot-fix, the plugin might break in certain scenarios (I’ve seen getting publication function is used at some other points too). I’ve only tested simple scenario: saving integration token > posting a post > it appears on Medium > PROFIT!
So use this fix on your own risk!
But I am also starting to use this plugin regularly, so some other fixes might come up. Or even a whole new plugin ??
If anyone is interested in backing the development and support of the plugin OR paying a reasonable amount of money for similar plugin that works and is supported – you are welcome to drop me a message at [email protected] I will be really happy to know your thoughts!
By the way, a bit of details: the reason for this current issue is that from recent time apps using integration tokens are limited in scopes. They can only make some general things with account and publish post. That’s all. They cannot list publications, for example. To have more rights in the world of Medium API, you have to create an app in settings and use OAuth tokens. But this requires much re-engineering of existing code. So for now I am happy with a hot fix that allows me to cross-post content to Medium ??
Happy posting to everyone!
Kind Regards,
Sergii Savchenko