Are you sending the appropriate http_referer headers? 

I don't know?  Where do I look?

I am experimenting with this both by browser address bar and via a page on 
our site with,

$page = 
file_get_contents('https://www.googleapis.com/customsearch/v1?key=AIzaSyChWV0NI7GTbvnUHr0XzoqWt3HyCyyMTJA&cx=016296160735106576712:8kvz6lo2kp4&q=site:');

echo $page;

The string in this case ends up empty...








On Friday, July 13, 2012 10:52:21 AM UTC-5, jgeerdes [AJAX APIs "Guru"] 
wrote:
>
> This is a fairly common issue. Generally, it's caused by a typo in the API 
> key or a misconfiguration in how you've restricted it. Particularly, check 
> for domain and/or IP address restrictions that may be incorrect.
>
> Also, for future reference, this is a mpderated group. So sometimes, posts 
> - particularly first-time posts - don't show up immediately.
>
> Jg
> On Jul 13, 2012 10:44 AM, "Patrick Ziegler" <> wrote:
>

-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
https://groups.google.com/d/msg/google-ajax-search-api/-/R3JfvgtA1JMJ
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to