我正在制作一个社交折扣插件。如果用户喜欢Facebook页面并关注Instagram帐户,我想显示优惠券代码。我只能在移动设备上显示它。
<div class="popup">
<div class="social-links">
<h3>Like + Follow = Get Rs 50 Discount</h3>
<a href="fb://page/2288133548123387" target="_blank" rel="alternate noopener noreferrer"><img src="images/facebook-logo.png" alt="" />Facebook</a>
<a href="instagram://user?username=kidsfitter" target="_blank" rel="alternate noopener noreferrer"><img src="images/facebook-logo.png" alt="" />Instagram</a>
</div>
<div class="coupon">
<p>Congratulations: Your Coupon Code is "Discount50". Use it in Checkout Page.</p>
</div>
</div>
有人对此有帮助吗?无论如何,是否可以获得当前访问者喜欢的Facebook页面信息并关注Instagram帐户?