Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Graph API Group Files

Facebook offers a new functionality for groups. Now it is possible to post also files within a group. (http://mashable.com/2012/05/10/facebook-groups-3/)

I am trying to query now the files using the Graph API but on the documentation site there are only 4 urls described. "docs", "members", "feed", "picture". When I read the "feed" path I will not get file postings.

Is there a hidden path? I also found no new permission.

Anyone has any idea?

I have searched for a solution on several internet pages but there are only descriptions on how to read and post photos, which is described in the document.

Is there nobody writing an app where you can upload files to groups?

like image 952
kafbuddy Avatar asked Jun 05 '12 06:06

kafbuddy


People also ask

What data can I get from Facebook graph API?

The Graph API is the primary way to get data into and out of the Facebook platform. It's an HTTP-based API that apps can use to programmatically query data, post new stories, manage ads, upload photos, and perform a wide variety of other tasks.

Is Facebook graph API deprecated?

API Version Deprecations: As part of Facebook's Graph API and Marketing API, please note the upcoming deprecations: August 3, 2021: Graph API v3. 3 will be deprecated and removed from the platform. August 25, 2021 Marketing API v9.


1 Answers

try this, this might be helpful for you try {

    $facebook->api('/'.$groups[$id].'/feed', 'POST',                array(                   'access_token' => $access_token,                  'message' => stripslashes(stripslashes($mapp_message)),                  'name' => stripslashes($name),                  'link' => $link,                  'description' => stripslashes(stripslashes($description)),                  'picture' => "images/send_imges/".$image                     )             );     } catch(FacebookApiException $e) {         echo $e;     } 
like image 109
Syed Amir Bukhari Avatar answered Sep 19 '22 18:09

Syed Amir Bukhari