FilesTube Affiliate Program

Status
Not open for further replies.
19 comments
Earning money as a FilesTube Affiliate is very easy. You have to log in on FilesTube.com and copy the link from the share widget on the right of your screen. The widget will always appear when you are logged in.
You can share links to both detailed and general results of your enquiries.
Your Affiliate ID is already encrypted in the share link.
Copy the link and share it anywhere you want, on websites, blogs, Facebook, Twitter etc.
The more clicks you get, the more you earn.
As soon as you earn $15, you will receive your payout using a Skrill account.
[FONT=arial, sans-serif]
[/FONT]
 
i try to use the API from them but the example here didnt work

Code:
 $url="http://api.filestube.com/?key=2c17a6258659780e0bc6d2ca41ab731e&phrase=britney&page=2"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_FAILONERROR, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $result = curl_exec($ch); print curl_error($ch); curl_close($ch); $document = new DOMDocument('1.0', 'UTF-8'); $document->loadXML($result); $answer = $document->getElementsByTagName('answer')->item(0); if($answer!=null) { $hasResults = $answer->getElementsByTagName('hasResults')->item(0); if($hasResults->nodeValue == 1) { $hits = $answer->getElementsByTagName('hits'); foreach($hits as $hit) { $name = $hit->getElementsByTagName('name')->item(0)->nodeValue; $extension = $hit->getElementsByTagName('extension')->item(0)->nodeValue; $desc = $hit->getElementsByTagName('description')->item(0)->nodeValue; $size = $hit->getElementsByTagName('size')->item(0)->nodeValue; $address = $hit->getElementsByTagName('address')->item(0)->nodeValue; $details = $hit->getElementsByTagName('details')->item(0)->nodeValue; $added = $hit->getElementsByTagName('added')->item(0)->nodeValue; $related = $hit->getElementsByTagName('related')->item(0)->nodeValue; $counter=$hit->getAttribute('id'); print '<div style="border:1px dotted #CCC;padding:10px;">'; print $counter."<br />"; print "Name : $name <br />"; print "Extension : $extension <br />"; print "Date added : $added <br />"; print "Description : $desc <br />"; print "Size : $size <br />"; print "Related : $related <br />"; print "<a href='$address' title='$name'>Download</a><br />"; print "<a href='$details' title='$name'>File's Details</a>"; print "</div>"; } } else { print '<div style="border:1px dotted #CCC;padding:10px;">'; print '0 results <br />'; print "</div>"; } } else { $error = $document->getElementsByTagName('error')->item(0); if($error!=null){ $message = $error->getElementsByTagName('message')->item(0)->nodeValue; print '<div style="border:1px dotted #CCC;padding:10px;">'; print 'Message: '.$message."<br />"; print "</div>"; } }
DOnt know but i think iam doing something wrong.
 
hi Karen2 Thanks for the notice

i checked the new api

Here is my code

Code:
 $url="http://api.filestube.com/?key=xxxxxxxxxxxxxxx&phrase=AnDrOiD"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_FAILONERROR, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $result = curl_exec($ch); print curl_error($ch); curl_close($ch); $document = new DOMDocument('1.0', 'UTF-8'); $document->loadXML($result); $answer = $document->getElementsByTagName('answer')->item(0); if($answer!=null) { $hasResults = $answer->getElementsByTagName('hasResults')->item(0); if($hasResults->nodeValue == 1) { $hits = $answer->getElementsByTagName('hits'); foreach($hits as $hit) { $name = $hit->getElementsByTagName('name')->item(0)->nodeValue; $extension = $hit->getElementsByTagName('extension')->item(0)->nodeValue; $desc = $hit->getElementsByTagName('description')->item(0)->nodeValue; $size = $hit->getElementsByTagName('size')->item(0)->nodeValue; $link = $hit->getElementsByTagName('link')->item(0)->nodeValue; $added = $hit->getElementsByTagName('added')->item(0)->nodeValue; $related = $hit->getElementsByTagName('related')->item(0)->nodeValue; $counter=$hit->getAttribute('id'); print '<div style="border:1px dotted #CCC;padding:10px;">'; print $counter."<br />"; print "Name : $name <br />"; print "Extension : $extension <br />"; print "Date added : $added <br />"; print "Description : $desc <br />"; print "Size : $size <br />"; print "Related : $related <br />"; print "<a href='$link' title='$name'>Details</a>"; print "</div>"; } } else { print '<div style="border:1px dotted #CCC;padding:10px;">'; print '0 results <br />'; print "</div>"; } } else { $error = $document->getElementsByTagName('error')->item(0); if($error!=null){ $message = $error->getElementsByTagName('message')->item(0)->nodeValue; print '<div style="border:1px dotted #CCC;padding:10px;">'; print 'Message: '.$message."<br />"; print "</div>"; } }

