How to pass a parameter like title, summary and image in a Facebook sharer URL

前端 未结 6 1775
故里飘歌
故里飘歌 2020-12-08 07:55

Question:

I need to pass my content like title, summary and image in a Facebook sharer URL like this:

 

        
6条回答
  •  旧巷少年郎
    2020-12-08 08:19

    The only parameter you need right now is ?u=. All other data will be fetched from page or (better) from your open graph meta tags:

    
    
    
    
    
    

    Example & description here

    You can test your page for accordance in the debugger.

提交回复
热议问题