Skip to content

amp-twitter fails with dynamic data-tweetid #17953

@kedar9444

Description

@kedar9444

I am trying to integrate these awesomely 😍 written AMP web components in my website [angular content/resource platform] but facing issue in it.
the issue i am facing is :
It works perfectly fine when i use the static tweetid in amp twitter component

<amp-twitter width="375" height="472" layout="responsive" data-tweetid="638793490521001985"> </amp-twitter>

but when i try to make dynamic it fails.

<amp-twitter width="375" height="472" layout="responsive" [data-tweetid]="id"> </amp-twitter>

where id is variable with data. 😬

using it with Angular 6.

can you guys explain possible reason.

thanks in advance. ❤️ ❤️ ❤️ and more love to you guys, for making these integrations so simple.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions