Samuel Todosiciuc Samuel Todosiciuc - 15 days ago 6
PHP Question

Videos uploaded with facebook api are visible to me but not to others

Today i've uploaded some clips using Facebook video api and there is a problem.
The problem is that videos uploaded on my page are visible to me but not to other people. Not even the other admins can't see them. Now the obvious answer would be "the privacy".
But that's the thing, it's public. I don't know what i'm doing wrong

$attachment = array(
'access_token' => $this->token,
'name' => isset($story->name) ? $story->name : $story->title,
'description' => $story->description,
'source' => '@' . realpath($story->resource)
);
$result = $this->facebook->api($this->getUploadUrl($story->page, $story->type), 'post', $attachment);


It's all working fine. I'm not getting any errors. The result from this request would be somthing like

{"id":"693098840722877"}


Thank you!

Answer

Oh dear God. The application was in "sandbox" mode. So that's why other people could not see the posts