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 · 1 comment
Open

Multiple Facebook Providers / Multi Site #34

mark-chief opened this issue Jun 4, 2020 · 1 comment

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.

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

2 participants