Problem/Motivation
When I go to add a user I get an error stating:
There was an unexpected problem serving your request
Please try again and contact us if the problem persist including 99b7a5fd-06a7-4613-9ca9-09c370c03661 in your message.
In the dblog I see the following:
InvalidArgumentException: The "graphApiVersion" must start with letter "v" followed by version number, ie: "v2.4". in League\OAuth2\Client\Provider\Facebook->__construct() (line 89 of /home/sitename/vendor/league/oauth2-facebook/src/Provider/Facebook.php) [99b7a5fd-06a7-4613-9ca9-09c370c03661].
I tried to add a v to the version but it only accepts numbers and for the life of me I cannot find where I need to add the callback over on the Facebook side like I did for the login.
Suggestions?
Issue fork social_post_facebook-3304879
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
manuvelasco commentedTry adding the API version without coma in the social post Facebook configuration form, for example in my case I just added 18
Comment #3
megakeegman commentedI think it will make sense to update the documentation under the graph api version field. Currently it says to copy from facebook, but you are correct that it is an integer field, so really just use the up/down arrows to select the api version that matches the API version of your facebook app
Comment #4
megakeegman commentedComment #6
megakeegman commentedComment #8
megakeegman commentedI went ahead and merged the changes, but will keep this in needs review for the moment in case there happen to be any further feedback
Comment #9
megakeegman commentedGoing ahead and closing. Additional documentation is also being introduced in another issue: https://www.drupal.org/project/social_post_facebook/issues/3422380
Comment #10
megakeegman commentedComment #11
megakeegman commented