How does Facebook Sharer select Images and other metadata when sharing my URL?

前端 未结 12 2441
忘掉有多难
忘掉有多难 2020-11-21 04:20

When using Facebook Sharer, Facebook will offer the user the option of using 1 of a few images pulled from the source as a preview for their link. How are these images selec

12条回答
  •  离开以前
    2020-11-21 05:12

    To change Title, Description and Image, we need to add some meta tags under head tag.

    STEP 1 :
    Add meta tags under head tag

    
    
        
        
        
        
    

    NEXT STEP :
    Click on below link
    https://developers.facebook.com/tools/debug

    Add your URL in text box (e.g http://www.test.com/) where you mentioned the tags. Click on DEBUG button.

    Its done.

    You can verify here https://www.facebook.com/sharer/sharer.php?u=http://www.test.com/

    In above url, u = your website link

    ENJOY !!!!

提交回复
热议问题