Typography

活版印字


  • Home
  • Archive
  • Categories
  • Tags
  •  

© 2020 alincode

Theme Typography by Makito

Proudly published with Hexo

Facebook Share vs Feed

Posted at 2016-03-08 facebook 

Share Dialog

The Share dialog gives people the ability to publish an individual story to their timeline, a friend’s timeline, a group, or in a private message on Messenger. This does not require Facebook Login or any extended permissions, so it is the easiest way to enable sharing on the web.

不需取得額外授權,並可選擇分佈在自己或朋友或群組的 Timeline,或將信息私訊給朋友。

1
2
3
4
FB.ui({
method: 'share',
href: 'https://developers.facebook.com/docs/',
}, function(response){});

Feed Dialog

You can add the feed dialog to your app so people can publish individual stories to their timeline. This includes captions that your app manages and a personal comment from the person sharing the content.

只能發佈在在自己的 Timeline,並可以指定附加訊息。

1
2
3
4
5
FB.ui({
method: 'feed',
link: 'https://developers.facebook.com/docs/',
caption: 'An example caption',
}, function(response){});

Share 

 Previous post: git format-patch Next post: JWT (5) Client Side 實作範例 

© 2020 alincode

Theme Typography by Makito

Proudly published with Hexo