php - Posting to Facebook Graph Api to pages links doesnt appear on feed, and returns empty id -


i try post link page using graph api, week gives error. php sdk api call not throwing exception, post doesnt appear on page's wall.

args:

array('access_token' => 'xxx', 'link' => 'http://example.com'); 

the graph api call returns empty id:

{   "id": "" } 

i tried test facebook graph api explorer, got same error.

if try share graph api message, not link, works:

/pageid/feed - array('access_token' => 'xxx', 'message' => 'hello') << works, gives id, example: { "id": "383696191690958_511110935616149" } 

please help. thank you!


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -