georgebates Posted April 29, 2011 Share Posted April 29, 2011 Hi There, I am trying to implement a facebook plugin into my website. When the user posts a link to my site on their wall it will redirect them back to my page with some GET info in the URL eg. www.example.com/download.php?post_id=43221. I don't need to know the Post Id number, I just need to know if they went to the facebook page. So my question is, how would I make it s that if there is a Post ID number it displays the page and if not it directs them to another page? Please help me with this, i'm totally stumped. Thanks George Bates Quote Link to comment https://forums.phpfreaks.com/topic/235060-using-the-get-method-and-fb/ Share on other sites More sharing options...
georgebates Posted April 29, 2011 Author Share Posted April 29, 2011 Can someone please help?? I'm actually desperate!!! Quote Link to comment https://forums.phpfreaks.com/topic/235060-using-the-get-method-and-fb/#findComment-1208031 Share on other sites More sharing options...
JKG Posted April 29, 2011 Share Posted April 29, 2011 <?php if(!isset($_GET['post_id'])){ //do redirect use header() or something } ?> Quote Link to comment https://forums.phpfreaks.com/topic/235060-using-the-get-method-and-fb/#findComment-1208080 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.