By Jerry Hayes on Tuesday, 26 January 2016
Posted in Technical Issues
Replies 1
Likes 0
Views 742
Votes 0
i've set it up as best i can but when i try to test it from easyblog to log in i get:

Invalid Scopes: user_groups. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions

i ok that and i get:
Not Acceptable!

An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

from what i understand, this is an apache error and it would be taken up with my hosting provider? is this correct (i've done a lot of digging before asking) and if so, what am i asking them to do?

thank you!
Hey Jerry,

Yep, there is a variable that is used in Facebook's permission request redirection and this variable seems to be pretty sensitive to most hosting providers. (state=xxx) . We actually send this data to Facebook to prevent CSRF attacks (as per their requirements).

However, it seems like most hosting provider actually has mod_security in place which prevents facebook redirecting with this variable in the URL.

Your best bet right now is to contact your hosting provider to turn off mod_security for the site. Once that is turned off, you also need to run the following SQL query to delete the "orphan" record of Facebook in EasyBlog:



Remember to replace #__ with your correct table prefix
·
Wednesday, 27 January 2016 08:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post