Daniel Maier
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Back-end table width and heightThat’s awesome! Exactly what I needed!
Thanks a lot @tobiasbg.
Forum: Plugins
In reply to: [Facebook Publish] Getting error when activating plugin after updateThe fix mentioned on the links posted before have fixed the warnings.
Did this get implemented on the latest version?
I manually changed the code and it seem to have fixed the issue for me.
Forum: Plugins
In reply to: [Facebook Publish] Getting error when activating plugin after updateOk, this seem to be a conflict and error with Post Expirator plugin:
https://www.ads-software.com/support/topic/getting-strict-standards-error-in-wp-admin?replies=9
Forum: Plugins
In reply to: [Facebook Publish] Getting error when activating plugin after updateI have identified my theme files cleanup.php and custom-events.php which have been fixed but I’m still getting the rest of the warnings from the plugin.
Forum: Fixing WordPress
In reply to: Login logo missingYou have to add the MIME Type for .svg > image/svg+xml to the server itself. If the server is old it doesn’t have this image MIME Type.
Same thing on Windows servers.
I took a look there but I have no clue how to implement all that to my little code ??
I found:
if (function_exists('get_the_post_thumbnail') && has_post_thumbnail($my_post->ID)) { (...) }
But I don’t know how to connect this to my code. I guess if it has post thumbnail the open graph tag go:image should get this image but I don’t know how. I am not a programmer :S just trying somethings…
Thank you though.
Awesome, I will take a look.
Thanks a lot man.I see that John and makes a lot of sense ??
I just tweaked the function on that code to search for all images on a post or page, this is useful if you want to publish a page and choose what image to show related with the page but it may only apply for determined people/business.
I wish in the function I could check if there is any ‘featured image’ set and if not search for all the images on the post/page and if doesn’t find any add a default image such as business logo. But the beginning I don’t know how to do. Do you have any clue how to check if a post/image has a featured image set (in PHP)? So then I could add to my code.
Thanks a lot bro.
Hi John,
I was posting as a “post” and also using the “like” button on the website (post area).
I figured out that my Open Graph was setup for a static information about the main website and not dynamically for each ‘single’ post!
So I found some smart codes that I could use and it seem to be working now with certain particularities.The code I have found and I also tweaked a bit is this one:
[Code moderated as per the Forum Rules. Please use the pastebin]
All this settings will allow you to use the Open Graph and the social plugins I believe! ??
I mentioned before about some particularities of Facebook. So whenever I was testing all this settings with my already existent posts, Facebook was fetching the wrong metadata, it was importing the metadata as if I was posting the main web site and not the posts.
This was happening simply using the like button on the post, or copying the post permalink and manually posting on my Facebook page and this only happened if the permalink had a ‘/’ (slash) at the end of the URL!!! Very weird!!! If I removed the end slash Facebook would import the correct name and image from the post.
So I went to Facebook URL Linter (https://developers.facebook.com/tools/debug) and tested each post with the ending slash (Ex.: https://www.MY-DOMAIN.com/POST-PERMALINK/) and after this for each post Facebook started fetching/importing the correct information of my WordPress posts!
This might have happened if my posts were on Facebook’s cache and debugging every permalink seemed to update their cache for some reason and it started working.
I haven’t tried with a new post with image yet but I will do it soon to see if everything is really working or not.I don’t know if it is applicable but you should consider in adding this settings to WPBook, it would make it a combo with the Open Graph customized for fetching the first image of the post if none were setup with featured image.
Thanks a lot for your help John!
Regards,
Daniel MaierIf anybody would learn more about the Facebook channel file, access: https://developers.facebook.com/docs/reference/javascript/
@johneckman I have the WPBook Lite setup and when I post on WP it posts on my page but it always gets the image from the main website and not from the post itself as the featured image.
I just added the function on my theme to have the featured images active and I also setup a image for the post but it didn’t work yet.
This is the post: https://cl.ly/3D3I3j3f0Q0i0a1p1C13 and the same image shown here is the featured image setup on WP.
But when posted with WPBook on Facebook it shows up like this: https://cl.ly/0U2l0e0i2F2q0V3H3Y46 importing the logo from the website or from the meta data setup conforming Facebook recommendations (open graph metadata).
Do you know if using the open graph metadata and featured images it will work? Or if I start setting up the featured images Facebook will override with the meta data image?
I will review all the meta data and see if anything is wrong as well.
Thank you for your help! I appreciate it.
Daniel Maier@johneckman Hey brother, the 1.2.5 version WORKED! Awesome.
I updated from 1.2.3 to 1.2.5 and regenerated the key/token and voilà, worked.
Do you know why Facebook is not importing the image from the post?
You can see a screenshot from the test here: https://cl.ly/0R2p1s2q3h0V2d2Y0b2x
Thank you for your efforts in fixing it.
Regards,
Daniel Maier@johneckman Man I didn’t realize you updated the app I thought I had already tried the 1.2.5 but in fact I was having problem with the 1.2.4 as you know it.
I am going to update now and test it…
Thank you!
Did you fix anything on 1.2.5? I already tried yesterday and throughout this past week with no success.
Thanks.
Hi @johneckman I am using version 1.2.3 with WordPress 3.3.1.
It worked for personal profile and also for page.
I am using my Facebook page as public.
Thank you.