English 中文(简体)
在Facebook上共享 HTML 内容
原标题:Share HTML Content on facebook

我如何在Facebook上分享 html 内容? 我想要的是在Facebook上以表格形式分享文本。 我尝试在墙上分享文本,但是没有成功。 另外,我尝试将它保存为.html 并张贴到Facebook上,就像我们分享图像一样。它没有成功。

最佳回答

从我在谷歌上看到的, 在你的Facebook墙上张贴原始 HTML 是不可能的, 你可以做的是上传一个页面, 并用链接在墙上引用它。

问题回答

张贴到用户的墙壁后, 将发布 POPST 到

https://graph.facebook.com/USER_ID/feed 

Facebook Post 。Facebook Post 类型包括这些在张贴后可见的字符串内容字段:

description
caption
message

这些字段都没有支持 HTML 。

use facebook post API for this purpose...
https://developers.facebook.com/docs/reference/api/post/
it may help u for different parameters for Facebook post.





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签