Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to edit Facebook graph object attributes (i.e video title)?

I'm using ruby Koala, and trying to find how can I edit an existing object's attributes via Facebook graph.

All I could find at Facebook documentation is:

https://developers.facebook.com/docs/opengraph/objects/#update

But didn't find it helpful.

Thanks! Moozly.

like image 341
Moozly Avatar asked Nov 20 '25 18:11

Moozly


1 Answers

Maybe you can use the #graph_call method of Koala::Facebook::API? I got this to work for updating a page event for example:

graph.graph_call("/#{some_id}", hash_of_attributes_to_change, 'post')

As suggested in the Facebook documentation: http://developers.facebook.com/docs/reference/api/page/#events

like image 153
Jakob W Avatar answered Nov 24 '25 11:11

Jakob W



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!