简体   繁体   English

Facebook / Twitter分享/点赞/转发按钮以获取积分

[英]Facebook/Twitter Share/Like/Retweet Button For Earning Points

I have an e-commerce website. 我有一个电子商务网站。 I'm thinking to integrate a social media system to my website. 我正在考虑将社交媒体系统集成到我的网站。 I have Facebook integration for Login my system or sharing something from my page. 我具有Facebook集成功能,可用于登录系统或共享页面中的某些内容。

When I share a product on Facebook or when I share a product on Twitter, I want to bring points to my customers for shopping but I couldn't set any algorithm on my mind and I couldn't any sources in web. 当我在Facebook上共享产品或在Twitter上共享产品时,我想带给客户购物积分,但我无法设定任何算法,也无法在网络上找到任何来源。

I only thought this algorithm but as I wrote, I couldn't any souce for C#; 我只想到了这种算法,但是正如我写的那样,我无法使用C#。

Customer's Role -> Clicking Share Button On My WebSite - Share Button - Routing To My Controller From View - Checking UserLogin On Controller - If User Logged In, Earning Points To Customer 客户的角色 ->单击我的网站上的共享按钮-共享按钮-从视图路由到我的控制器-在控制器上检查UserLogin-如果用户登录,则可以为客户赚取积分

By the way, I'm developing my website on ASP.NET MVC and using NopCommerce. 顺便说一句,我正在ASP.NET MVC上开发网站并使用NopCommerce。

If anyone can help me, I will be really appreciated. 如果有人可以帮助我,我将不胜感激。

Thanks for help and reading. 感谢您的帮助和阅读。

What you can do is to develop as a discount plugin. 您可以做的是开发一个折扣插件。 I've developed something similar here: Pay with a Tweet - nopCommerce Social Sharing Discount Plugin 我在这里开发了类似的东西: 用推文付款-nopCommerce社交共享折扣插件

I am using a third party solution for the social posting part to make it easier (and they have a comprehensive API). 我在社交发布部分使用第三方解决方案,以使其变得更容易(并且它们具有完善的API)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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