SyntaxFix
Write A Post
Hire A Developer
Questions
Little late, but this error can also be caused if you use a native application Client ID instead of a web application Client ID.
native application Client ID
web application Client ID