Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes displays image sometimes not also not always showing post details #10

Open
thetgc opened this issue Feb 3, 2018 · 3 comments

Comments

@thetgc
Copy link

thetgc commented Feb 3, 2018

Not sure exactly what is going on with this but on my site yamahamusicians.com/forum/ sometimes the extension will display the image from the post, other times it will use the default image even though there are images in the post, other times it won't display either an image from the post or the default image and just leaves a blank box.

Now it is also not only not displaying an image but also not showing an excerpt from the post.

Example would be here https://yamahamusicians.com/forum/viewtopic.php?f=49&t=10364

On trying to share that I get no image and no text from the post.

Is this a compatibility issue?

Oh and any chance of adding Instagram to the extension?

@wcz-txp
Copy link

wcz-txp commented Mar 10, 2018

A quick bad hack for phpbb 3.2x

ext/lotusjeff/socialshare/event/listener.php

find:

		        $open_tag = "[img:".$value['bbcode_uid']."]";
		        $close_tag = "[/img:".$value['bbcode_uid']."]";

replace with:

		        $open_tag = '[img]</s><URL url="';
		        $close_tag = '"><LINK_TEXT';

@elawrenc
Copy link

elawrenc commented May 3, 2018

Bad? I don't know about that. It seems to solve the problem, so far.

@thetgc
Copy link
Author

thetgc commented Apr 25, 2019

The fix above no longer works. Images are again not being shared to Facebook and LinkedIn. This seems to be since the last phpbb update 3.2.5. Images are shared to Tumblr and Pinterest but nothing else.

Facebook sharing debugger tool throws up the following errors:

The provided 'og:image' properties are not yet available because new images are processed asynchronously. To ensure shares of new URLs include an image, specify the dimensions using 'og:image:width' and 'og:image:height' tags.

The following required properties are missing: fb:app_id

Any fix for this?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants