Hello,

I am having trouble posting Twitter Studio Media from one account to another. I’m able to do this manually, via Twitter Studio on the browser, but I hit an error when doing this via the API.

I am able to successfully upload media to Account A, and am trying to include this media in a Tweet on Account B. I am doing this by making the following request to Account B:

POST /statuses/update
Params:
{
status => “example status”,
media_id => “1234”
}

For media_id above, I am using the id of the video uploaded to Account A.

I’m receiving an “Invalid Media” error in response to this request, with error code 324.

To clarify some details:

  • Account B has full access to Account A’s Twitter Studio Library. It is listed as a “Studio Account Administrator” on the Permissions page. When viewing the video on Account A’s Twitter Studio Library in the browser, I am able to Tweet this video to Account B.
  • The POST request I am making above works fine for media in Account B’s library, it specifically returns this error when I try posting a video from Account A.
  • I believe I was able to do this previously and it has stopped working recently.

I noticed there is a “Sharing” tab in the video’s settings on Twitter Studio, where you can specify accounts to share the video with. If I share the video with Account B from here, I am then able to Tweet the video via the API. Is there any way for me to share videos with Account B by default?

Would appreciate any help with this. Thanks!