All,
Currently I have a Facebook page that gets updated every few minutes using the cURL command. The command is :
curl.exe -kF "access_token=XXX" -F "message=YYY" https://graph.facebook.com/<appID>/feed
How can I programmatically implement the -k
and -F
in PHP?
[edit-05/24 - 15:59EST]:
-k flag: Allow connections to SSL sites without certs (H)
-F: -F/--form Specify HTTP multipart POST data (H)
I am not sure if message
and access_token
should be passed as POST fields. Can anyone please guide me on this?
I am getting the error:
{"error":{"type":"OAuthException","message":"(#803) Some of the aliases you requested do not exist: 1.8800586791358e 14"
}}* Connection #0 to host graph.facebook.com left intact