EF 4.1 Code First MVC3 App和Facebook Share功能 [英] EF 4.1 Code First MVC3 App and Facebook Share Feature
问题描述
我正在使用使用Entity Framework 4.1 Code First方法和MVC3制作的简单Web应用程序。
I am working on a simple web application made using Entity Framework 4.1 Code First approach and MVC3.
Web应用程序是一个简单的报价网站,并在其主页上,用户得到一个引号列表。我想做的是拥有Facebook分享按钮,如下所示:
The web application is a simple Quotes website, and on its homepage, the user get a list of quotes. What I would like to do is have a Facebook Share button, like so:
当用户点击该按钮时,我想要 引用作者图像,以及他的报价和他的名字 成为 发布在用户的Facebook墙上 。我相信他们称之为共享功能。
And when a user clicks that button, I want the Quote author image, along with his quote and his name to be posted on the user's Facebook wall. I believe they call this Share Functionality.
在Google搜索几个小时后,我找不到任何有助于我实现这一点的内容。
After hours of Google searching, I couldn't find anything that would help me achieve this.
我会 非常感谢一些帮助 。
I would greatly appreciate some help.
谢谢。
推荐答案
共享Rich Media
https://developers.facebook.com/docs/share/
Sharing Rich Media https://developers.facebook.com/docs/share/
您应该可以填写标题,图片和说明标签得到类似于你想要的东西。
you should be able to populate the title, image and description tags to get something similar to what you want.
这篇关于EF 4.1 Code First MVC3 App和Facebook Share功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!