I am trying to post to specific friend lists through php in combination with a facebook canvas app. When I call the app the first time I have to decide who can see the posts the app will do i.e. public, close friends or specific friend lists.
So when I've decided me for all friend lists and another friend list was added by user I can't post to this new friend list through php without adding this friend list manually on facebook. But that is exactly what I want to do. Is there any way to do that?
In addition: Getting those friend lists is not the problem.
EDIT
The following code doesn't work for me.
$response = (new FacebookRequest(
$session,
"POST",
"/me/feed",
array(
"message" => "Some message",
"value" => "CUSTOM",
"friends" => "SOME_FRIENDS",
"allow" => "listId"
);
))->execute();