#1
  1. No Profile Picture
    JRM
    Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jul 2003
    Posts
    108
    Rep Power
    16

    Google API Problem - PHP


    I am trying to use the G API and I am not getting anything back.

    I get:
    Array ( [estimated_total_count] => [search_time] => [start_index] => [end_index] => )

    The code I am using is:

    $google_api = new google_api;
    $google_api_result = $google_api->search ('test search', '0', '5');
    print_r ($google_api_result);//------->this is where I get the result above

    google_api is a class that does the API Stuff (I found this on the web):

    I am using nusoap for the soap stuff.

    I hope this makes some sense to someone out there.

    Thank you,

    JRM
  2. #2
  3. No Profile Picture
    Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jul 2003
    Posts
    135
    Rep Power
    16
  4. #3
  5. No Profile Picture
    JRM
    Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jul 2003
    Posts
    108
    Rep Power
    16
    Toasted,

    Thank you for the link! That is a good Tutorial!

    Thank you again,

    JRM
  6. #4
  7. Contributing User
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Aug 2003
    Location
    San Diego USA
    Posts
    1,274
    Rep Power
    17
    Not familiar specifically with the google_api class or the soap extensions you are using.

    But you *are* getting an array back from the class, so it's obviously being run. I would guess the problem lies with the soap extensions... you may want to try running something simple with them manually and looking at the results...

    (Sorry I can't be more help... hard to help debug when I can't see anything)

    - Shawn
  8. #5
  9. No Profile Picture
    JRM
    Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jul 2003
    Posts
    108
    Rep Power
    16
    Thank you digitalpoint for the input, I figured out how to get it working, the server I was using didn't have some things setup yet. Now I need to wait to see what managers want me to do. But for the time being we will use your awesome keyword tool!!!

    Thank you,

    JRM

Similar Threads

  1. Google Friends Newsletter December
    By Phoenix in forum Search Engine Optimization
    Replies: 1
    Last Post: Dec 5th, 2003, 11:50 PM
  2. Google End?
    By analogik in forum Google Optimization
    Replies: 12
    Last Post: Sep 17th, 2003, 07:37 PM
  3. Buzz abounds on Google IPO
    By ctn in forum Google Optimization
    Replies: 0
    Last Post: Jun 14th, 2003, 10:20 PM
  4. GoogleBot FAQ
    By darkroom in forum Google Optimization
    Replies: 6
    Last Post: Mar 7th, 2003, 02:39 AM

IMN logo majestic logo threadwatch logo seochat tools logo