Answer the question
In order to leave comments, you need to log in
(Facebook API) How to update data in object_story_spec?
Unable to update information in object_story_spec I update
like this
$creative = new AdCreative($obj['id']);
$creative->setData([
AdCreativeFields::OBJECT_STORY_SPEC => [
AdCreativeObjectStorySpecFields::LINK_DATA => [
AdCreativeLinkDataFields::LINK => $newUrl
]
]
]);
$creative->save();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question