English 中文(简体)
我如何利用图A普的图像从Facebook小组中取回照片?
原标题:How do I retrieve photos from a Facebook group using the graph API?

当我试图从Facebook的一个公开小组中取回照片时,我就拿到了一个空洞的清单。

http://graph.facebook.com/275206825900621/photos>。 我是一份空洞的清单。 我期待看到一份有照片的清单,我已上载到我的测试组。

{
   "data": [      
   ]
}

这个问题可能与安全有关,但我没有发现任何出入错误。 如果我从URL的末尾删除了霍乱,我可以接触基本公众信息,

最佳回答

Per the documentation at (https://developers.facebook.com/docs/reference/api/group/) there is no "photos" connection on a group object. However, there is a picture connection. Maybe someday Facebook will expand their API with a photos connection for a group object.

问题回答

Strange thing is that if you do /group_id/albums it does retrieve all the albums inside the group including album_id, name, url and even the count of images inside that group s album. But if you then use that album_id and call /album_id/photos then it returns the empty data array.

如果你能够做/组别的id/al,那么该组别的册子是有效的,因此,在册子上打上霍乱,就应当照照照照照正常的册照相取。

你们是否知道这一点?

我刚刚与联邦调查局进行了尝试,我可以设法检索有关该团体名称的许多信息,因此,小组名称只是一个正常的称呼。

SELECT description, owner, photo_count, type, like_info, cover_pid, comment_info FROM album WHERE object_id =  1382173765340875 

{
  "data": [
    {
      "description": "10 Desafio Outros!!!", 
      "owner": 1455136613, 
      "photo_count": 8, 
      "type": "normal", 
      "like_info": {
        "can_like": true, 
        "like_count": 1, 
        "user_likes": true
      }, 
      "cover_pid": "6249764165120950711", 
      "comment_info": {
        "can_comment": true, 
        "comment_count": 0, 
        "comment_order": "chronological"
      }
    }
  ]
}

埃德特·2014:我提交了一本书目,6个月后我作了答复:

他们说,要检查图表的复印件,我可以看到,各团体之间不存在任何联系,因此,我目前正在从我的询问中获得的任何额外信息只是一纸空文。

Ah! I think it s just a bug that they did not link groups to albums but whatever...





相关问题
Facebook Connect login dialog not working

I am using Facebook Connect for iPhone and following the official instructions. I use the following code to display the login dialog: FBLoginDialog* dialog = [[[FBLoginDialog alloc] initWithSession:...

Facebook App Profile Tab is Empty ... No Content Displayed?

I can view my application via the http://apps.facebook.com/myapplication/ link and the content shows up correctly. I also added the application as a tab to a facebook page. However, when viewing the ...

Facebook Platform error: "Object cannot be liked"

I m working on a Facebook Application that generates wall posts. In testing these posts, I ve discovered that the Facebook Platform action of "liking" a post is failing. The specific error message ...

how to call showPermissionsDialog() in php (facebook api)?

I was reading over the documentation yet I could not figure out how to call Facebook.showPermissionsDialog() in php include_once ./facebook-platform/php/facebook.php ; $facebook = new Facebook(my ...

Facebook connect

If I plug in the facebook connect into my website, How can I prevent double signups? Lets say I have a user that s already signed up to my site but he clicked the connect with facebook, is there a ...

热门标签