API invites to facebook events no longer possible? - facebook

Is it currently possible to invite users to a facebook event via any API?
Scripting language doesn't matter, I just want to know if there is still any possibility to do that.
I've searched the web for a while now but haven't got a clear answer. All the forum topics I've found that discuss this and suggest it's possible are years old.
It seems it was possible before, but not anymore?
At least the official Graph API reference says it's no longer possible:
https://developers.facebook.com/docs/graph-api/reference/v2.0/event/invited#publish
"Publishing
You cannot invite people to events via the Graph API."
Is there any other way to do that?
Thanks.

Related

Sending requests to facebook as a user from a third-party app

I need to initiate searches on facebook marketplace from my application on the user's device. This needs to happen on the user's device, and as the facebook user associated with the user using the application, to avoid getting blocked by facebook. As far as I can understand, this cannot be achieved using facebook's OAuth login and accessing the facebook information that is accessible through it.
Another hypothetical way that comes to mind, is to use the token that the user uses to login into facebook itself, though this one sounds frankly illegal.
tl;dr is there a way to run a search and retrieve the results on facebook marketplace as a user on a user's device?
I found your question on SO, and spent a good bit of time researching this, as I wanted to know the answer myself. Unfortunately, as best as I can tell, this is not possible through any official APIs. It seems like they may have once had something like this, as I found several links to FB API documentation that looked promising. But, the links all rerouted back to the Graph API homepage. I found a couple of references to the big data breaches FB has suffered in the last couple of years as possible reasons why their APIs were retooled and locked down.
I found several Facebook developer posts with questions about a Marketplace API where there were either no answers after months or years, or an official Facebook moderator posting a response like "This is a great idea, we always want to improve, use this form to submit your idea" and so on with no follow up.
I also found at least one SO post within the last 18 months where someone in the comments claimed to be able to post products to FB, but I think this was related to the Business Page Product Catalog, and is not what you're looking for. This is more like if a car dealership or something wants to post a new car for sale that's tied to their FB business page.
The Graph API allows for some decent searching and edge traversal but it is all related to posts, pictures, feeds, etc., and nothing related to the marketplace. Facebook pushes their Marketing APIs so heavily that it was tough to filter through that noise. And, of course, all of marketing apis are geared toward creating ads.
I found some Facebook information around API URLs looking like https://graph.facebook.com/search=terms&type=some_type that was very promising. But the type options seem to be limited to adcountry, adeducationschool, adeducationmajor, adlocale, adworkemployer, adkeyword, adzipcode, adgeolocation, and audienceinterest. And, as I dug deeper, it appears this is related to finding targeting groups for creating targeted posts. Nothing for marketplace.
I think that the answer, unfortunately, is that there are no offical FB APIs at this time that will allow querying search results from the Facebook Marketplace, much less provide enough information to reproduce a listing to display on a 3rd party app.

Post Job Offers through the Facebook API

Does anyone know if it is possible to post job offers through the FB API? I am asking in context of this article https://facebook.com/business/news/take-the-work-out-of-hiring
I searched for something in the FB documentation, but couldn't find anything.
I have been exploring the same thing, and minus an official FB statement that they do not support this through Graph API or otherwise, I'd safely say that it is not currently possible/supported.
It looks like Facebook is rolling this out now. It might not be available to you just yet (I can't use it in the UK).
https://developers.facebook.com/docs/pages/jobs-xml
https://newsroom.fb.com/news/2018/02/jobs/

how to invite friend in facebook api to list friends

how to invite friend in facebook api to list friends usign c# or Vb net or php
I looked in the documentation but I did not thank you for helping me find
Requesting Friendship is not possible (anymore), see docs: https://developers.facebook.com/docs/dialogs/friends/v2.1
This was removed as of Graph API version 2.0
It is only possible to open a dialog in v1.0, sending friend requests without a dialog is not possible even with v1.0.
You are looking for
https://developers.facebook.com/docs/graph-api/reference/v2.1/user/friends#readmodifiers
In short though this only works if both of the users are users of your app and you have the appropriate permissions.
The application listed in your example either does this, or it is using the old api and will have to change in the future when V1 is removed. On a side note, you shouldn't post your follow up as an answer to your own question but as a comment

Facebook doesn't notify users of comments to posts by apps?

I've found what could be a glaring problem with Facebook, or it could be a misunderstanding on my part (hope it's the latter). I have an app that uses the graph API to post links to friends walls (friends of the user, that is). The problem is that if the friend comments on the post, the user is never notified of it. i.e. Facebook doesn't create a notification for my user that his friend has commented on his post. That's a significant issue if you're trying to build an app that focuses on link sharing! Important: I've checked my notification settings several times, and I have the most liberal settings but still do not get any notifications.
It must be that Facebook treats posts by apps differently. My questions are:
1) Has anyone experienced a similar issue, or is there some way to get these notifications of comments to work?
2) If this is an inherent limitation, is there a way that my app can pick up on comments in response to posts made by my app? I can probably save the post id and regularly check back for comments...but that sucks. A better way would be to subscribe to changes in the post, although it doesn't look like Facebook's real-time updates support this. Maybe I'm answering my own question.
Facebook has acknowledged that this is a bug. The bug report and response by Facebook can be found here. Facebook has assigned it as a Medium priority issue...

Facebook Questions API

Facebook has officially launched its Facebook Questions. Does anyone know if it's possible to add one of the new Facebook "Question" polls through the Graph API? If so, how?
Thank you very much
They just announced this is available on their blog. To get them, issue an HTTP GET request to the USER_ID/questions endpoint with the user_questions or friends_questions permissions.
Update: they also just announced that you can create questions now via the API.
I've searched the http://developer.facebook.com page for poll related search terms and also online. This yielded no notable results.
It's probably worth making a poll with an external website, most I'm sure are compatible with the Open Graph but will not provide the Facebook interface that you expect on Facebook itself.
This has been deprecated as of Grpah 1.0 - https://developers.facebook.com/docs/graph-api/reference/v2.0/question