EF 4.1 Code First MVC3 应用程序和 Facebook 共享功能
我正在开发一个使用 Entity Framework 4.1 Code First 方法和 MVC3 制作的简单 Web 应用程序。
该 Web 应用程序是一个简单的报价网站,在其主页上,用户可以获得报价列表。我想做的是有一个 Facebook 分享按钮,如下所示:
当用户单击该按钮时按钮,我希望将引用作者图片以及他的引用和他的名字发布到用户的 Facebook 墙上。我相信他们称之为共享功能。
I am working on a simple web application made using Entity Framework 4.1 Code First approach and MVC3.
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:
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.
共享富媒体
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.