Get group events as a system user with Facebook API
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
add a comment |
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
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
add a comment |
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
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
facebook facebook-graph-api
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
add a comment |
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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