Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Facebook Providers / Multi Site #34

Open
mark-chief opened this issue Jun 4, 2020 · 4 comments
Open

Multiple Facebook Providers / Multi Site #34

mark-chief opened this issue Jun 4, 2020 · 4 comments

Comments

@mark-chief
Copy link

I run a Craft multi site for a .com and .in.

I have social poster running for facebook on the .com but I was hoping to get it working for the .in as well, which has its own .in facebook page.

domain.com -> FB App for .com -> facebook page for .com company
domain.in - > FB app for .in -> facebook page for .in company

From what I can see (I may be wrong, please correct me) I need to add another provider to post to the .in facebook page?

Thanks

Also just a note to say FB have depreciated the publish_pages and manage_pages permissions - docs may need to reflect that.

@engram-design
Copy link
Member

So at the moment, there can only be one set of credentials per provider. You can have multiple "accounts" setup to use these settings, but customised for different pages or groups.

Let's say you wanted an account for your personal Facebook Page, and another for your business Facebook page. You would create a single Facebook app that has access to both of these pages with appropriate permissions. Fill in your Facebook provider settings with these settings from the Facebook app.

Then create two accounts, using the Facebook provider. Enter the appropriate Facebook Page ID for the page you want this account to post on.

Will that work in your case?

Otherwise, if you need to connect to a completely separate Facebook app in order to post to another page, that's currently not possible. You could achieve this with a custom provider, that's a direct duplicate of the Facebook provider though.

@JayBox325
Copy link

I'm looking to build a platform that has multiple outlets (where each site is an outlet) and they'd all need their own facebook/twitter/instagram/linkedin posting capabilities.

Is it possible yet in the latest version to be able to set this sort of configuration up?

@engram-design
Copy link
Member

This is out of date actually, as of Social Poster 4.0.0 providers and accounts have been merged, meaning you can have multiple providers setup.

@JayBox325 In your scenario, that should be possible, although how you manage it might be tricky, as depending on who has access to the Social Poster interface can modify other site's connections. There's also a bit of manual setup involved with client keys/secrets.

For this reason, we're looking to add our own consumer apps for these platforms. Essentially, a one-click OAuth solution where you authenticate with Verbb's "Social Poster" app for Facebook/Instagram/etc rather than having to mess around with credentials, submitting apps for reviews, etc. It'll be the most client-friendly method without the need to get a developer involved.

@JayBox325
Copy link

That sounds great, and the ability for users of one site to be able to manage their own only and nobody else’s would be brilliant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants