You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @nevo-david , I'd been having some problems getting the advertising API authorized on my LinkedIn developers account, so I set about seeing if I could adjust the linkedin provider API to work without it.
I dropped r_basicprofile from the scopes, and also removed calls to /me, which seem to be deprecated in favour of /userinfo. This saves quite a few duplicate calls when setting up the integration.
This at least allows posting to work - I've had a quick scan through the rest of the code and I cannot see where the advertizing API migth be used - do you know? If the advertising API is used, maybe we could hide this behind a feature flag for people that don't have the advertising API enabled?
I'll just post the quick diff below, but in principle if I turned this into a PR, would this work for you?
Hey @nevo-david , I'd been having some problems getting the advertising API authorized on my LinkedIn developers account, so I set about seeing if I could adjust the linkedin provider API to work without it.
I dropped r_basicprofile from the scopes, and also removed calls to /me, which seem to be deprecated in favour of /userinfo. This saves quite a few duplicate calls when setting up the integration.
This at least allows posting to work - I've had a quick scan through the rest of the code and I cannot see where the advertizing API migth be used - do you know? If the advertising API is used, maybe we could hide this behind a feature flag for people that don't have the advertising API enabled?
I'll just post the quick diff below, but in principle if I turned this into a PR, would this work for you?
The text was updated successfully, but these errors were encountered: