I am implementing the update of direct message settings within the Tweetinvi library for .NET developers.
I have been reading the announcement post API Updates for Direct Messages Rules and therefore concluded that I should be able to perform the following webrequest.
When I do so, Twitter returns the code 87 and the message “Client is not permitted to perform this action”.
I have ensured that the application permissions contains both “Read, Write and Access direct messages” as mentioned in the post.
I can successfully retrieve the value of the settings form the GET endpoint, but the POST endpoint refuses to update the allow_dms_from.
Please give us more information to successfully implement this feature.