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 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!!! 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 } ?> 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
Archived
This topic is now archived and is closed to further replies.