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: 281
Joined: Sat Apr 23, 2016 4:28 am

Re: Whatsapp thumbnail preview, help

Post by ngaia » 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

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

Re: Whatsapp thumbnail preview, help

Post by Ger » Wed Oct 04, 2017 12:26 pm

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:
-Available for custom work-

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

Re: Whatsapp thumbnail preview, help

Post by ngaia » 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

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20993
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Whatsapp thumbnail preview, help

Post by RMcGirr83 » 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.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Steve
Registered User
Posts: 992
Joined: Tue Apr 07, 2009 7:48 pm
Location: UK ,up north!!
Name: Steven Clark
Contact:

Re: Whatsapp thumbnail preview, help

Post by Steve » Wed Oct 04, 2017 3:05 pm


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

Re: Whatsapp thumbnail preview, help

Post by ngaia » 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

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

Re: Whatsapp thumbnail preview, help

Post by ngaia » Wed Oct 04, 2017 4:18 pm

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: 992
Joined: Tue Apr 07, 2009 7:48 pm
Location: UK ,up north!!
Name: Steven Clark
Contact:

Re: Whatsapp thumbnail preview, help

Post by Steve » 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 ;)

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

Re: Whatsapp thumbnail preview, help

Post by ngaia » Wed Oct 04, 2017 4:49 pm

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: 281
Joined: Sat Apr 23, 2016 4:28 am

Re: Whatsapp thumbnail preview, help

Post by ngaia » Mon Oct 09, 2017 3:04 pm

up

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

Re: Whatsapp thumbnail preview, help

Post by ngaia » Thu Apr 19, 2018 2:52 pm

up

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

Re: Whatsapp thumbnail preview, help

Post by Ger » 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.
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:
-Available for custom work-

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

Re: Whatsapp thumbnail preview, help

Post by ngaia » Wed May 23, 2018 2:02 pm

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: 1792
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: Whatsapp thumbnail preview, help

Post by Ger » Wed May 23, 2018 2:23 pm

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:
-Available for custom work-

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

Re: Whatsapp thumbnail preview, help

Post by ngaia » Wed May 23, 2018 4:07 pm

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”

Who is online

Users browsing this forum: No registered users and 4 guests