-->
U3F1ZWV6ZTgxNTE0OTE0NjFfQWN0aXZhdGlvbjkyMzQ1MTU0NjUz
recent
أخبار ساخنة

How To Install Twitter Post to Blog Post To AMP Blogger

How To Install Twitter Post to Blog Post To AMP Blogger - Here's the embed code twitter, how to embed twitter on page template amp template is not much different from embedding Instagram way, it's just file or code that need to be different from each other. Because on embed twitter this time we will take the ID from the URL twitter.
Please see the following link on Twitter


https://twitter.com/AMPBloggerSeo/status/988897042201305088

we only need to copy the code ID 988897042201305088 which we will use on the data -tweeted.

The first step:

Include the following script in the above </head>


<script async='async' custom-element="amp-twitter" src="https://cdn.ampproject.org/v0/amp-twitter-0.1.js"></script>

Read olso: How To Install Instagram To AMP Blogger

The second step:


Copy the code below and place it on the posting page on your AMP Template.
Use this code if you want to display the image



<amp-twitter width="400" height="350" layout="responsive" data-tweetid="988897042201305088" data-cards="hidden"> </amp-twitter>

Use this code if you want to hide the image




<amp-twitter width="400"
height="350"
layout="responsive"
data-tweetid="988897042201305088"
data-cards="hidden">
</amp-twitter>

The Third Step:


Please change the data-tweeted 988897042201305088 with your own property or other tweeter ID data. The result will look like the example below;

SHOWING PICTURE:





HID PICTURE



الاسمبريد إلكترونيرسالة