Facebook Graph API - Force Minimum Version? - facebook

When Facebook depreciated Graph API v1.0 they provided a switch in the application settings to force the application to use Graph API v2.0. This greatly simplified testing of the application before v1.0 was depreciated.
I'm now in the process of updating an application to support a more recent version of the Graph API and would really like to be able to force the application to use a minimum Graph API version for testing purposes but there doesn't seem to be any way to do so.
I have versioned many of my calls so that I can set the Graph API version, but that won't catch problems such as the depreciation of FQL in v2.1.
Does anyone know of an overall way to force a Facebook application to use a minimum Graph API for testing purposes before the current API is depreciated?

I happened upon a solution when I was creating test users for my application.
Facebook has added an API Version to Install setting that is shown if you select Yes for Authorize Test Users for This App?
I hope someone else in the same situation finds this useful.

Related

Facebook Ads SDK for .net core that use Facebook Marketing api v5.0

I tried to find Facebook Ads sdk for .net core, but i find only skds that use deprecated version of Facebook Marketing api, and for this reason not working. Anyone know a updated sdk?
Thanks.
As far as I know, there is no updated SDK. Just use a HTTPClient and consume Rest endpoints with GET and POST requests. It's very easy to use.
Starts with the official documentation and look for the cURL examples to see how you need to construct your queries.

Can I specify different Graph Api version in the Facebook Login Url?

I am using Graph API version 3.1 for my Facebook application. I want to change it to Graph API version 3.3. But before upgrading the API version, I want to test whether it will work correctly or not. I don't want to upgrade the API version in the Facebook developers website.
Can I specify v3.3 in the URL directly without changing the default Graph API version in the app settings?

Facebook API version detection

We recently received this alert from Facebook on our Unity App.
Your app has been making recent API calls to Graph API v2.0, which will reach the end of the 2-year deprecation window on Monday, August 8, 2016. Please migrate all calls to v2.1 or higher in order to avoid potential broken experiences.
The SDK version is 6.2.2 which should be on API 2.2 - 2.4.
These are the APIs/Properties I'm using:
FB.Init(OnFbInit, OnHideUnity);
FB.API("/me?fields=name", Facebook.HttpMethod.GET,GotFBData);
FB.IsLoggedIn;
FB.UserId
FB.AccessToken
FB.Login
Why is Facebook saying we are using API 2.0? Is it safe to ignore?
I don't think it's the /me?fields=name call there is probably another call you are using in some legacy code perhaps. Consider using API Upgrade Tool you can find out more information about it at https://developers.facebook.com/docs/graph-api/advanced/api-upgrade-tool/
Just recently one dude found an answer to this. Looks like Facebook has a bug where it mistakenly assumes an app is using v2.0. Nevertheless, I think it won't hurt to check if an app is properly updated.
Facebook Developer Bug page
Unity Answers URL

Codename One - Facebook Marketing API

I was looking for a way to integrate my CodenameOne app with Facebook. Particularly to collect data aimed to improve the adds shown on Facebook to users who have, for example, installed the app. What I found for integration with Facebook on CN1 is (mainly) this https://www.codenameone.com/javadoc/com/codename1/social/FacebookConnect.html
This seems useful for publishing photos or posts to Facebook as a user, but not for gathering data as I need it. Is there a way to access this part of the Facebook SDK in CN1? If there isnĀ“t is this planned for the future?
The connect API is designed for authorization and authentication which need to be native. From that point on you can use the token against the standard Facebook Graph API.
I'm not really familiar with the marketing API but does it require functionality from the native SDK which isn't available in the current SDK?

Is it still possible to register my FB application to use Facebook REST API that is marked as deprecated?

Is it possible to register my FB application to use Facebook REST API?
Or is it possible to authenticate in facebook mobile app with no redirection?
You do not need to register an app with a particular API - just go ahead and use it, the instructions are all there. However, Facebook recommends that you do not use the REST API as it is no longer being supported or updated. Use the Graph API and/or FQL - these are under active development and they're what most of the development community use.
Regarding the mobile app issue, could you give a little more detail? The OS and SDK you're using, for example?