Replacement for deprecated event handling in Graph API - facebook

I have a hyper-critical Facebook app (for our organization) that used Graph API v1.0 to read and post events for our [closed] Facebook group. Now that Graph v1.0 is deprecated and event support is "no longer supported" for Graph v2.0 it has literally killed our ability to use this app - or Facebook itself for our social media needs.
Are there any other or "replacement" APIs that would allow my app to post events - even if it is just into one, single, controlled group?

This isn't a great solution, but the 1.0 API will be available through April 2015. You could downgrade to the old API until then - certainly not a good long term plan, but it could give you time to find another option

Related

Instagram API deprecation 2020

I'm building an app that has the user log in through instagram, it then reads their feed and uses that information for the app. Instagram has a page that says their API's will be deprecated in 2020 but some things will still work. It's not straightforward as to what is being deprecated and what isn't, and I have not found any way to contact them directly. Does anyone know if the following URL will continue working, and if not if this type of app will even be viable in the future? Why is IG and Facebook becoming much more closed platforms to 3rd party integrations?
https://api.instagram.com/v1/users/self/media/recent/
Deprecation notice:
https://www.instagram.com/developer/
The legacy Instagram API - https://www.instagram.com/developer/ will be deprecated in favor of Instagram Graph API provided by Facebook - https://developers.facebook.com/docs/instagram-api
In order to use https://api.instagram.com/v1/users/self/media/recent/ this endpoint you need Basic permission. As documentation says, it will be deprecated in early 2020, which means that the legacy API will be most probably shut down, since there will be no more capabilities to request for.
You should most definitely start building your app with Graph API. Please keep in mind that it takes some time before you can go live with your app. It requires couple of things like Business Verification, review of requested permissions in App review and it can take some time to be able to go live.
Please keep in mind that the Graph API works only for Instagram Business type of accounts. You can't use it for regular accounts at the moment. It is not clear yet if it will be available for all accounts, but most probably it will be in the future. It was the same as with deprecating Public Content permission on Instagram legacy API. They added similar functionality in Graph API.
If you plan to support all users, you will also have to apply for Basic capability in legacy API. In other words, you need to support both Instagram API and Instagram Graph API if you plan to target all Instagram users, both regulars and Business profiles.
Another thing to keep in mind is that you can't really report bugs or get any help from legacy Instagram API. If you will find the bug you can't report it as they do not accept it due to deprecation.
So start building with Instagram Graph API, once you will be good to go, try to add Instagram legacy API support. If everything will be fine and Facebook will add support for legacy accounts, your Graph API should easily take over Instagram legacy API functionality.
Most probably the reason why they are tightening the integrations and makes it harder for the developers is user privacy. They do not want to have yet another incident like Cambridge Analytica for instance.
It does not make sense to build something with the old API, that old API URL will definitely stop working (with all the old api.instagram.com endpoints). There is a new API though: https://developers.facebook.com/products/instagram/

Is it possible to publish Events to Facebook via the SDKs or API still? [duplicate]

I have gotten the access token with the correct permissions to manage events etc. However, the following:
https://graph.facebook.com/{pageID}/events?access_token=xxxx&name%3Dtest%26description%3Dtest%2520description
(I have not included the credentials here)
Upon testing the above does not create a name value or description for the event - the page just returns a blank data object.
Is it possible to create some test data for an event through the browser address bar and if so what is the correct syntax?
As per Facebook's documentation in: https://developers.facebook.com/docs/graph-api/reference/v2.0/event#publish
Publishing
You cannot create events via the Graph API.
Use Facebook SDK instead: https://developers.facebook.com/docs/javascript/reference/FB.api
I spent a long time battling this too.
TL;DR - graph v1.0 allows event creation, graph v2.0 does not.
Facebook Graph API 1.0 "events" allows you to create events (all CRUD actions) and is fully described in the docs. Graph version 2.0 does not allow you to CRUD event data. This is where the other answer came from.
Graph version 1.0 will be depricated April 30, 2015 (official changelog).

Is api.facebook.com here to stay or will it be deprecated along with Graph API v1.0?

I am working on a project that requires getting the number of Likes and Shares of various links.
This can be done either by calling api.facebook.com or Graph API v1.0 in the public with no app and token required at all.
http://api.facebook.com/restserver.php?method=links.getStats&urls=http://www.example.com/
http://graph.facebook.com/http://www.example.com/
However, Facebook has started deprecating apps using Graph API v1.0, and their Platform Upgrade Guide makes no mention of api.facebook.com which predates Graph API v1.0.
Developers should expect apps calling API v1.0 to be migrated at any time after April 30th, 2015. The migration will roll out to all apps over the course of a few weeks.
Should I expect api.facebook.com to be deprecated along with Graph API v1.0, or will it be another sharer.php and be kept indefinitely?
It's announced as deprecated since a long time ago. Probably nobody will be able to tell you WHEN or IF Facebook will shut it down. But assume that this can happen anytime.
So, if you don't want to have your app suddenly break, then you should migrate to Graph API v2.3.
Have a look at
Migrating Facebook API for URL share count from v1.0 to v2.0+
So, apparantly the api.facebook.com server is regarded as v2.0, which is no longer available as of August 7th, 2016. All methods on api.facebook.com now return the REST API is deprecated for versions v2.1 and higher (12) error message.

Creating Facebook Event - Graph API

I have gotten the access token with the correct permissions to manage events etc. However, the following:
https://graph.facebook.com/{pageID}/events?access_token=xxxx&name%3Dtest%26description%3Dtest%2520description
(I have not included the credentials here)
Upon testing the above does not create a name value or description for the event - the page just returns a blank data object.
Is it possible to create some test data for an event through the browser address bar and if so what is the correct syntax?
As per Facebook's documentation in: https://developers.facebook.com/docs/graph-api/reference/v2.0/event#publish
Publishing
You cannot create events via the Graph API.
Use Facebook SDK instead: https://developers.facebook.com/docs/javascript/reference/FB.api
I spent a long time battling this too.
TL;DR - graph v1.0 allows event creation, graph v2.0 does not.
Facebook Graph API 1.0 "events" allows you to create events (all CRUD actions) and is fully described in the docs. Graph version 2.0 does not allow you to CRUD event data. This is where the other answer came from.
Graph version 1.0 will be depricated April 30, 2015 (official changelog).

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.