how to Create Group under Facebook APP in ASP.NET

554 views Asked by At
//App Token string AccessToken = "41389678736"; 

  try {

        var fb = new FacebookClient(AccessToken);
        dynamic fbInfo = fb.Post("/v2.2/" + "9192461854" + "/groups", new
        {
            name = "Create APP Group one",
            description = "Create APP Group one",
            admin = "14563132194",
        });

    }
    catch (Exception ex) { }

enter image description here

1

There are 1 answers

5
Tobi On

You cannot create a global Facebook Group via the Graph API. See the docs at

If you want to creaete an app group, you could do this via

POST /v2.4/{app-id}/groups

As stated in the docs, you need an App Access Token for that

An app access token is required to create groups belonging to that app.

You seem to use an invalid Access Token. Try one in the form app_id|app_secret

See