Skip to content

Instantly share code, notes, and snippets.

@himanshu-myupchar
Created September 4, 2019 11:07
Show Gist options
  • Save himanshu-myupchar/3f70140d1a03accb4a5915d28c7318a9 to your computer and use it in GitHub Desktop.
Save himanshu-myupchar/3f70140d1a03accb4a5915d28c7318a9 to your computer and use it in GitHub Desktop.
AMP ACCESS
<script id="amp-access" type="application/json">
{
"authorization": "/amp-access/authorization?rid=READER_ID&url=CANONICAL_URL&ref=DOCUMENT_REFERRER&_=RANDOM",
"pingback": "/amp-access/authorization?rid=READER_ID&url=CANONICAL_URL&ref=DOCUMENT_REFERRER&_=RANDOM",
"authorizationFallbackResponse": {
"error": true,
"loggedIn": false,
"powerUser": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment