Unkown path components Facebook SDK
Error
Facebook\Exceptions\FacebookResponseException with message 'Unknown path components: /<my-fb-page-id>/feed
Solution
- Previously had attempted posting to facebook using the
v12
api but the api expects v12.0
- path example:
/v12.0/<my-fb-page-id>/feed
- Accordingly, The error was fixed by appending
.0
to the version string as shown above
- Unfortunately the error is not particularly helpful in indicating which path component is unknown or what needs to be fixed