EF 4.1 Code First MVC3 App and Facebook Share Feature

≯℡__Kan透↙ 提交于 2019-12-13 07:28:54

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/7589479/ef-4-1-code-first-mvc3-app-and-facebook-share-feature

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!