迁移Facebook将Dialog参数发送到openGraph更改 [英] migrating facebook send Dialog parameters to openGraph changes
问题描述
我有以下内容:
FB.ui({
method: 'send',
to: connectionid,
name: subject,
picture: staticurl + 'images/logoformysite.png',
link: homeurl + '/' + username + '/something=' + var1 +'&somethingelse=' + encodeURI(var2) + '&evenmore=' + encodeURI(var3),
description: invitemessage,
});
Facebook正在通知我:
发送对话框将使用打开图形元标记并忽略'name','description'和'picture'参数。
Facebook is informing me this:
Send Dialog will use Open Graph meta tags and ignore 'name', 'description', and 'picture' parameters.
如果按钮在我的多次显示页面有不同的参数,我应该如何在页面顶部设置一个 og.url
和 og.description
属性?
If the button is showing multiple times on my page with different parameters, how should I set the og.url
and og.description
properties once on top of the page?
推荐答案
og:url
是当前页面的URL,不是目标。这不是一个问题,这样的事情。
og:url
is the URL of your current page, not the target. That's not a problem for such things.
看一些新闻网站与 Facebook对象调试器了解如何实现。
Look at some news website with the Facebook object debugger to understand how it is implemented.
这篇关于迁移Facebook将Dialog参数发送到openGraph更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!