How can I copy and paste comment threads (and sometimes the original post) from Facebook into WordPress (or elsewhere) and preserve exact formatting? Screenshot? ok, but text etc is better. Both + link would be ideal. When I paste now, the thread/paragraph structure is intact, but the "likes" etc and profile pic thumbnails don't display. I don't need my whole page/site to look like Facebook, just the content of some pasted posts. Ideally a screenshot would be displayed as a …
Recently when I try to share my content on Facebook, everything appears normal except I cannot get it to display a picture. I'm using WordPress SEO to handle all of the SEO and Social metadata, but it doesn't really cover images that well. When I use the Facebook Debugger, my webpages do not contain errors yet it still refuses to display images. I think the problem is happening because it is selecting the photo media using this format of link: …
If you already been following some of the best practices in Deep Learning, Facebook's Hydra might be a familiar name to you. Going through the Hydra Documentation, I came across two important operators + and ++. The documents mentions the use of these operators as follows: Appending a config value : +foo.bar=value Appending or overriding a config value : ++foo.bar=value I need some help understanding these operators, as using them in the code technically makes no difference in the overall …
I'm working on developing a plugin for Wordpress to enable social share buttons inside blockquotes (to share the quoted text on social networks Twitter and Facebook). So that sites would look like this: Here's the current js: jQuery(document).ready(function () { var blockquotes = jQuery('blockquote'); for (var i = 0; i < blockquotes.length; i++) { var blockQuoteText = jQuery(blockquotes[i]).text(); var currentUrl = window.location; var textColor = jQuery(blockquotes[i]).css('color'); // add share buttons (change TwitterName to your Twitter handle for automatic mentions) // …
I want to get rid of Facebook Comments from my website, but I have a lot of comments there. Is it possible to import facebook comments to normal Wordpress comments system or something else (i.e. disqus?) I just can't find anything. Thank you in advance.
I am currently using webp images with the help of imagify plugin on my website. The problem is when creating a new post and setting a webp as featured image, the og:image wont show the webp image in Facebook. Is there a way to just disallow editors to upload or selecting a webp as a featured image without disabling webp usage throughout the website?
we needed to create briefed posts and publish, then in a few hours we update the post content. post content gets updates on web and the end user can see the updated content. but if a user opens up the post in facebook via its in-app browser, then come back later to see the updated content, they will see the same post as before. if another user first checks the post after it has been updated, they will see the …
I am trying to find a solution to my weird problem before breaking my laptop.. I have the following blog https://4moms.gr and when i try to share a post on facebook the preview in the facebook popup windows is correct but when i click to post it the image shown is the site's logo. Example https://4moms.gr/slider/to-savvato-2-oktovrioy-to-school-work-amp/ og:image tag is present in the view source but in the Facebook debugger i get the classic error "The 'og:image' property should be explicitly …
When i am sharing my articles, it isn't showing featured image as a thumbnail. After using Facebook debugger, it is showing me this; I also tried changing wordpress plugin settings as well as changed the featured image size, but still unable to fix it.
On the Facebook Developer page they say the comments counts can be displayed using <fb:comments-count href=http://example.com/></fb:comments-count> awesome comments I added this to my loop then: <fb:comments-count href=<?php the_permalink();?>></fb:comments-count> to display the comments count per each post. Nothing is displayed even though I do have comments...any suggestion? Thank you Edit: placing the code in single.php, it shows the number 0 despite I have many comments....
So what I'm wanting to do is be able to use the url of an attachment page for a PDF file, post that link on Facebook, and be able to customize the preview/featured image that shows up there. I've tried adding facebook og image code to the Description section when I go in to edit the attachment file in the wordpress backend, but I can't seem to get that to work. Is there a way to accomplish this or am …
I am using wp subtitle plugin for headings in my Local language, and default wordpress title as English headings. I need the plugin generated subtitle as title of shared article on facebook. get_the_subtitle(); above code is the plugin specific function to call sub headings. I use code shown below (in function.php) as Facebook Open Graph Meta Data to achieve My goal. echo '<meta property="og:title" content="' . get_the_subtitle() . '"/>'; but only I get default wordpress title as og:title content. Here …
I'm working on a new plugin that let users to register on 4 different applications once they have registered on one of them. It also include integration with Facebook for register/login. Is it possible to make this step on all other applications at one time? Once the user register using his Facebook account on one of the 4 apps, the registration done on the other apps too?
So I have the code below, and its purpose is to prevent the Facebook for Woocommerce plugin from running the FB pixel until the necessary consent is given. It works to solve the problem in the sense that when a new page is loaded, if the cookie consent is given, it will load the Pixel. My problem though is that the code does NOT run when someone hits the "accept cookies" button without refreshing the page. So is there any …
I use this code to solve the new Instagram embeds problem on my old Wordpress site: add_filter('oembed_providers', 'fr_replace_deprecated_instagram_api', 10, 1); function fr_replace_deprecated_instagram_api($providers) { unset($providers['#https?://(www\.)?instagr(\.am|am\.com)/(p|tv)/.*#i']); $providers['#https?://(www\.)?instagr(\.am|am\.com)/(p|tv)/.*#i'] = array('https://graph.facebook.com/v8.0/instagram_oembed', true); return $providers; } // You need to create a developer account for Facebook's API and grant permission for the "OEmbed" App. define('FR_FACEBOOK_APP_ID', 'APP_ID'); define('FR_FACEBOOK_CLIENT_SECRET', 'CLIENT_SECRET'); define('FR_FACEBOOK_TOKEN_URI', 'https://graph.facebook.com/oauth/access_token?client_id=' . FR_FACEBOOK_APP_ID . '&client_secret=' . FR_FACEBOOK_CLIENT_SECRET . '&grant_type=client_credentials'); add_filter('oembed_fetch_url', 'fr_add_facebook_access_token', 10, 3); function fr_add_facebook_access_token($provider, $url, $args) { if (strpos($provider, 'instagram_oembed') !== -1) { $response = …
How can I carry out an automatic search of all pages/posts on my site for any content embedded using oEmbed (preferably Facebook/Instagram content)? The reason I ask is because this WPBeginner post says that on October 24th, all Facebook or Instagram content embedded on a site using oEmbed will be deprecated, and such content will be (slightly) broken. I'd like to first determine how much oEmbed content I have on my site. My site is has a relatively large amount …
I have a client who wants to be able to share his latest blog posts on Facebook (no problem there) but then he wants the comments made on his Facebook page to that share shown on his blog as part of the comments on the blog post. I have been digging around and while I can find ways to let users comment on your blog using Facebook's api (http://developers.facebook.com/blog/post/198) I can find nothing that pulls comments from Facebook to display …
Is there a way to change the meta tags not in the head but in a template file through code? I would like to change the meta tags <meta property="og:title" content="title" /> <meta property="og:description" content="description" /> <meta property="og:image" content="thumbnail_image" /> They are automatically set when calling the facebook SDK. Is there a way to change these tags in my code (not in header.php)? I've tried to do this in my child template (content-share.php): <?php add_action( 'wp_head', 'add_meta_tags' , 10 ); …
I want to ask one thing that, I changed the server with the different IP to storage increase. But I face one issue that my site already has the Facebook instance article access in the old server. The thing I want to know is how can I transfer the Facebook instance article account from one server to another with same domain name?
I'm creating a gif hosting user frontend submission site. For Facebook to correctly animate a GIF on their platform, the og meta tag needs to be redirected to the specific gif. I can remedy this by manually adding the gif url as the canonical link and it will work. However, dynamic posts from multiple users, I will need to reference that gif as canonical in order for it to work. What would be the best method to do this?