Facebook分享按钮正在共享我的登录页面,而不是当前页面URL,标题等 [英] Facebook share button is sharing my login page instead of current page URL, title, etc
本文介绍了Facebook分享按钮正在共享我的登录页面,而不是当前页面URL,标题等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
上述代码正确分享当前网页,但是当我在如果有效会话不存在,则将用户重定向到登录页面的网页始终共享登录页面而不是当前页面。我使用PHP头部函数重定向。请咨询。
The above code shares the current webpage properly but when I included a session check at the start of the webpage where I redirect the user to the login page if valid session doesn't exist the above code always shares the login page instead of the current page. I am using PHP header function for redirect. Please advice.
推荐答案
从不可公开访问的页面共享内容使用 Feed对话框
To share content from not publicly accessible page use Feed Dialog
这篇关于Facebook分享按钮正在共享我的登录页面,而不是当前页面URL,标题等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文