XF 2.2 Twitter embed not working

Andre Daub

Active member
After upgrading from 1.5 to 2.2.2 my forums works perfect. But 1 mistake i recognized:

Twitter links are not embed and not clickable!


Links to all other plattforms works perfect, but only twitter not showing up?

Any idea how i can fix this?
 
Rebuilding the master data should resolve it so you may want to look into why it isn't.

Development mode would need to be enabled in order to manually update it.
 
Rebuilding the master data should resolve it so you may want to look into why it isn't.

Development mode would need to be enabled in order to manually update it.
I have now rebuild it another time, but nothings changes.
If i looked for file health check, it tells me since days everything is allright.

Where can i find the original code which i have to put in to this template?
 
Match URLs
Code:
twitter.com/*/status/{$id}
twitter.com/statuses/{$id}


Embed template:
Code:
<xf:page option="jsState.twitter" value="{{ true }}" />
<xf:js src="xf/embed.js" min="1" />

<div class="bbMediaJustifier bbCode-tweet"
      data-xf-init="tweet"
      data-tweet-id="{$id}"
      data-lang="{$xf.language.language_code}"
      data-theme="{{ property('styleType') }}"
      ><a href="https://twitter.com/i/web/status/{$id}" rel="external" target="_blank">
    <i class="fab fa-twitter" aria-hidden="true"></i> https://twitter.com/i/web/status/{$id}</a></div>
 
Back
Top Bottom