[英]How to post to facabook wall or send message with image attachement using facebook javascript api
I would like to post to facabook wall or send message with image attachement using facebook javascript api. 我想使用Facebook javascript API发布到facabook墙上或发送带有图像附件的消息。 Following is my code of 'send' case.
以下是我的“发送”案例代码。 Using the code, I can send a message to facebook, but image is not attached(the image is not treated as attachement and displayed small).
使用该代码,我可以向Facebook发送一条消息,但是图像未附加(图像未视为附件并且显示为较小)。
FB.ui({
method: 'send',
to: id,
name: 'hoge',
link: 'http://xx.info/tmp/index.html',
description: 'hoge',
picture: 'http://xx.info/tmp/test.jpg'}
);
Does anyone know how to do it? 有人知道怎么做吗?
This is the intended way for the send dialog to work. 这是发送对话框起作用的预期方式。 I do not believe there is a dialog that allows attachments you need to explicitly use API calls.
我认为没有对话框允许您明确使用API调用所需的附件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.