简体   繁体   中英

MVC4 - Using Facebook account (not for login)

I have an MVC4 application and I want to create a possibility for my registered users for post to their own Facebook wall or create events, etc. I dont want to users can register to my site with their Facebook account just want to let them to attach the Facebook profile and when they are logged in to my site can post to Facebook. How can I do that ? I found solutions just for Facebook login.

Thanks in advance.

You're probably looking for something like the Facebook Javascript SDK (especially the FB.ui object). Or maybe the Graph API .

The Javascript SDK doesn't take much back end support and allows users to do simple tasks like posting on someone's feed, or sending a request. But creating an event on Facebook would be something you'd need to use the Graph API for. That API is a backend API that allows you to create/upload/delete nearly every object type in Facebook (events, posts, albums, photos, etc).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM