Get group events as a system user with Facebook API












0















I have a website which should list all the events from my facebook group. So I created a facebook dev account and created an app.



When I tried to get the data with the graph API explorer it worked, but the access token expired after a few hours. So I had to get a never-expiring access token.



I created a sytem user at the facebook business manager. With the system user I got a never-expiring access token but I couldn't get the event data anymore. Everytime I tried it I got this response.




"Unsupported get request. Object with ID 'xxxxxxxxxxxxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api"




I have the following permissions as system user:




read_insights, read_audience_network_insights, manage_pages, pages_manage_cta, pages_show_list, publish_pages, business_management




Why did it fail? Are the permissions correct?
Thanks for your help.










share|improve this question

























  • there is no never-expiring token you can use for this. and why would you add all those permissions? all of them are for pages, not groups.

    – luschn
    Nov 15 '18 at 16:58











  • If there is no never-expiring token I can use, how should I get my facebook group events for my website? Do you have an idea?

    – Umut Savas
    Nov 15 '18 at 17:06













  • did you read this? developers.facebook.com/docs/graph-api/reference/group/events - what token are you using exactly? a user token or a page token? or maybe an app token? you should add the relevant code in your question. also, make sure to select the correct app in the api explorer.

    – luschn
    Nov 15 '18 at 18:00
















0















I have a website which should list all the events from my facebook group. So I created a facebook dev account and created an app.



When I tried to get the data with the graph API explorer it worked, but the access token expired after a few hours. So I had to get a never-expiring access token.



I created a sytem user at the facebook business manager. With the system user I got a never-expiring access token but I couldn't get the event data anymore. Everytime I tried it I got this response.




"Unsupported get request. Object with ID 'xxxxxxxxxxxxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api"




I have the following permissions as system user:




read_insights, read_audience_network_insights, manage_pages, pages_manage_cta, pages_show_list, publish_pages, business_management




Why did it fail? Are the permissions correct?
Thanks for your help.










share|improve this question

























  • there is no never-expiring token you can use for this. and why would you add all those permissions? all of them are for pages, not groups.

    – luschn
    Nov 15 '18 at 16:58











  • If there is no never-expiring token I can use, how should I get my facebook group events for my website? Do you have an idea?

    – Umut Savas
    Nov 15 '18 at 17:06













  • did you read this? developers.facebook.com/docs/graph-api/reference/group/events - what token are you using exactly? a user token or a page token? or maybe an app token? you should add the relevant code in your question. also, make sure to select the correct app in the api explorer.

    – luschn
    Nov 15 '18 at 18:00














0












0








0








I have a website which should list all the events from my facebook group. So I created a facebook dev account and created an app.



When I tried to get the data with the graph API explorer it worked, but the access token expired after a few hours. So I had to get a never-expiring access token.



I created a sytem user at the facebook business manager. With the system user I got a never-expiring access token but I couldn't get the event data anymore. Everytime I tried it I got this response.




"Unsupported get request. Object with ID 'xxxxxxxxxxxxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api"




I have the following permissions as system user:




read_insights, read_audience_network_insights, manage_pages, pages_manage_cta, pages_show_list, publish_pages, business_management




Why did it fail? Are the permissions correct?
Thanks for your help.










share|improve this question
















I have a website which should list all the events from my facebook group. So I created a facebook dev account and created an app.



When I tried to get the data with the graph API explorer it worked, but the access token expired after a few hours. So I had to get a never-expiring access token.



I created a sytem user at the facebook business manager. With the system user I got a never-expiring access token but I couldn't get the event data anymore. Everytime I tried it I got this response.




"Unsupported get request. Object with ID 'xxxxxxxxxxxxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api"




I have the following permissions as system user:




read_insights, read_audience_network_insights, manage_pages, pages_manage_cta, pages_show_list, publish_pages, business_management




Why did it fail? Are the permissions correct?
Thanks for your help.







facebook facebook-graph-api






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 '18 at 16:59









luschn

58.3k578101




58.3k578101










asked Nov 15 '18 at 16:49









Umut SavasUmut Savas

487




487













  • there is no never-expiring token you can use for this. and why would you add all those permissions? all of them are for pages, not groups.

    – luschn
    Nov 15 '18 at 16:58











  • If there is no never-expiring token I can use, how should I get my facebook group events for my website? Do you have an idea?

    – Umut Savas
    Nov 15 '18 at 17:06













  • did you read this? developers.facebook.com/docs/graph-api/reference/group/events - what token are you using exactly? a user token or a page token? or maybe an app token? you should add the relevant code in your question. also, make sure to select the correct app in the api explorer.

    – luschn
    Nov 15 '18 at 18:00



















  • there is no never-expiring token you can use for this. and why would you add all those permissions? all of them are for pages, not groups.

    – luschn
    Nov 15 '18 at 16:58











  • If there is no never-expiring token I can use, how should I get my facebook group events for my website? Do you have an idea?

    – Umut Savas
    Nov 15 '18 at 17:06













  • did you read this? developers.facebook.com/docs/graph-api/reference/group/events - what token are you using exactly? a user token or a page token? or maybe an app token? you should add the relevant code in your question. also, make sure to select the correct app in the api explorer.

    – luschn
    Nov 15 '18 at 18:00

















there is no never-expiring token you can use for this. and why would you add all those permissions? all of them are for pages, not groups.

– luschn
Nov 15 '18 at 16:58





there is no never-expiring token you can use for this. and why would you add all those permissions? all of them are for pages, not groups.

– luschn
Nov 15 '18 at 16:58













If there is no never-expiring token I can use, how should I get my facebook group events for my website? Do you have an idea?

– Umut Savas
Nov 15 '18 at 17:06







If there is no never-expiring token I can use, how should I get my facebook group events for my website? Do you have an idea?

– Umut Savas
Nov 15 '18 at 17:06















did you read this? developers.facebook.com/docs/graph-api/reference/group/events - what token are you using exactly? a user token or a page token? or maybe an app token? you should add the relevant code in your question. also, make sure to select the correct app in the api explorer.

– luschn
Nov 15 '18 at 18:00





did you read this? developers.facebook.com/docs/graph-api/reference/group/events - what token are you using exactly? a user token or a page token? or maybe an app token? you should add the relevant code in your question. also, make sure to select the correct app in the api explorer.

– luschn
Nov 15 '18 at 18:00












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53324253%2fget-group-events-as-a-system-user-with-facebook-api%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53324253%2fget-group-events-as-a-system-user-with-facebook-api%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Bressuire

Vorschmack

Quarantine