Click or drag to resize
IKomfoProviderRemoveFacebookIdsFromCustomAudienceAsync Method
Removes Facebook IDs from the custom audience asynchronously.

Namespace: KomfoSharp.Provider
Assembly: KomfoSharp (in KomfoSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Task<int> RemoveFacebookIdsFromCustomAudienceAsync(
	string accessToken,
	string customAudienceId,
	IEnumerable<string> facebookIds,
	IEnumerable<string> facebookAppIds
)

Parameters

accessToken
Type: SystemString
The access token.
customAudienceId
Type: SystemString
The custom audience identifier.
facebookIds
Type: System.Collections.GenericIEnumerableString
The Facebook IDs.
facebookAppIds
Type: System.Collections.GenericIEnumerableString
The Facebook application IDs (for determining the scope of facebookIds).

Return Value

Type: TaskInt32
The number of Facebook IDs requested to be removed from the custom audience.
Examples
var entriesReceived = await komfoProvider.RemoveFacebookIdsFromCustomAudienceAsync(
  "<your_access_token>", customAudienceId, new[] { "145452788993", "882937633", "9921392364" }, new[] { "9923273766736" });

Console.WriteLine("Entries received: {0}", entriesReceived);
See Also