Trying to Get PHPBay Pro API Running..

Discussion in 'Commission Junction' started by frychiko, Mar 17, 2008.

  1. #1
    I'm trying to get the PHPBay Pro API up and running on a custom built PHP site but I'm pulling out all my hair here..

    require_once("phpbay/ebay.php");
    ...
    $keywords = "laptops";
    $ebay = new ebay();
    $ebay->eb_frpp = "10";
    $ebay->listings($keywords, $category);
    $ebay=>html;
    
    Code (markup):
    But nothing is being displayed. Instructions say I have to do something with mod_rewrite is it's not in the root directory (mine is in localhost/site/phpbay/) but I'm not sure what to do next...

    Anyone got any ideas..?
     
    frychiko, Mar 17, 2008 IP
  2. msavage

    msavage Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Not sure if that is your actual code but you will want to change it to this:

    echo $ebay->html;
    Code (markup):
    Also, what are you putting in $category?
     
    msavage, Mar 17, 2008 IP
  3. Hapexamendios

    Hapexamendios Peon

    Messages:
    49
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Have you emailed the developer for help? Any time I have had a confusion with the script he got back with me within an hour or so.
     
    Hapexamendios, Mar 17, 2008 IP
  4. frychiko

    frychiko Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    msavage:

    Yeah that's what I have exactly, I just forgot to write the echo bit down in my original post.
    $category = "";

    Hapexamendios:
    If you got help, I might as well try contacting them, although the contact page says don't go there asking for help as they don't provide support..

    EDIT: Oops, looks like I misread.. they do provide support.
     
    frychiko, Mar 17, 2008 IP