1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FB + CPA Problem

Discussion in 'CPA' started by shellhackx, Sep 23, 2013.

  1. shellhackx

    shellhackx Regular Member

    Joined:
    Sep 15, 2011
    Messages:
    209
    Likes Received:
    110
    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.
     
  2. Roshaen

    Roshaen Elite Member

    Joined:
    Sep 24, 2012
    Messages:
    2,238
    Likes Received:
    1,351
    Location:
    Please Pray For My DAD
    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.
     
  3. hajrobaba

    hajrobaba Regular Member

    Joined:
    Jul 1, 2013
    Messages:
    220
    Likes Received:
    203
    Location:
    Bosnia and Herzegovina
    Home Page:
    Replace:
    WITH:

    not tested, but should work.
     
    • Thanks Thanks x 1
  4. shellhackx

    shellhackx Regular Member

    Joined:
    Sep 15, 2011
    Messages:
    209
    Likes Received:
    110
    LP's are not viable with what I'm doing.
     
  5. shellhackx

    shellhackx Regular Member

    Joined:
    Sep 15, 2011
    Messages:
    209
    Likes Received:
    110
    Anyone one else want to chime in?

    Hajrobaba I will try that when I have a the chance thank you.
     
  6. ChapoGuzman

    ChapoGuzman BANNED BANNED

    Joined:
    Jun 7, 2013
    Messages:
    294
    Likes Received:
    187
    landing page is your friend plus you can presell them before sending em off to the offer.
     
  7. shellhackx

    shellhackx Regular Member

    Joined:
    Sep 15, 2011
    Messages:
    209
    Likes Received:
    110
    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.
     
  8. sannu3250

    sannu3250 Junior Member

    Joined:
    Jan 18, 2012
    Messages:
    152
    Likes Received:
    17
    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 ..