Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
bdee2 #1
Google API not working
when i try to run the following code i get an error :
<cfinvoke
webservice="http://api.google.com/GoogleSearch.wsdl"
method="doGoogleSearch"
returnvariable="aGoogleSearchResult">
<cfinvokeargument name="key" value="****************8"/>
<cfinvokeargument name="q" value="Family Guy"/>
<cfinvokeargument name="start" value="0"/>
<cfinvokeargument name="maxResults" value="5"/>
<cfinvokeargument name="filter" value="false"/>
<cfinvokeargument name="restrict" value="false"/>
<cfinvokeargument name="safeSearch" value="false"/>
</cfinvoke>
<cfdump var="aGoogleSearchResult">
the error i am getting is:
Web service operation "doGoogleSearch" with parameters
{key={*******************},safeSearch={false},star t={0},restrict={false},maxResu
lts={5},filter={false},q={Dee Web Design},} could not be found.
any advice? according to what i read in the wsdl and the reference guide i
think my code is right.
bdee2 Guest
-
Google FYI
http://www.geek.com/news/geeknews/2006Jan/gee20060202034550.htm Have Fun! -
Google API
I have the following code for a search engine in our website. The search engine work just fine but only returns 10 results. I want to modify the... -
[PHP] Google APIs with PHP
Sorry about it. I should include the code as attachment. Daniel _________________________________________________________________ Get 10Mb... -
Google APIs with PHP
Hi all, I am new to PHP and just tested out using NuSoap to query Google database. The code is written by Harish Kamath. However, it doesn't work... -
PHP<->Google?
I'm so curious to know whether Google uses PHP or not. Some pages on the net says that Google uses PHP. Is it true? If so, what database they use?... -
bdee2 #2
Re: Google API not working
ok nevermind i didnt realize that all the arguments were required.
the problem i have now is that if the maxrows argument is required and can
only be up to 10 then each call to the Google API can only return 10 results.
I know that if i want more i can just put the cfinvoke in a loop and call it
more than once specifying a new startrow each time but wheni got my key the
email said that i can only make 1000 calls to the searvice per day. so that
limits me to 10,000 results per day. is there any way to get around that? it
just seems silly to me that you can only get 10 results per call.
bdee2 Guest



Reply With Quote

