-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I try to post via bufferApi, but it was returned "The remote server returned an error: (400) Bad Request."
I do it like this:
` public static void Main(string[] args)
{
var token = _accessToken;
var service = new BufferService(token);
var profileResult = service.GetProfiles();
var allProfiles = profileResult.Result;
var twitterProfiles = allProfiles.Content.Where(x => x.Service == "twitter");
Posting(service, twitterProfiles);
Console.ReadLine();
}
private static async void Posting(BufferService service, IEnumerable<BufferProfile> profile)
{
try
{
var response = await service.PostUpdate("From Buffer", profile.Select(e => e.Id));
Console.WriteLine(response.StatusCode);
}
catch (OperationCanceledException ex)
{
Console.WriteLine(ex.Message);
}
}`
Could you say me, whats going wrong?
Metadata
Metadata
Assignees
Labels
No labels