与Facebook共享时显示自定义属性值

时间:2016-08-23 12:14:30

标签: facebook-opengraph share-open-graph

我有以下元标记集

<View>
  <ScrollView>
   ....
  </ScrollView>
  <View> 
    //this is the footer
  </View>
</View>

当我分享上述内容时,只会显示说明。如何显示主题标签?

我使用以下内容与FB分享。

og:title        Supercompany
og:url          https://xxxxx/Business/Grumble/?id=xxxxxxxxxxxxx
og:image        https://xxxxxxx/Content/Images/logo4fb.png?23122014
og:type         xxxxxx:organization
og:hashtags     #xxx #xrfgg #sdsv #vdsdg #vdvdvd
og:description  aaaa | cghydgdegezhztt

1 个答案:

答案 0 :(得分:0)

我无法通过分享来解决这个问题,所以我最终将主题标签与描述连接在一起并与Feed共享而不是共享。

FB.ui({
       method: 'feed',
       link: linkToShare,
       description: hashtags
    }

hashtags = description + " " + hashtags