xxxxx is my removed api Number

However i have save this code in a .php file and run this on my domain but its on any way not working for me is something wrong with my code?!

Regards & Thx again for the Notice!
 
Still i have no idea how to earn money. What should i do ?
Do i need to share affiliate link on forums/fb/ etc ?


you have to share your Links

search for your links and share the link in this box on right side

1QD5gDY.png
 
Deadmau5


Did you setup a good IP for api ?

---------- Post added at 09:16 AM ---------- Previous post was at 09:12 AM ----------

hi Karen2 Thanks for the notice

i checked the new api

Here is my code

Code:
 $url="http://api.filestube.com/?key=xxxxxxxxxxxxxxx&phrase=AnDrOiD"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_FAILONERROR, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $result = curl_exec($ch); print curl_error($ch); curl_close($ch); $document = new DOMDocument('1.0', 'UTF-8'); $document->loadXML($result); $answer = $document->getElementsByTagName('answer')->item(0); if($answer!=null) { $hasResults = $answer->getElementsByTagName('hasResults')->item(0); if($hasResults->nodeValue == 1) { $hits = $answer->getElementsByTagName('hits'); foreach($hits as $hit) { $name = $hit->getElementsByTagName('name')->item(0)->nodeValue; $extension = $hit->getElementsByTagName('extension')->item(0)->nodeValue; $desc = $hit->getElementsByTagName('description')->item(0)->nodeValue; $size = $hit->getElementsByTagName('size')->item(0)->nodeValue; $link = $hit->getElementsByTagName('link')->item(0)->nodeValue; $added = $hit->getElementsByTagName('added')->item(0)->nodeValue; $related = $hit->getElementsByTagName('related')->item(0)->nodeValue; $counter=$hit->getAttribute('id'); print '<div style="border:1px dotted #CCC;padding:10px;">'; print $counter."<br />"; print "Name : $name <br />"; print "Extension : $extension <br />"; print "Date added : $added <br />"; print "Description : $desc <br />"; print "Size : $size <br />"; print "Related : $related <br />"; print "<a href='$link' title='$name'>Details</a>"; print "</div>"; } } else { print '<div style="border:1px dotted #CCC;padding:10px;">'; print '0 results <br />'; print "</div>"; } } else { $error = $document->getElementsByTagName('error')->item(0); if($error!=null){ $message = $error->getElementsByTagName('message')->item(0)->nodeValue; print '<div style="border:1px dotted #CCC;padding:10px;">'; print 'Message: '.$message."<br />"; print "</div>"; } }
xxxxx is my removed api Number

However i have save this code in a .php file and run this on my domain but its on any way not working for me is something wrong with my code?!

Regards & Thx again for the Notice!

Message: IP is not authorized for key

Hav you maybe this error ?
 
Last edited:
@karen2

i have setup with Ip and without i get only empty results?!

i dont know whats wrong maybe another person can test this and see if this works?!

@karen2 if you wish i send you my api code you can test this then with my code?!

Regards
 
Status
Not open for further replies.
Back
Top