Topic-icon Facebook API Error: Parser error: unexpected 'FROM' at position 8

Active Subscriptions:

None
Hey Alex,

I've been doing some messing around on my site today, and now I've hit a snag. I'm trying to figure out how to have people register for a new account with the "Login With Facebook" button. Because I also use Jomsocial, and need people to fill in fields, I assume I need to set the Registration Flow settings to NORMAL, right? Well, if I do that, I get an error when I try to register with that button. The page just refreshes and says, "Facebook API Error: Parser error: unexpected 'FROM' at position 8". Oddly enough, below the error is a form to complete the registration - but, the coding seems off.

I use AEC (Account Expiration Control) on my site. I used to have a Free membership option, but I've just done away with it. This Facebook registration worked before and just automatically gave people the free plan. Now I'm not sure what to do. I tried switching the JFBConnect Registration Flow settings to Automatic - it completes the process,allow people to choose a membership plan through AEC, and takes me to Paypal. But, it doesn't ask me to complete the rest of the fields in Jomsocial.

Ideas?
The topic has been locked.
Support Specialist
First, make sure you've disabled the JomSocial Facebook integration by removing the API/secret keys from their Facebook Connect section. Then, yes, change the registration mode to "Normal" and make sure the JomSocial - JFBConnect profile plugin is enabled and configured. Sounds like you are at this point already, but good to say it.

As for the API error issue, can you try the following, in order, and test after each. We'll need to narrow down what setting is causing that error:
1) In the Profiles area, disable the avatar import.
2) Undo all field mappings.
3) Hide all fields from registration.
4) Disable the JomSocial plugin altogether
Hopefully, after one of those steps, the issue will go away. If so, let me know what setting 'fixed' the problem and we can narrow in on why that issue is happening and how to re-enable it without problems. That should also, hopefully, help you start testing the full flow with that one setting disabled.

Hope that helps, and keep us posted, as always,
Alex
The topic has been locked.