ruby - How to fix Facebook Graph API returning 'reorder_pids is required' -


so have problem in updating post using app sending link via post gives me problem

https://graph.facebook.com/{post-id} => post data are: {message:"a new updated message"}

it returns json code requiring me specify 'reorder_pids' paramter.

{"error":{"message":"(#100) parameter reorder_pids required","type":"oauthexception","code":100}} 

i'am trying out @ facebook graph api explorer , not working. when try specify vale reoder_pids stil throws error said 'reorder_pids' must array.

what workaround problem? did wrong on post parameter request?

i got working doing this:

post /v2.5/{user_or_page_id}_{post_id} ?access_token={token} &message={new_message} 

notice how user_id (or page_id) prefixed post_id , version updated. seems multiple problems accessing edges on api can solved using {user_or_page_id}_{post_id}. no fb telling anybody.

source: how should retrieve individual post /[post-id] deprecated in v2.4?


Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -