Facebook Graph APIを使用して、現在ログインしているユーザーの友だちの壁/フィードの投稿を作成しています。 そして、壁のポストに3つのアクションリンクが表示されます。プロパティは辞書でなければなりません!! - Facebook Graph API
「公開」セクションの下に、ここで説明されているようこれは、POSTリクエストです:http://developers.facebook.com/docs/reference/api/
私は
(
[access_token] => 161318CRR8l0EBFXGhd-00.131037840000000862225914|R5i30nmZr6yKICbHayaDzZ02f_Y
[message] => This is a test message.
[picture] => http://www.mydoain.com/mylogo.jpg
[link] => http://www.mydoain.com/check.php
[actions] => {name:"View Demo",link:"http://www.mydomain.com/demo",name:"View Features",link:"http://www.mydomain.com/features"}
[name] => Click to Visit
[caption] =>
[properties] => properties: [
{
name: "Demo",
text: "View Demo",
href: "http://www.mydomain.com/demo",
},
{
name: "Features",
text: "View Features",
href: "http://www.mydomain.com/features",
},
]
[description] =>
[source] =>
)
を以下のようCURLOPT_POSTFIELDSを設定しているとPOSTリクエストがに行われますhttps://graph.facebook.com/10000000006549/feed
しかし、その寄付私の次のエラー:
{
"error": {
"type": "OAuthException",
"message": "(#100) properties must be a dictionary"
}
私はこのOAを取得しています例外?壁のポストに3つのアクションリンクを持たせるためにはどうすればよいですか?
私を導いてください....