Topic-icon Twitter pics not showing

Active Subscriptions:

None
2 years 10 months ago #67268 by JimDee
I've noticed lately that my Twitter pics aren't sharing and I think maybe it's because the <scopengraphplaceholder> and <sourcecoastproviderjsplaceholder> and <sourcecoastcssplaceholder> tags aren't populating once the page loads. (At least, I think maybe that's the issue?)  I do see those tags atop the page after it loads, but they're empty, and I think that's why the shares (via AddThis) aren't picking up on the photos (because the OG tags aren't there, for example).  For the life of me, I can't see to get any progress, though... we also use JCH Optimize, which is a recent addition. I added "sourcecoast" and "jfbconnect" to the exclude list. But, it hasn't worked (plus I triedJCH's debug mode & didn't see any Sourcecoast JS in their combined JS file).  It's tough to diagnose, though, as we have caching, JCH, and CloudFlare as well. So... a total pain in the rear end to figure this out. That said, I turned off caching, JCH, and CF, and this all still happened.  Any ideas or direction on how to get those tags to populate (or amybe other thoughts on how to get the Twitter pics back?).
The topic has been locked.
Support Specialist
2 years 10 months ago #67269 by alzander
Replied by alzander on topic Twitter pics not showing
The placeholder tags are filled in by the JFBCSystem plugin when the document is rendered to the screen. If you have things like the System - Page Cache plugin enabled (or other caching plugins), those should be ordered *last*. Many times when these tags aren't replaced it's because the flow goes like this:
1. Website request
2. Page generated
3. Caching plugins cache the HTML
4. JFBConnect (and other plugins) modify the HTML

Numbers 3 and 4 in that list need to be swapped so the caching happens after all modifications happen.

Please check the ordering of your optimization/caching plugins and make sure they are after JFBConnect.

I hope that helps explain,
Alex
The topic has been locked.