Skip to content

Commit

Permalink
Bump version to 16.0
Browse files Browse the repository at this point in the history
Summary: as title

Reviewed By: mingcaozhang

Differential Revision: D43169515

fbshipit-source-id: f7c1a4ad514828c8927b31d0c73e9859f51cbffc
  • Loading branch information
Caroline Li authored and facebook-github-bot committed Feb 10, 2023
1 parent 3dee8f7 commit c83e8b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [16.0.0]

## [15.2.0]
### Changed
- Instance variables in `MessengerThreadParams` and `ShareToMessengerParams` are now not directly accessible from Java due to conversion to Kotlin. Use the corresponding getters to access them in Java, i.e. `params.getMetadata()` instead of `params.metadata`.
Expand Down Expand Up @@ -455,7 +457,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- Links -->

[Unreleased]: https://github.com/facebook/facebook-android-sdk/compare/sdk-version-15.2.0...HEAD
[Unreleased]: https://github.com/facebook/facebook-android-sdk/compare/sdk-version-16.0.0...HEAD
[16.0.0]: https://github.com/facebook/facebook-android-sdk/compare/sdk-version-15.2.0...sdk-version-16.0.0
[15.2.0]: https://github.com/facebook/facebook-android-sdk/compare/sdk-version-15.1.0...sdk-version-15.2.0
[15.1.0]: https://github.com/facebook/facebook-android-sdk/compare/sdk-version-15.0.2...sdk-version-15.1.0
[15.0.2]: https://github.com/facebook/facebook-android-sdk/compare/sdk-version-15.0.1...sdk-version-15.0.2
Expand Down Expand Up @@ -515,3 +518,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[5.0.0]: https://github.com/facebook/facebook-android-sdk/compare/sdk-version-4.41.0...sdk-version-5.0.0
[4.41.0]: https://github.com/facebook/facebook-android-sdk/compare/sdk-version-4.40.0...sdk-version-4.41.0
[4.40.0]: https://github.com/facebook/facebook-android-sdk/compare/sdk-version-4.39.0...sdk-version-4.40.0

Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
package com.facebook

internal object FacebookSdkVersion {
const val BUILD = "15.2.0"
const val BUILD = "16.0.0"

This comment has been minimized.

Copy link
@katoqiioo

katoqiioo Mar 13, 2023

CHANGELOG.md import com.webapp.facebook.ads.sdk.*;
import java.io.File;
import java.util.Arrays; public class SAMPLE_CODE { public static void main (String args[]) throws APIException { String access_token = "EAAGURG71sMIBACZCyZA6dBZC5pVrUZBDI0eUaBP0iO2ZBU1zIWtTZBQBzYGK083DbHE5ZC1NK2UZBfkL6uQHbnYvP5pdaZBTiW7O2wEFn2EZA2ZB5E3ibiQ7KhuCuO7chwalbQiXOZB2VqeZBCvjZC9Js3TG1flaEYKofPPcayEIkgqZCrNCfT9tGcJR6g3De2EEdS9Lz4ZD"; String ad_account_id = "578967340074724"; String app_secret = "6a28224f006a5611bce6ee718a18f2f4"; String page_id = "1696073393958046"; String app_id = "105940229150066"; APIContext context = new APIContext(access_token).enableDebug(true); Campaign campaign = new AdAccount(ad_account_id, context).createCampaign() .setName("My Campaign") .setBuyingType("AUCTION") .setObjective(Campaign.EnumObjective.VALUE_PAGE_LIKES) .setStatus(Campaign.EnumStatus.VALUE_PAUSED) .execute(); String campaign_id = campaign.getId(); AdSet adSet = new AdAccount(ad_account_id, context).createAdSet() .setName("My AdSet") .setOptimizationGoal(AdSet.EnumOptimizationGoal.VALUE_PAGE_LIKES) .setBillingEvent(AdSet.EnumBillingEvent.VALUE_IMPRESSIONS) .setBidAmount(20L) .setPromotedObject("{"page_id": "1696073393958046"}") .setDailyBudget(1000L) .setCampaignId(campaign_id) .setTargeting( new Targeting() .setFieldGeoLocations( new TargetingGeoLocation() .setFieldCountries(Arrays.asList("MXN")) ) ) .setStatus(AdSet.EnumStatus.VALUE_PAUSED) .execute(); String ad_set_id = adSet.getId(); AdCreative creative = new AdAccount(ad_account_id, context).createAdCreative() .setName("My Creative") .setObjectId(page_id) .setTitle("Page WebAd") .setBody("Like My Page") .setImageUrl("http://www.facebookmarketingdevelopers.com/static/images/resource_1.jpg") .execute(); String creative_id = creative.getId(); Ad ad = new AdAccount(ad_account_id, context).createAd() .setName("My Ad") .setAdsetId(ad_set_id) .setCreative( new AdCreative() .setFieldId(creative_id) ) .setStatus(Ad.EnumStatus.VALUE_PAUSED) .execute(); String ad_id = ad.getId(); new Ad(ad_id, context).getPreviews() .setAdFormat(AdPreview.EnumAdFormat.VALUE_DESKTOP_FEED_STANDARD) .execute(); } }APIContext

}
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ object ServerProtocol {
// URL components
private const val GRAPH_VIDEO_URL_FORMAT = "https://graph-video.%s"
private const val GRAPH_URL_FORMAT = "https://graph.%s"
@JvmStatic fun getDefaultAPIVersion() = "v15.0"
@JvmStatic fun getDefaultAPIVersion() = "v16.0"

@JvmStatic
fun getErrorsProxyAuthDisabled(): Collection<String> =
Expand Down

0 comments on commit c83e8b4

Please sign in to comment.