Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot share a video on Facebook or Instagram stories. Suggestions? #143

Open
carrasc0 opened this issue Oct 15, 2023 · 1 comment
Open

Comments

@carrasc0
Copy link

No description provided.

@arttartkhai
Copy link

arttartkhai commented Jan 5, 2024

I found similar issue. Not sure whether it's the same as yours or not. My video isn't display in Instagram.

TO FIX THIS
For my case, the reason was I didn't send backgroundResourcePath argument.
backgroundResourcePath mustn't be null so that the library will send the correct MEDIA_TYPE which is "video/*"

More information:
Video can only be set Background Layer (ref. https://developers.facebook.com/docs/instagram/sharing-to-stories)

ex.
await SocialShare.shareInstagramStory( imagePath: imagePath!, appId: '123', backgroundResourcePath: imagePath, );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants