FB + CPA Problem

shellhackx

Regular Member
Joined
Sep 15, 2011
Messages
210
Reaction score
112
Hello,

I ran into some problems.

I am trying to promote some CPA offers on FB.

The problem is I am using Peerfly offers and directing the traffic from FB to a website that redirects the traffic according to country to the appropriate Peerfly CPA offer.

Using this script and having it as the index.php of this domain, nothing else.
-----------------------------------------------------------------------------------------------
<?php

include("geoip.inc");
$ip=$_SERVER['REMOTE_ADDR'];
$gi = geoip_open("GeoIP.dat",GEOIP_STANDARD);

$country_code = geoip_country_code_by_addr($gi, "$ip");

// Country name is not used so commented
// Get Country Name based on source IP
//$country = geoip_country_name_by_addr($gi, "$ip");

geoip_close($gi);

switch($country_code)

{
case "US": header("Location: http://trkur.com/trk?"); break;
case "AT": header("Location: http://trkur.com/trk?"); break;
default: header("Location: http://trkur.com/trk?");
}
?>

----------------------------------------------------------------

I tried using tiny url to cloak the domain name but FB always detects the CPA offer and says http://trkur.com links are not aloud ( Peerfly links)

How can I get around this so FB cant detect the peerfly links?

Thank you very much for the help.
 
Use a landing Page instead of using the code directly and just use iframe to add few buttons onto it with geo ip redirects onto it.
 
Replace:
case "US": header("Location: http://trkur.com/trk?"); break;
case "AT": header("Location: http://trkur.com/trk?"); break;
default: header("Location: http://trkur.com/trk?");
WITH:
case "US": echo '<meta http-equiv="refresh" content="0; url=http://trkur.com/trk?">'; break;
case "AT": echo '<meta http-equiv="refresh" content="0; url=http://trkur.com/trk?">'; break;
default: echo '<meta http-equiv="refresh" content="0; url=http://trkur.com/trk?">';


not tested, but should work.
 
Use a landing Page instead of using the code directly and just use iframe to add few buttons onto it with geo ip redirects onto it.

LP's are not viable with what I'm doing.
 
Anyone one else want to chime in?

Hajrobaba I will try that when I have a the chance thank you.
 
landing page is your friend plus you can presell them before sending em off to the offer.
 
landing page is your friend plus you can presell them before sending em off to the offer.

Yes I know, trust me I make a lot of money with my LP's Im doing something completely different within FB though and I need solution what I am trying to do because thats how I work in my system.
 
same problem here .. same with fb+peerfly.. with samescript .. please help .. @shellhackx did you got the solution ?? please coment here if you have got the solution ..
 
Back
Top