Get Facebook Message via Api - facebook

Is there any way to get Messages from my private Inbox in Facebook via Api? I dont find anything in the current api documentation ;(
I would bei very gratefull for every hint. Tanks

No, you cannot access your privat inbox with the API anymore. It is only possible to access Page conversations (of course, if you manage the Page): https://developers.facebook.com/docs/graph-api/reference/page/conversations/

Related

How can I find most shared/liked/commented post of a location (country/city) by calling facebook api

I'm looking for a way to find most shared/liked/commented facebook post of a location (country/city) by calling facebook api?
Is this possible to create through the Facebook API? I could not find how to pull information in general that many websites offer.
Any help would be greatl! Thanks
No, there is no direct possibility to do that. You can only get Pages/Places by location (Search API), read their feed (/page-id/feed), go through the posts and calculate on your own.

Account Activity Facebook API

I want to know if it is possible to recover gently from the facebook listta of all users logged in (login) made. Estite an API that returns this list as shown in the figure below?:
thanks for your suppor
As far as I know, this is not part of the Facebook Public API.
You will likely need to simulate a browser request on user's behalf to accomplish that, which could well be violating Facebook's TOS.

How to send private feeds from company's name through facebook API?

I want to send something like feed seen to direct user only (I know the mechanism how to do it), but from something like page. As I've understood only public feeds are accepted for pages. Is there any analog object, that could be associated with my company and that could be an author for private feeds, seen only for direct users?
No, as indicated at https://www.facebook.com/help/352402648173466?in_context, even if you enable settings:
What you can do is narrow the audience by conditions(age, demographic...etc), post feed specify audience by user id is impossible:
My first thougth was send private message as the solution, unfortunately, as indicated at https://www.facebook.com/help/273376269375028/, what you can do is only
send messages to people who've contacted you on your Page
You are able to retrieve a page's feed by querying the following graph endpoint:
https://graph.facebook.com/{group_id}/feed
Please see the following reference: https://developers.facebook.com/docs/reference/api/page/#feed
Posting to a feed requires you to have the access_token for that page, which can be retrieved by calling /me/accounts using the access_token of a user with admin privileges to that page.

Facebook comments subscribe to thread/conversation via API

I am using the new facebook comments module, and I am intersted in subscribing a user to a conversation via the API. I am referring to http://developers.facebook.com/docs/reference/api/Comment/ but this doesnt seem to have an API call for a user to subscribe to a conversation. Any help is much appreciated.
Thanks in advance.
The comment plugin has subscribe options for each item in the thread for the users. That would be the easiest for the user. Their currently isn't a documented API method for this. You could build something yourself manually, and while possible, it will have the problem that you won't be able to notify them very easily like Facebook allows with the red notification api (you would have to resort to emailing them or something similar). You would also need them to authenticate your application and prompt for various extended permissions.

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!