Ticket: Error adding multiple LinkedIn accounts in Postiz
@ThinkBig1979 Just created a ticket
Question: If I want to add multiple LinkedIn pages and accounts to self-hosted Postiz, how would I go about adding the necessary client IDs and secrets? There is no documentation on basic use cases like this that I can find.
Attempted: I have successfully added my own Linkedin Account, but now trying to add a linkedin page and getting the error: Bummer, something went wrong. The redirect_uri does not match the registered value. I've tried adding additional sets of LinkedIn IDs and secrets to the credentials to the compose file, but then I get errors.
Working On: Setting up self hosted Postiz for a small marketing agency.
Using Postiz On: Docker-Compose
Take it from here @Postiz
Question: If I want to add multiple LinkedIn pages and accounts to self-hosted Postiz, how would I go about adding the necessary client IDs and secrets? There is no documentation on basic use cases like this that I can find.
Attempted: I have successfully added my own Linkedin Account, but now trying to add a linkedin page and getting the error: Bummer, something went wrong. The redirect_uri does not match the registered value. I've tried adding additional sets of LinkedIn IDs and secrets to the credentials to the compose file, but then I get errors.
Working On: Setting up self hosted Postiz for a small marketing agency.
Using Postiz On: Docker-Compose
Take it from here @Postiz
24 Replies
Hello, could you please share your docker-compose / .env?
And your Domain / IP via you access Postiz
Sure, here's my compose file (substituting 'mydomain' for my real domain name. (my real domain name is a single word
.com
domain, so the format of the fake domain name is correct):
https://pastebin.com/kN5SY12w
And my .env file (which is in the same directory as my compose file). Obviously all keys and secrets are dummies:
https://pastebin.com/4rCjRGxFPastebin
Postiz Docker Compose File - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
postiz .env - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Ok so
In the LinkedIn settings (LinkedIn Website), you need to add the redirect URI https://postiz.mydomain.com
Ok, so the documentation says this:
This is what I have done now, which allowed me to add at least one account successfully.
So you're saying I need to change that, right?
Yes
Ok...
- Changed the redirect URL on both Linkedin apps I want to add.
- Deleted my persisted data and restarted the Docker stack, so completely clean slate.
- Created an account / signed in on my Postiz app
- Tried to add LinkedIn channel.....
- Tried to add a LinkedIn Page channel
- Both resulted in the Bummer error 😢
Hmm that’s weird
Wait
What do you mean “multiple LinkedIn Apps”?
Do you want to connect multiple Accounts?
Hi, that's correct. My company manages multiple linkedin accounts, and I would like to add them all.
In fact, we manage multiple Instagram accounts for our clients as well. So I would want to add those as well.
Yes, that’s possible with only one “app”
you just need to, as soon as you linked the first account, log out (in linkedin) and login with the second account and link it
so you would only need one app for multiple accounts
and the value needs to be exactly
https://postiz.example.com/integrations/social/linkedin
The thing is, we do not have the login credentials of our clients, they have simply made us super admin of their linkedin pages. That allows us to create linkedin apps for each client under our own account.
Each app has its own clientID and secret, but is tied to our own account
Well, how postiz works, you can only add one app
you would need to ask your clients to have login credentials
or create multiple postiz instances
and in the app authorize multiple accounts*
I don't see that as a workable solution. We should not be asking for our clients' login credentials. That's the whole purpose behind being able to assign page admins.
I guess Postiz is not a tool for agencies
Ideal scenario:
One linkedin account is able to link multiple LinkedIn apps (for all the client pages they manage) into Postiz.
Without this feature, I don't see Postiz being usable for agencies.
You could request the Feature in the GitHub
Will do, thanks.
That would require an advanced AdminUI and an very good docs
I honestly thought the point of Postiz was to help agencies manage their social media client accounts, but it seems it's more aimed at businesses managing their own social channels. I guess I misinterpreted the use case.
And an complete revamp of the API system
Yeah
Hey, actually, I think I just found out how to do it!
- started Postiz with a clean slate again
- changed the redirect URL for the two linked apps that I have created to
https://postiz.mydomain.com/integrations/social/linkedin-page
- then without first adding a regular linkedin
channel, I went straight for add linkedin page
- after loggin into linkedin, and being redirected to Postiz, I was presented with a menu showing the two pages (apps) I created, and I was able to add them, one by one 🙂So it works now?
Well, I can definitely add multiple linkedin pages corresponding to the apps I created under my Linkedin account, so that is working 🙂
Hi @ThinkBig1979 Please select an action