Disable comments/posts on event wall through API? - facebook

When using the Graph API to publish an event to a Facebook page is it possible to set the event to "Only admins can post to the event wall" like in the event dialogue available on Facebook.com?
I cannot find any information in the API reference documents to this setting or field (http://developers.facebook.com/docs/reference/api/event/)
Thanks in advance!

Related

How to create a Facebook Event using Facebook Graph API in 2022?

i'm trying to create a Facebook Event from Postman.
My project consists of an Event Management and Sharing System.
I was able to post a Facebook Posts of type text, link, photo, multi-photos, and video from Postman to my Facebook Page.
I'm confused about what i should do to create events through Facebook API.
At the page Event - Graph API Reference i read that "Access to Events on Users and Pages is only available to Facebook Marketing Partners".
At the page API Official Events | Facebook Developers i read that "we are temporarily pausing new integrations with partners, but you are welcome to complete the form below. Please note that responses to this form are monitored but you may not receive a direct response."
Should my company make a request to become a Facebook Marketing Partners or there's another way of creating events of facebook through Facebook API?
EDIT: i forgot to say that through Postman i'm able to retrieve an event performing a GET to https://graph.facebook.com/v13.0/980993592785922/?access_token={my_long_lived_user_access_token_with_proper_permissions}

How can I query the subscribed webhook events for a Facebook app?

I would like to be able to query the webhook configuration of a Facebook app.
That is, when you setup a webhook for your FB app, you specify what events you want to subscribe to:
https://developers.facebook.com/docs/messenger-platform/webhook-reference#setup
My question is pretty simple: is there a way to query which events have been subscribed to for a given FB app/page ID?
Thanks in advance.
Apparently you can do this by querying "subscriptions" of the Graph API.
E.g.
Go to Graph API explorer tool on developers.facebook.com
In the "Access Token:" field, enter the string: YOUR_APP_ID|YOUR_APP_SECRET
In the GET/v2.8/ field, enter: YOUR_APP_ID/subscriptions
The resulting JSON will contain what events you've registered for: data[0].fields
A smart friend told me how to do this. :)

How to get facebook events via event id?

How to get Facebook events via event id?
i wanted to enter a event id to get all of the data, is there any API for this?
or please tell me how to get the events via graph api.
You need the permission: user_events
API : /EVENT_ID
You can test the same here: Graph API Explorer

Since Feb. 6th, can I post to friends' timeline by Graph API call directly?

My question is,
if I am the user using an authorized web application, can I post something to my friends' timeline at once, and without any interactions with me?
I've read this topic and other relative posts on stackoverflow, and I understand that facebook had made some changes.
But when I read Feed Dialog document, I find out that it said:
Your application can also publish directly to a profile's timeline without interaction on the part of someone using your app. To accomplish this, use the corresponding Graph API call
while "Graph API call" is an unavailable link. And I can't figure out what the corresponding graph api call is.
You cannot Post to User's Friends timelines through the Graph API, as simple as that. You can only Post to the authorized User's wall through the Graph API.
The only way to achieve the similar functionality, as the blog post that you have checked suggests is,
If you want to allow people to post to their friend’s timeline from your app, you can invoke the feed dialog. Stories that include friends via user mentions tagging or action tagging will show up on the friend’s timeline (assuming the friend approves the tag).

Using Facebook Graph API Is it possible to suppress the news-feed publishing when creating an event for a page

If a person on Facebook has liked a page that you create a bunch of events for, it can spam their newsfeed. Is there a way to prevent this?
You can delete the news feed item right after the event has been created. But this will delete it from the news feed of everyone who likes your page.
you can mark the event privacy as 'private' then it will not display in news feed