Fix My Facebook Ads Code

I’m stuck.

I’ve got the initial url of a facebook ad, but I need to follow it through to the end advertisers page using my test.php script. I’ve got some code done in php and curl, but it doesn’t work, it just goes to facebook and shows a “page not found” error.

I need some brilliant coder to fix my code for me.

The end result I’d like is all the redirects into a single variable with the urls sepearated by “|||”. So it would look like this:

$rurl = “http://facebook.com/bunchofstuffhere|||http://facebook.com/redirect.php?morestuffhere|||http://advertiserssite.com”;

Attached is the code so far, I think I need to pretend I’m on the facebook.com site somehow, but tried that in the code and it didn’t work.

HELP!

Leave a Reply

Your email address will not be published. Required fields are marked *