Facebook Login


I guess this one goes straight to the devs/Chris :
I've just setup Facebook login on a site. Everything looks Ok until when FB redirects to my site.
The following stares at me:
Before you may join you must agree to our rules. Read through the rules, then at the bottom either agree & proceed, or disagree.
Am wondering what to do to remove this.
What can I do?


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


enelson said
He All,
I guess this one goes straight to the devs/Chris :
I've just setup Facebook login on a site. Everything looks Ok until when FB redirects to my site.
The following stares at me:
Before you may join you must agree to our rules. Read through the rules, then at the bottom either agree & proceed, or disagree.
Am wondering what to do to remove this.
What can I do?
From “Facebook Login”, 30th April 2017, 10:28 pm
Do you have "Require rule-acceptance upon joining / usergroup choice" enabled in your admin settings.
Home → Admin Zone → Setup → Configuration → User/usergroup options


longer reproducing the error mentioned in the first post, instead after the FB redirect to my site, the start page redirects thrice and am still not logged in after the third redirect.
No user is created by Composr
Paul Flavel said
enelson said
He All,
I guess this one goes straight to the devs/Chris :
I've just setup Facebook login on a site. Everything looks Ok until when FB redirects to my site.
The following stares at me:
Before you may join you must agree to our rules. Read through the rules, then at the bottom either agree & proceed, or disagree.
Am wondering what to do to remove this.
What can I do?
From “Facebook Login”, 30th April 2017, 10:28 pm
Do you have "Require rule-acceptance upon joining / usergroup choice" enabled in your admin settings.
Home → Admin Zone → Setup → Configuration → User/usergroup options
From “Post #2,641”, 1st May 2017, 2:53 am
It's enabled.


If it's a basic error then Facebook is probably returning an error message which we relay in the network request's response headers.
I took a very quick screenshot to show where that is in Google Chrome (but I'm not logged in with Facebook, so don't expect to actually see any error or header in this screenshot).

Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


Am having the same issue here at compo.sr on every browser I tried.
Redirect ends at Composr CMS: Content Management meets social media
enelson said
Am no
longer reproducing the error mentioned in the first post, instead after the FB redirect to my site, the start page redirects thrice and am still not logged in after the third redirect.
From “Post #2,642”, 1st May 2017, 3:53 am
I disabled Client OAuth Login for the app at FB's end and got this response when trying to login to my site using the FB app
"The application has disabled OAuth client flow"
So I re-enabled Client OAuth tried to login and the redirect continues.
Am mentioning the Client OAuth here because after re-enabling it, I get an alert:
"Client OAuth login is enabled but you haven't listed any valid OAuth redirect URIs. Click here for more information."
The OAuth redirect URI, what could it mean?
Also is anyone else reproducing the errors? Am wondering if it could be an issue connected to my Facebook account as I have heavy changes in my account settings, especially Privacy.


Finding it didn't work here was a helpful clue, thank you.
Facebook changed their API. Now, I didn't think we were doing anything particularly advanced, but actually we were using an old version of their PHP SDK which was not updated to be compatible with their updated API which had a fundamental core change to it.
I have patched it, the new file is here:
https://raw.githubusercontent.com/ocproducts/composr/b23df1c8f2dc502c7680186fdaa3596d55bdce2a/sources_custom/facebook/facebook.php
Facebook have actually totally relaunched their SDK twice since we last did it. We're using the latest version, but of an SDK they don't update any more

We should do a major refresh of the Facebook addon to their latest SDK (a very different implementation), but we don't have anyone to fund it so we will just have to keep patching it like this until we can find some funding somehow. Unfortunately it's getting more and more costly to keep all these integrations updated, because the industry seems to have decided that frequently rewriting stuff and dropping compatibility is okay, because they have in mind only VC-funded companies with millions to burn.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.