Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: This endpoint has been deprecated

My app has is no longer allowing people to post to facebook from it, and it is throwing this error when I try -

"Error: This endpoint has been deprecated. To temporarily enable it, you may disable the "august 2012" platform migration. It will be disabled permanently on August 1, 2012."

I read a couple of other posts from people having the same issue, and attempted to fix it, by disabling August 2012 Breaking Changes. It was already disabled though, and I have been unable to find any other way to fix the problem.

Any idea how to fix it?

like image 653
Eagle11 Avatar asked May 30 '12 14:05

Eagle11


People also ask

What is a deprecated endpoint?

Deprecated basically means giving people advanced noticed that something is about to go away, and in HTTP API land that usually ends up being an endpoint. If global API versions are used, then every endpoint inside that version is deprecated at the same time: /v1/foo and /v1/bar .

Why do Apis get deprecated?

Deprecating an API's version could be because: The API is insecure. The API has too many bugs. The API does not support important use cases.

How do you mark API as deprecated?

Using the @deprecated Javadoc Tag You can use the @deprecated tag to make Javadoc show a program element as deprecated. The @deprecated tag must be followed by a space or newline. In the paragraph following the @deprecated tag, explain why the item has been deprecated and suggest what to use instead.

What does this endpoint has been disabled mean on Roblox?

Disabled means that one or more components is not turned on.


1 Answers

When Facebook make changes to their API, they're offering a migration period of 90 days for the developers to migrate.

But if you haven't migrated after that grace period, you're pretty much screwed.

These are the breaking changes from August 2012:

Disabling FB.Canvas.setAutoResize - Originally scheduled for January 1, 2011 We have renamed FB.Canvas.setAutoResize to FB.Canvas.setAutoGrow so that the method more accurately represents its function. FB.Canvas.setAutoResize will stop working on August 1st. We will completely delete the function on September 5th.

Page Post GETs from Graph API/FQL Will Require an Access Token
All calls to GET Page posts from the Graph API or FQL will now require an access token to be used.

Removing prompt_permissions.php and prompt_feed.php We will be removing a very old version of the feed dialog (/connect/prompt_feed.php) as well as a very old version of the auth dialog (/connect/prompt_permissions(s).php). If you are one of the very few developers still using these legacy endpoints, you should upgrade to the current Feed Dialog and/or OAuth Dialog.

Removing Add To Timeline Plugin
We will be removing the Add to Timeline plugin. If you are embedding the Add to Timeline plugin, we will render the Login Button in its place with the publish_actions permission automatically added to the scope parameter.

I can't tell which change that broke your app (though I'm guessing it's Removing prompt_permissions.php and prompt_feed.php), but you should make sure to update to the latest version of any Facebook framework (i.e. update ShareKit) you're using and/or make sure to use the new Facebook API ASAP.

To avoid similar issues in the future, be sure to watch the roadmap and - even better - follow the developer blog.

like image 183
Kristofer Sommestad Avatar answered Oct 01 '22 03:10

Kristofer Sommestad