Whatsapp thumbnail preview, help

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
ngaia
Registered User
Posts: 303
Joined: Sat Apr 23, 2016 4:28 am

Re: Whatsapp thumbnail preview, help

Post by ngaia »

Ger wrote:
Mon Oct 02, 2017 1:49 pm
When I look at your site, I don't see the OGP data:
view-source:https://www.storyfb.com/

So there is something missing.
Since it doesnt worked i remove it, also the code cause database error
User avatar
Ger
Recognised Extension Developer
Posts: 1961
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: Whatsapp thumbnail preview, help

Post by Ger »

Please do not PM me for support.
ngaia wrote:
Wed Oct 04, 2017 11:34 am
phpbb forum also no preview thumbnial in whatsapp
viewtopic.php?f=641&t=2439891&p=14833616#p14832366
That makes sense since phpBB doesn't have OGP tags as a default.
ngaia wrote:
Wed Oct 04, 2017 11:37 am
Ger wrote:
Mon Oct 02, 2017 1:49 pm
When I look at your site, I don't see the OGP data:
view-source:https://www.storyfb.com/

So there is something missing.
Since it doesnt worked i remove it, also the code cause database error
Well, like RMcGirr said, it's probably due to cloudflare being active on your site. That caches quite some stuff which is a good thing, but you'll have to wait for your changes to be pushed through all their servers.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-
ngaia
Registered User
Posts: 303
Joined: Sat Apr 23, 2016 4:28 am

Re: Whatsapp thumbnail preview, help

Post by ngaia »

RMcGirr83 wrote:
Mon Oct 02, 2017 2:11 pm
Probably due to the cloud flare stuff that is active on that forum.
Other wordpress website also using cloud flare, their link has thumbnail pictures in whatsapp, i just tested it
User avatar
RMcGirr83
Former Team Member
Posts: 21506
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Whatsapp thumbnail preview, help

Post by RMcGirr83 »

ngaia wrote:
Wed Oct 04, 2017 12:55 pm
RMcGirr83 wrote:
Mon Oct 02, 2017 2:11 pm
Probably due to the cloud flare stuff that is active on that forum.
Other wordpress website also using cloud flare, their link has thumbnail pictures in whatsapp, i just tested it
Well one way to find out for certain would be to disable cloud flare.
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
User avatar
Steve
Registered User
Posts: 1092
Joined: Tue Apr 07, 2009 7:48 pm
Location: UK ,up north!!
Name: Steven Clark
Contact:

Re: Whatsapp thumbnail preview, help

Post by Steve »

ngaia
Registered User
Posts: 303
Joined: Sat Apr 23, 2016 4:28 am

Re: Whatsapp thumbnail preview, help

Post by ngaia »

Steve wrote:
Wed Oct 04, 2017 3:05 pm
Whats App this: http://www.steven-clark.online/phpBB3-E ... /index.php

Does it work?
i am sorry for asking which might looks like silly question, which ext are you talking about, i couldnt find any ext that related to whatsapp
ngaia
Registered User
Posts: 303
Joined: Sat Apr 23, 2016 4:28 am

Re: Whatsapp thumbnail preview, help

Post by ngaia »

RMcGirr83 wrote:
Wed Oct 04, 2017 1:52 pm
ngaia wrote:
Wed Oct 04, 2017 12:55 pm
RMcGirr83 wrote:
Mon Oct 02, 2017 2:11 pm
Probably due to the cloud flare stuff that is active on that forum.
Other wordpress website also using cloud flare, their link has thumbnail pictures in whatsapp, i just tested it
Well one way to find out for certain would be to disable cloud flare.
i just paused clould flare and put the code on (also purge cache) still not showing,
User avatar
Steve
Registered User
Posts: 1092
Joined: Tue Apr 07, 2009 7:48 pm
Location: UK ,up north!!
Name: Steven Clark
Contact:

Re: Whatsapp thumbnail preview, help

Post by Steve »

