Individual Linkedin integration not working
📜 Description
I am trying to intergrate Personal linkedin posting with Postiz but when I try to add the provided its not working.
Upon digging in I found that this is the URL where it clearly says w_organization_social scope is not present. Since, I am not posting in my linkedin page but in my personal profile so w_member_social is sufficient and I can provide this scope access.
integrations/social/linkedin/continue?error=unauthorized_scope_error&error_description=Scope+%26quot%3Bw_organization_social%26quot%3B+is+not+authorized+for+your+application&state=LDCfcc&timezone=345
I checked the code base and found it is asking for organization social scope which I can't add in linkedin app.
isBetweenSteps = false; scopes = [ 'openid', 'profile', 'w_member_social', 'r_basicprofile', 'rw_organization_admin', 'w_organization_social', 'r_organization_social', ];
Any solution? I checked my credential details and scope and even redirect URI and everything is correct?
Any help would be appreciated?
👟 Reproduction steps
- Go to postiz
- Click on add channel
- Click on Linkedin
- and its not working after that
👍 Expected behavior
It should be able to add channel. I already added few channels without problem but linkedin did not work.
👎 Actual Behavior with Screenshots
💻 Operating system
Linux
🤖 Node Version
I am using docker compose so default to the node version mention in repo docker compose file
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
- [x] I checked and didn't find similar issue
Are you willing to submit PR?
None
@babizshr You need to add the Application "Advertising API" in your development console for LinkedIn. This will add the needed scoped.
@wertania Same issue for me with already added Advertising API
@robinradx But did you also fill out the request form for the Advertising API? This may take a few hours until this is reviewed by LinkedIn.
@robinradx But did you also fill out the request form for the Advertising API? This may take a few hours until this is reviewed by LinkedIn.
Yes, it's active since yesterday. But still the same issue as seen in the screenshot.
Okay, I was having the same problem for the last 7 days and just fixed it 10 mins ago.
Once you get everything set up with the LinkedIn page first
Then you want to go back into the linkeidn developer app in the Auth tab down to the OAuth 2.0 settings in the Authorized redirect URLs for your app.
There you will see your existing https://postiz.yoursite.com/integrations/social/linkedin-page (Mine is https://postiz.thetrustedautomation.com/integrations/social/linkedin-page) which is working.
You can add another
https://postiz.yoursite.com/integrations/social/linkedin (What I added https://postiz.thetrustedautomation.com/integrations/social/linkedin)
Then go back into Postiz and add the channel. It will login you back into Linkied and add the new channel.
And then that should fix it.
I feel like you can not set this up without first adding https://postiz.yoursite.com/integrations/social/linkedin-page.
you might have to just create a business page and never use it. I could be wrong but it worked from me but setting up the
https://postiz.yoursite.com/integrations/social/linkedin-page first and then
https://postiz.yoursite.com/integrations/social/linkedin
I hope this help
I solved it by following the guide for the page setup
Fill in all the details, once created head over to Products and make sure you add all the required products:
Share on LinkedIn
Advertising API
Signin with LinkedIn using OpenID connect
So it seems like you also need all three products for the individual channel too.
This is really annoying, because one needs to fill in Company details even if the intallation has nothing to do with a company. I just want to use it for my personal account.
Is the Advertising API really always necessary?