Ici habe ein Problem;
In ein Programm von mir möchte ich Facebokk-Integration einbauen
(Das Programm soll auf die Pinnwand schreiben).
Dazu steht auf der Entwickerseite von Facebook unter 'Status message'
Spoiler anzeigen
Veröffentlichen
Benötigt die publish_stream Erlaubnis
To publish a status update, POST the message to the feed/wall of the user whose status you want to update, i.e., http://graph.facebook.com/USER_ID/feed.
Spoiler anzeigen
curl -F 'access_token=...' \
-F 'message=This is my status update' \
https://graph.facebook.com/me/feed
Soweit, so gut. Jetzt dachte ich mir ich kann ja einfach einen Request senden;
[autoit]
$hSession = _WinHttpOpen()
$hConnect = _WinHttpConnect($hSession,"graph.facebook.com")
$hRequest = _WinHttpSimpleSendSSLRequest($hConnect ,"POST","https://graph.facebook.com/me/feed", Default ,"curl -F 'access_token="&$AccessToken&"' \ -F 'message=This is my status update' \ https://graph.facebook.com/me/feed")
$post = _WinHttpReceiveResponse($hRequest)
$post = _WinHttpReadData($hRequest)
Allerdings steht dann in $post immer "Unsupported post request"
Hab ich da was falsch verstanden. Bitte um Antwort.
PS: Hier noch der Link: http://developers.facebook.com/docs/reference/api/status