<?php
extract($_GET);
$data = file_get_contents("http://ajax.googleapis.com/ajax/services/feed/find?v=1.0&q=" . $category );
echo json_decode($data);
?>
This is giving me an error : Catchable fatal error: Object of class stdClass could not be converted to string
Using google feed api with php
1.3k views Asked by Varun At
1
try this:
you have to call it by http://example.com/thisfile.php?query=my_text