Support » Plugin: Yoast SEO » Do I have to enter something in the ()

  • Resolved cachegaagaa

    (@cachegaagaa)


    Hello!
    Unfortunately, you removed the fb: app_id tag. That’s why the thumbnail of my website links are only shown in small format on Facebook and the reach of my fan page went down. I have my own app ID, but I am not a programmer and therefore insecure. Now I need to paste this code into the PHP function:

    Function my_custom_function_name ()

    My question: Do I have to enter something in the () or does it remain empty? If so, what kind of name does it mean? My website domain or the name of my Facebook fan page?
    Thanks in advance`

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Michael Tina

    (@mikes41720)

    Hi @cachegaagaa

    The fb:app_id tag used to be part of Facebook’s ‘Domain insights‘ product. When users ‘liked’ your content (using an embedded like button on your webpage), the app_id value let Facebook know which Facebook Page should be able to see and access the relevant statistics.

    Please understand that this doesn’t affect the open graph tags at all, which is what Facebook uses to generate the title, image, description, and other social preview data when you share your website and its posts and pages on Facebook.

    We removed the fb:app_id tag in v15.5 of Yoast SEO, as we didn’t see the use for it anymore in our plugin. While we can’t provide advice as to how you should still implement it (as that requires a developer and specific investigation on your site), we would like to refer you to all of the available documentation here, if you really still would like to implement it on your site – https://yoast.com/help/fb-app-id-warnings/

    Thread Starter cachegaagaa

    (@cachegaagaa)

    Please understand that this is not the answer to my question at all.

    Plugin Support devnihil

    (@devnihil)

    @cachegaagaa Thanks for your reply and we apologize for the confusion.

    Regarding your question, unfortunately we can’t offer support on custom code. Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. Maybe someone watching these forums can assist you further, but if your topic is inactive for 7 days, we’ll mark it as resolved to keep the overview.

    Thank you for your understanding.

    Thread Starter cachegaagaa

    (@cachegaagaa)

    Thank you for your reply.
    In the description of Yoast Seo it says: https://yoast.com/help/fb-app-id-warnings/
    Adding the fb: app_id (back) tag in
    Since we’ve completely removed support for the tag in Yoast SEO, you’ll need to use a different approach to add it to your design.

    Instead of adding a plugin, we recommend adding the tag via your theme’s functions.php file or via your own custom plugin. You can use the following code as an example

    function my_custom_function_name() {
      $app_id = 966242223397117;
      $tag = '<meta property="fb:app_id" content="%d" />';
      echo sprintf($tag, $num);
    }
    add_action( 'wp_head', 'my_custom_function_name' );

    I know that adjustments to a design can be overwritten if not handled properly.
    Let me ask like this:
    Can I paste the code as it is or not?

    Thanks for your efforts.

    Plugin Support suascat_wp

    (@suascat_wp)

    @cachegaagaa

    You would need to pass the correct app_id value on the given snippet to make it work. For your site’s health and safety, before editing code, we recommend creating regular backups of your theme.

    Thread Starter cachegaagaa

    (@cachegaagaa)

    Thank you for your response. I’ve been using Seo Yoast from the start, a thick, puffed-up plugin. I patiently accept the ongoing updates, although so far the user has not had a single benefit. On the contrary, user-defined settings were and will simply be disrespectfully deleted or overwritten without warning. Facebook is very complex, what works on one fan page doesn’t work on another. There are also significant differences in terms of functions. Seo Yoast does not tell the user how, what and when was tested on Facebook. The user gets to read that he should understand that the app_id has no influence on the display of his posts on Facebook.

    Please understand that I have strong doubts that Seo Yoast knows how my fan page in Germany reacts to the fact that a liaison office has ceased to exist. Unfortunately, I cannot upload any screenshots here, I would have liked to show you how my link posts on Facebook are only displayed in small, gray boxes with a small photo. I don’t have such problems with Twitter.

    The input field for the app_id has not taken up any space in the menu of the plugin. Also the way in which Seo Yoast communicates with its users, namely arrogantly, school masterly always from above, leads me to the conclusion that the young people from Yoast Seo set an example on the backs of their users in their rush of power: “Look Everyone, we declared the Facebook app_id to be ineffective and deleted the menu item. Aren’t we great? ”

    The fact that Facebook in turn fends off the fan pages of the Seo Yoast users was either ignored or accepted by the operators of the plugin. The program writes at the 4th grade level. The German language is so great and multifaceted that the grammar of plagiarism quickly reaches its limits, which is why the texts always end up sounding choppy, boring and primitive. If I give a source, the program devalues ​​my text by up to 0.8 points. Sentences in which the word I appears are automatically displayed in red and devalued.

    After all the drama and the inability to answer a simple question without pulling off your show, today I decided to send the Seo Yoast plugin to the eternal hunting grounds, which I should have done years ago.

    Greetings from Germany

    PS: let’s see how long it takes to delete this post, if you publish the post at all.

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Thanks for sharing your thoughts @cachegaagaa. We understand that you want to have a complete code to add the fb:app_id meta that was removed from the Yoast SEO plugin as the link you share on Facebook doesn’t show the thumbnail size correctly and as such, you want to bring the relevant meta back.

    Well, first thing first, the fb:app_id meta isn’t responsible for how the thumbnails appear on Facebook when sharing a link. So, if you’re having trouble with the thumbnails, that’s most likely to be caused by a different thing which we could definitely investigate. If you’d’ like us to do this, please share the relevant page link in the next reply so that we can take a look at it on our end.

    However, we won’t be able to offer the custom code that would require you to add the relevant meta tag on your website as it goes beyond the scope of our support (as mentioned above). However, since this is a public forum, someone from the WordPress community might help you with this if anyone comes across this thread.

    Lastly, to share a screenshot here, you can use any image-sharing service like https://pasteboard.co/, https://snag.gy/, https://imgur.com/, https://snipboard.io/, or even upload the screenshot to your own website. Once you upload it to an image-sharing service, please share the link to the image here.

    Note: we don’t delete any posts on this forum, nor we have any control over this. The WordPress forum is monitored by community members and they actively monitor each forum. A thread or comment is only deleted when it violates the forum guidelines.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Do I have to enter something in the ()’ is closed to new replies.