{"id":5927018,"date":"2015-03-22T10:06:50","date_gmt":"2015-03-22T10:06:50","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/problem-with-authorisation-to-facebook\/"},"modified":"2016-08-22T18:19:18","modified_gmt":"2016-08-22T18:19:18","slug":"problem-with-authorisation-to-facebook","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/problem-with-authorisation-to-facebook\/","title":{"rendered":"Problem with authorisation to facebook"},"content":{"rendered":"<p>Hello, help me please with this issue: when I try authorize account on Facebook it does not properly do it. Instead the following message appears:<\/p>\n<p><em>[ Moderator note: code fixed. Please wrap code in the backtick character or <a href=\"https:\/\/codex.wordpress.org\/Forum_Welcome#Posting_Code\">use the code button<\/a>. ]<\/em><\/p>\n<pre><code>Array\n(\n    [page] =&gt; NextScripts_SNAP.php\n     =&gt; \n\n    [state] =&gt; nxs-fb-0\n)\n\nArray\n(\n    [page] =&gt; NextScripts_SNAP.php\n)\n\n-=\n\nArray\n(\n    [doFB] =&gt; 1\n    [nName] =&gt;\n    [fbAppID] =&gt; 1566499550270522\n    [fbAppSec] =&gt; \u25cf\u25cf\u25cf\u25cf\u25cf\u25cf\u25cf\u25cf\n    [catSel] =&gt; 0\n    [catSelEd] =&gt;\n    [postType] =&gt; A\n    [fbAttch] =&gt; 2\n    [fbAttchAsVid] =&gt; N\n    [atchUse] =&gt; F\n    [imgUpl] =&gt; 1\n    [fbMsgFormat] =&gt; %TITLE%\n%EXCERPT%\n%URL%\n    [msgTAFrmt] =&gt;\n    [msgDAFrmt] =&gt;\n    [riComments] =&gt; 0\n    [riCommentsAA] =&gt; 0\n    [rpstDays] =&gt; 0\n    [rpstHrs] =&gt; 0\n    [rpstMins] =&gt; 0\n    [rpstOn] =&gt; 0\n    [rpstStop] =&gt; O\n    [rpstOnlyPUP] =&gt; 0\n    [fltrsOn] =&gt; 0\n    [rpstBtwDays] =&gt; Array\n        (\n        )\n\n    [fbURL] =&gt; https:\/\/www.facebook.com\/nazar.serdyuk.1\n    [fbPgID] =&gt; nazar.serdyuk.1\n    [rpstRndMins] =&gt; 0\n    [rpstPostIncl] =&gt; 0\n    [rpstType] =&gt; 2\n    [rpstTimeType] =&gt; A\n    [rpstFromTime] =&gt;\n    [rpstToTime] =&gt;\n    [rpstOLDays] =&gt; 30\n    [rpstNWDays] =&gt; 365\n    [tagsSel] =&gt;\n    [tagsSelX] =&gt;\n)\n\nhttps:\/\/graph.facebook.com\/oauth\/access_token?client_id=1566499550270522&state=nxs-fb-0&redirect_uri=http%3A%2F%2Fnazarserdyuk.com%2Fwp-admin%2Foptions-general.php%3Fpage%3DNextScripts_SNAP.php&client_secret=\n\nArray\n(\n    [headers] =&gt; Array\n        (\n            [content-type] =&gt; application\/json; charset=UTF-8\n            [www-authenticate] =&gt; OAuth &quot;Facebook Platform&quot; &quot;invalid_request&quot; &quot;Error validating client secret.&quot;\n            [access-control-allow-origin] =&gt; *\n            [x-fb-rev] =&gt; 1653508\n            [pragma] =&gt; no-cache\n            [cache-control] =&gt; no-store\n            [facebook-api-version] =&gt; v1.0\n            [expires] =&gt; Sat, 01 Jan 2000 00:00:00 GMT\n            [x-fb-debug] =&gt; \n\n            [date] =&gt; Sun, 22 Mar 2015 10:02:43 GMT\n            [connection] =&gt; close\n            [content-length] =&gt; 88\n        )\n\n    [body] =&gt; {&quot;error&quot;:{&quot;message&quot;:&quot;Error validating client secret.&quot;,&quot;type&quot;:&quot;OAuthException&quot;,&quot;code&quot;:1}}\n    [response] =&gt; Array\n        (\n             =&gt; 400\n            [message] =&gt; Bad Request\n        )\n\n    [cookies] =&gt; Array\n        (\n        )\n\n    [filename] =&gt;\n)<\/code><\/pre>\n<p>https:\/\/wordpress.org\/plugins\/social-networks-auto-poster-facebook-twitter-g\/<\/p>\n","protected":false},"template":"","class_list":["post-5927018","topic","type-topic","status-closed","hentry","topic-tag-authorisation"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5927018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5927018\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5927018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}