Announcement

Collapse
No announcement yet.

Pulling specific image for social media instead of main featured image

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Blog2Social Support
    replied
    Hello,

    Thanks for your reply.

    Please be so kind as to take a look at the following guide:
    Blog2Social Hooks: Filters & Actions

    You can change the image with this filter:
    b2s_filter_wp_post_image

    Please let me know if you have any other questions.

    Best regards

    Benedikt

    Leave a comment:


  • Tyler_St_Germain
    replied
    Where in the code does it automatically fetch the featured image from?

    Leave a comment:


  • Blog2Social Support
    replied
    Hello,

    Thank you for your reply.

    Blog2Social automatically fetches the featured image of your post to share it on social media. However, I will gladly add your suggestion to our feature list for future developments. If this can be implemented in a future update, we will inform you.

    Please let me know if you have any other questions.

    Best regards

    Benedikt

    Leave a comment:


  • Tyler_St_Germain
    replied
    It doesn't matter I don't think. we want to know how to pull from a field(rank math field for social specific image) that is not "featured image". What might be relevant is that it is an open graph format.

    Leave a comment:


  • Blog2Social Support
    replied
    Hello,

    Thanks for your reply.

    How do you proceed when editing and sharing your posts with Blog2Social?
    Please be so kind as to tell me a little more in detail or with screenshots.

    I’m looking forward to your reply.

    Best regards

    Benedikt

    Leave a comment:


  • Tyler_St_Germain
    replied
    Hi thanks for the reply, I want to share image posts.

    Leave a comment:


  • Blog2Social Support
    replied
    Hello,

    Thank you for reaching out.

    May I ask you if you want to share link or image posts on social media?
    When sharing link posts, Blog2Social just sends your link towards the social media networks. After that, they try to fetch the necessary information (“og:image”) from your links source code.
    These guides show you:
    What are open graph tags and what do I use them for?
    Troubleshooting: Checklist and solutions for setting Open Graph Tags

    Best regards

    Benedikt

    Leave a comment:


  • Pulling specific image for social media instead of main featured image

    We are creating social specific images in canva to be used in our social media however not every network will be getting this image.
    The social specific image URL associated with the article is stored in a table in the database created by Rank Math our optimization tool. So we have to figure out how to tell B2S to pull that image instead of the main featured image. Rankmath does store it as an Open Graph image, which from my research is already a social media version, so that plays into the thinking. But I don't understand OG well enough to know what that really means for our application.
    But we do need to have B2S looking at the right image if you want to pull the Canva creations for posts.
    I THINK that it might involve modifying the B2S code to point to the OG image.
    ​If anyone has any experience with this would love some help.
Working...
X