Forum Moderators: coopster
You are getting this error from the URL you are requesting? Sounds like they are checking user-agents and displaying content accordingly.
[url=http://www.php.net/curl-setopt]curl_setopt[/url]($ch, CURLOPT_USERAGENT, $useragent);
Read up on cURL at the documentation: [php.net...]
[edit]
beaten to it ;)
thanks again folks, I am just at a loss as to why there would be nothing returned at all from facebook?
1. The session you initiated with cURL isn't logged in.
2. Facebook is checking for a cookie to be set that you haven't set with cURL
3. The user-agent you are sending with cURL doesn't fit a pattern Facebook allows
...
The list goes on - most folks don't want Joe Blow to scrape them and don't make it easy.