Can i read private messages with the Facebook API? - facebook

I'm trying to develop a web app that would read your entire messages history on facebook/messenger and give you insight about the conversations.
My question is: Is it possible ? Can i read the messages that are not destined to me via the API ?
I searched through the documentation but didn't find anything

I disagree, it looks like Graph version 3.0 has the API: https://developers.facebook.com/docs/graph-api/reference/v3.0/user/inbox

https://developers.facebook.com/docs/graph-api/reference/v2.10/user/inbox
This document refers to a feature that was removed after Graph API v2.4.
In other words, there is no way to access the user messages (anymore).

Related

What choose Instagram Graph API or old API

I wonder if it is possible to use a new Instagram Graph API only for hobby purpose(small java application). The main aim is to process only user's data that is currently log in on instagram(not other's user data). Generally I'm a beginner on this field and I try to determine my chances for writing this kind of application, because I've read that sometimes it is hard to get permission to API from facebook, so maybe somebody know how it works in practice?
From what I can tell on the docs site, the Graph API is only used if you're making something for Business Accounts. The docs say that if making something for non-business users, to use the old API.
Reference here: https://developers.facebook.com/docs/instagram-api
I personaly suggest you to use new graph API, because older API support may be disabled in future and might be deprecated in future.
Moreover, Facebook does not give permission easily but you give proper & exact content if allows you and provide great support.

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/

Access user's event invitations

I am developing an application which would allow a user to better manage their events. However, after reading Facebook's Graph API, FQL and Legacy REST API documentations I did not find a way to obtain the events to which a user has been invited but not yet responded.
Is there any possible way to achieve that?
For some reason this is not covered in the Facebook API docs, but doing a query on the /me/events/not_replied graph path does the trick.
/me/events/{declined|maybe|attending} also work as filters on the /me/events path and pretty much explain themselves. Interestingly enough those three are included in the default /me/events but the events from /me/events/not_replied are not.

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

Using both Facebook Graph API and Old Rest API? Please help!

I am developing a Facebook application that will use Facebook events.
I want to be able to create and edit event as well as invite users friends to the event.
I prefer to use the new Graph API to handle all connections with Facebook and I many ways I am able too, but, the Graph API cannot send invites.
I saw that the Old Rest API got far more ways to interact with Facebook so I tried to use both systems on the same time but when I send the Access token that I have created with the Graph API a long with a call to the old API it says "Invalid OAuth 2.0 Access Token".
My question is, is there a way to convert the new Graph API access token to be used with the old rest API? Is there perhaps another way to get both systems to work in the same application?
Please help! All input are welcome.
I´d recommend against the old REST api. Support will be canceled sooner or later and then you will have to port to graph api anyway.
To send invites to your app you can use fbml/xfbml. try the http://developers.facebook.com/docs/reference/fbml/multi-friend-selector togehter with the JavaScript SDK as described here: http://www.takwing.idv.hk/tech/fb_dev/jssdk/learning_jssdk_11.html
good luck!