Open DorYos opened 2 years ago
Since unauthorized calls are only allowed to see Posts with the Status Publish (which is the default) you'll need to tell the Query that it should send auth headers:
var postsTask = await client.Posts.QueryAsync(queryBuilder, true);
Post ID: 1859 is scheduled.
When I try to run this code:
var poststatus = await client.PostStatuses.GetByIDAsync(1859);
I get an error:
"Invalid status"
Also when I try to use this code:
I get the following Exception error: Invalid parameter(s): status