Has the Facebook graph search API been removed in Graph API version 2.0? - facebook

I can use the Facebook Graph API successfully (within my iOS app) for several calls but I'm trying to use it for searching.
I implemented the url after googling and getting many hits, i.e. Does facebook have a public search API yet?.
I can use the search API from a browser and get results, however it doesn't work from within my app.
So I had a look at the Facebook graph API reference https://developers.facebook.com/docs/graph-api/reference/v2.0
and search isn't listed there. Has it therefore been removed?

Be aware that Facebook has just taken down public post search in Graph API v2.0 so you won't be available to do that anymore.
Check https://developers.facebook.com/docs/apps/upgrading under section Graph API "Public post search is no longer available. (/search?type=post&q=foobar)"

Related

Facebook API - Advanced Search

I'm trying to replicate some functionality of the Facebook web interface via the API and am a bit stuck. Basically, via the web site I can enter 'Favorite pages of people named "jim"' in the search box and get a slew of results, but I haven't found a way to replicate this type of query via the API. Is such a thing possible?
As WizKid commented, Graph Search is not available with the API, you can only use the Search API for searching: https://developers.facebook.com/docs/graph-api/using-graph-api/v2.1#search
Keep in mind that public search and news feed search are not available in v2.0 anymore, see changelog: https://developers.facebook.com/docs/apps/changelog

Facebook API to get 'landmark' posts

How would I GET landmarks, like new job/ married/ moved, etc. from the facebook (or any other 3rd party) API??
I'm trying to make a timeline of 'big' moments using facebook, specifically on iOS
I found an answer here stackoverflow.com/questions/12400522/… that lets you use FQL instead of the graph API to send requests and then returns more exact information.
Facebook's FQL reference is here: https://developers.facebook.com/docs/technical-guides/fql/

News Feed via Graph API 'outdated'

On the Graph API documentation, the following is in brackets next to the News Feed endpoint:
this is an outdated view, does not reflect the News Feed on facebook.com
This is a fairly critical method in any app using the Graph API, so what are we supposed to use? Is there a way to obtain a more accurate version of the News Feed with a different API?
I've noticed some differences between what is shown on the website and what is shown through the API but I assumed most of it was down to individual user permissions. Either way this issue is non-trivial and is starting to make regret choosing the Graph API over, say, FQL.
You can use FQL to fetch the news feed. See the documentation under https://developers.facebook.com/docs/reference/fql/stream/
But it seems that the results doesn't differ from the results via the graph api.

How do I publish an activity on facebook using the Graph API

The old Facebook Legacy REST API had a function dashboard.publishActivity, however the new Graph API only allows messages to be posted on /me/feed.
Is there a way to send activities using the Graph API?
As mentioned in http://developers.facebook.com/blog/post/552/ Facebook "have removed the section which displayed the News that developers published via the Dashboard APIs in the Games Dashboard". Therefore the dashboard.publishActivity function no longer provides any useful functionality. My recommendation is to switch to either using stream posts or to Requests 2.0, as these will provide the same sort of distribution that you're looking for.

Accessing Facebook Likes and Interests with the old rest api

In their recent changes, Facebook now links your likes and interests with community and fan pages. How can I retrieve this information using the old rest API and Facebooker. I tried things like this to get the music preferences :
facebook_session.user.music
but I get a blank string instead of the relevant connections. Is it mandatory to use the new Graph API in order to make this work?
I believe this data can only be accessed via the Graph API.