Information of re-shared status

后端 未结 3 1492
后悔当初
后悔当初 2021-02-02 04:49

I am working with Facebook graph api for few days. I am trying to extract user\'s status and the information of reshared if any. I can easily find status of a user using

3条回答
  •  庸人自扰
    2021-02-02 05:35

    If the post type is photo sharedposts will return empty as the object is different to the postID

    /317380948302131_847979698575584                  => Object : 847979378575616
    
    /317380948302131_847979698575584/sharedposts?fields=from,via  
    

    ObjectID will work as expected

    /847979378575616//sharedposts?fields=from,via   
    

    The only problem if the object is a shared_post it will show all shares from the original post object too and no via node is present . Just struggle around some time why the APi only sometimes return sharedposts

提交回复
热议问题