been trying to get data from the facebook payments reports API, since they say on november 7th no more reports will be sent by email.
tried php and got an error - "SSL connection timeout".
this is the php curl code i'm using:

$set_action_url = "https://paymentreports.facebook.com/".$company_id."/report?date=".$date."&amp;type=".$type."&amp;access_token=".$company_token;
$ch = curl_init($set_action_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch,CURLOPT_TIMEOUT,5);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT ,0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$result = curl_exec($ch);


i logged the url and query string just before the call, and if i use it in a browser
i do get the file.

what am i doing wrong?


Question: Will paprika taste good in my soup?
Answer: Go for a barbeque or curry: both of those will go well with the veggies you're using.  Actually, your best bet is to experiment and try lots of different spice combinations.  Soups are very versatile.