2016-11-03 6 views
-2
$title = "BITCHES LOVE BALLET"; 
$title.= ' Sign up for my guestlist,bottle service or tickets straight from your phone using PromoterX app:'; 
$url='http://onelink.to/yhthk6'; 

<a class="btn btn-circle btn-icon-only btn-primary" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?= $url?>&title=<?= $title ?>">share on facebook</a> 

페이스 북에서 공유 할 때 제목을 설정할 수 없습니다. 두 번째로 페이스 북에서 url.please로 설정된 링크에서 제목을 검색하면 빠져 나갈 수 있도록 도와줍니다. 도움을 주시면 감사하겠습니다. 미리 감사드립니다.Facebook에서 동적 데이터 공유

+0

게시하려는 링크에 og : title을 추가하십시오. –

+0

@HasiburRahaman 아직 작동하지 않습니다. –

답변

0
i got the solution and it's working but when posting on facebook it doesn't take title and description. 
<?php  
      $title = "BITCHES LOVE BALLET"; 
      $summary = 'Sign up for my guestlist,bottle service or tickets straight from your phone using PromoterX app';              
    ?>    
     <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://onelink.to/yhthk6&title=<?=$title;?>&description=<?=$summary;?>">share on facebook</a> 
관련 문제