Tweets not entirely previewing.

Dusty Bradshaw Posted in General Discussion 4 years ago

Hi all links to Twitter aren't entirely rendering. What do I need to do to get it working? Thanks for any help. I am confused on why it isn't rendering.

[11-Sep-2020 23:20:00 UTC] GuzzleHttp\Exception\ClientException: Client error: GET https://platform.twitter.com/widgets.js&quot resulted in a 403 Forbidden response:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>B6DB18 (truncated...)
in /var/www/html/ossn/components/LinkPreview/vendors/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:

Replies
German Michael Zülsdorff Replied 4 years ago

Hmm, strange ... I was just trying your link and got


enter image description here


and NO errors in my log so far.
No idea what's different at your side.

I'd recommend to contact softlab24.com directly (for premium components in general)

us Dusty Bradshaw Replied 4 years ago

Hello ~Z~ Man:

I am just using a whole link like: https://twitter.com/CaliCryptoCo/status/1305810495945846784

It's getting most of it, just not the content as you can see here: Link To Post on Our Site

I'm not sure how to get the Tweet to load the contents of the persons tweet. The code I pasted is the error it's throwing with under system info > files.

Thanks for any help sir!

German Michael Zülsdorff Replied 4 years ago

Dusty,
could you please provide your exact workflow in order to show a tweet on the newsfeed?

Looks like you used Twitter's embed function and pasted the complete block of code into your post ...