› Forums › NextScripts API Forums – Google+, Pinterest, LinkedIn, etc.. › New Pinterest Standalone API is not working. › Reply To: New Pinterest Standalone API is not working.
I get a false response from the API, after doing a bit of debugging, this is what Pinterest returns:
Any suggestions:
array(
‘page_info’ => array(
‘breadcrumbs’ => array(),
‘meta’ => array(
‘og:url’ => ‘https://www.pinterest.com’,
‘description’ => ‘Pinterest is a visual discovery tool that you can use to find ideas for all your projects and interests.’,
‘pinterest’ => ‘nohover’,
‘og:type’ => ‘website’,
‘og:description’ => ‘Pinterest is a visual discovery tool that you can use to find ideas for all your projects and interests.’,
‘twitter:app:android’ => ‘com.pinterest’,
‘twitter:app:id:ipad’ => ‘429047995’,
‘og:title’ => ‘Pinterest’,
‘twitter:card’ => ‘summary’,
‘twitter:site’ => ‘@pinterest’,
‘og:image’ => ‘https://passets-ec.pinterest.com/images/about/logos/Pinterest_Favicon.png’,
‘twitter:app:id:iphone’ => ‘429047995’
),
‘title’ => ‘Pinterest’
),
‘client_context’ => array(
‘app_version’ => ‘1a8199c’
),
‘request_identifier’ => ‘404532234559’,
‘module’ => array(
‘html’ => ‘<div class=”ajax CsrfErrorPage Module” id=”CsrfErrorPage-1″>
<div class=”errorHeader”>
<div class=”errorMessage”>
<div class=”errorInternal”></div>
<div>Uh oh! Something went wrong.</div>
<p class=”retry”>Try these little browser tricks to get going again.</p>
</div>
</div>
<ul class=”diagnoseList”>
<li class=”diagnose”>
<span class=”errorNumber”>1</span>
Turn on Javascript
<li class=”diagnose”>
<span class=”errorNumber”>2</span>
Clear your cache and cookies
<li class=”diagnose”>
<span class=”errorNumber”>3</span>
Make sure you’re up-to-date
<li class=”diagnose”>
<span class=”errorNumber”>4</span>
Try a different browser
<p class=”more”>
Still having trouble? Get help.</p>
</div>’,
‘tree’ => array(
‘resource’ => null,
‘name’ => ‘CsrfErrorPage’,
‘children’ => array(),
‘deps’ => array(
(int) 0 => ‘CsrfErrorPage’
),
‘errorStrategy’ => (int) 2,
‘attributes’ => array(
‘class’ => ‘ajax CsrfErrorPage Module’,
‘id’ => ‘CsrfErrorPage-1’
),
‘options’ => array(),
‘uid’ => ‘CsrfErrorPage-1’
)
),
‘resource_response’ => array(
‘data’ => null,
‘error’ => null
)
)