ngaia wrote:
Wed Oct 04, 2017 4:12 pm
Steve wrote:
Wed Oct 04, 2017 3:05 pm
Whats App this: http://www.steven-clark.online/phpBB3-E ... /index.php

Does it work?
i am sorry for asking which might looks like silly question, which ext are you talking about, i couldnt find any ext that related to whatsapp
Copy the URL and post it in what's app messenger ;)
ngaia
Registered User
Posts: 303
Joined: Sat Apr 23, 2016 4:28 am

Re: Whatsapp thumbnail preview, help

Post by ngaia »

Steve wrote:
Wed Oct 04, 2017 4:33 pm
ngaia wrote:
Wed Oct 04, 2017 4:12 pm
Steve wrote:
Wed Oct 04, 2017 3:05 pm
Whats App this: http://www.steven-clark.online/phpBB3-E ... /index.php

Does it work?
i am sorry for asking which might looks like silly question, which ext are you talking about, i couldnt find any ext that related to whatsapp
Copy the URL and post it in what's app messenger ;)
url.png
sorry, doesnt work :( , it show thumbnail on facebook (but it shows image preview in facebook by default, no need to set nothing)
ngaia
Registered User
Posts: 303
Joined: Sat Apr 23, 2016 4:28 am

Re: Whatsapp thumbnail preview, help

Post by ngaia »

up
ngaia
Registered User
Posts: 303
Joined: Sat Apr 23, 2016 4:28 am

Re: Whatsapp thumbnail preview, help

Post by ngaia »

up
User avatar
Ger
Recognised Extension Developer
Posts: 1961
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: Whatsapp thumbnail preview, help

Post by Ger »

Since you still don't have OGP data in your website, Whatsapp or any other app has nothing to parse.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-
ngaia
Registered User
Posts: 303
Joined: Sat Apr 23, 2016 4:28 am

Re: Whatsapp thumbnail preview, help

Post by ngaia »

Ger wrote:
Thu Apr 19, 2018 2:58 pm
Since you still don't have OGP data in your website, Whatsapp or any other app has nothing to parse.
can you please tell me how to add OGP data in my website, i test your ext 'Magic OGP' but it doesnt show thumbnail preview in whatsapp
User avatar
Ger
Recognised Extension Developer
Posts: 1961
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: Whatsapp thumbnail preview, help

Post by Ger »

ngaia wrote:
Wed May 23, 2018 2:02 pm
can you please tell me how to add OGP data in my website, i test your ext 'Magic OGP' but it doesnt show thumbnail preview in whatsapp
My extension does exactly the opposite: it parses OGP data from pasted links and shows it as thumbnails in the posts. If I understand your question correctly, you want pasted links to your website to show a thumbnail, a title and a description, on apps like WhatsApp, Facebook, etc.

If you want that, you need to add this data to your site. First step is to read an understand the basics of OGP by visiting http://ogp.me/
Second, you need to place this in you overall_header.php file:

Code: Select all

<meta property="og:title" content="YOUR SITENAME, POSSIBLY TOPIC TITLE OR SUCH" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{U_CANONICAL}" />
<meta property="og:image" content="A LINK TO YOUR THUMBNAIL IMAGE" />
That's it. You can expand this with various options and logic, but the above is the very basic requirement.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-
ngaia
Registered User
Posts: 303
Joined: Sat Apr 23, 2016 4:28 am

Re: Whatsapp thumbnail preview, help

Post by ngaia »

Ger wrote:
Wed May 23, 2018 2:23 pm

Code: Select all

<meta property="og:title" content="YOUR SITENAME, POSSIBLY TOPIC TITLE OR SUCH" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{U_CANONICAL}" />
<meta property="og:image" content="A LINK TO YOUR THUMBNAIL IMAGE" />
For my site story.com

Code: Select all

<meta property="og:title" content="STORYFB.COM" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{U_CANONICAL}" />
<meta property="og:image" content="storyfb.com/image" />
is this correct?
Post Reply

Return to “phpBB Custom Coding”