Fixed Twitter embed bug (on mobiles)

RobParker

Well-known member
Affected version
2.0.4
Embedded tweets don't seem to be linking properly on mobile (iOS)

As an example, I paste in this link
Code:
https://twitter.com/dele_official/status/980517108919554048

It embeds as this:
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

That then changes the link to

Code:
https://twitter.com/statuses/980517108919554048

That link doesn't work on mobiles and gives a "page doesn't exist" error. I think it's related to how it's changing the link structure which is fine on desktop but doesn't work on mobile.twitter.com.

XF bug or twitter bug?
 
Back
Top Bottom