ampproject / ampproject/amphtml

[Component] amp-facebook-comments: Plugin returns 302 Redirect and fails to render (including official examples)

Open
#40,476 3 comments 0 reactions 1 assignee Claimed by @erwinmombay View on GitHub
Type: Bug
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

### Description

The amp-facebook-comments component is currently failing to render. The internal request to the Facebook Social Plugin URL returns a 302 Found status code instead of loading the comments frame. This issue is reproducible even in the official AMP documentation examples.

### Reproduction Steps

Go to the official AMP Playground example: [link](https://playground.amp.dev/?url=https%3A%2F%2Fpreview.amp.dev%2Fdocumentation%2Fexamples%2Fcomponents%2Famp-facebook-comments&_gl=1*1tdgakt*_ga*YW1wLTdIQ0JpYTRjMF83LTh1RHUzRG91UVE.*_ga_TYM9BH1XCX*MTc3MTQyNjc3My40LjEuMTc3MTQyNzE4Ny4wLjAuMA..&mode=Pixel+2)

Open the Network tab in Browser Developer Tools.

Filter by facebook.com.

Observe that the request to https://www.facebook.com/v17.0/plugins/comments.php... returns a 302 Redirect, and the comment box remains empty or shows a height of 0px/20px.

### Relevant Logs

```shell

```

### Browser(s) Affected

_No response_

### OS(s) Affected

_No response_

### Device(s) Affected

_No response_

### AMP Version Affected

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.