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
feat(android, iOS)!: require appId for instagram stories to meet new Meta requirement #1305
feat(android, iOS)!: require appId for instagram stories to meet new Meta requirement #1305
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for posting this! Seems reasonable, just a question about failing fast for both platforms
android/src/main/java/cl/json/social/InstagramStoriesShare.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it! Fail fast. We'll have to do a major release on this since it will break existing code, but that is totally justified + okay to do
@MateusAndrade this looks good to me - I put a @rickafds --> 🏆 ! Thank you for the contribution |
@rickafds Thank you for contributing! |
… requirement (#1305) * feat(android): support added for instagram source application * feat(ios): support added for instagram source application * feat(android): valid error in the javascript BREAKING CHANGE: require appId according to Meta updates
# [8.0.0](v7.9.1...v8.0.0) (2022-11-03) ### Features * **instagram:** require appId for instagram stories to meet new Meta requirement ([#1305](#1305)) ([20b270b](20b270b)) ### BREAKING CHANGES * **instagram:** require appId according to Meta updates
I forgot to merge this with the breaking change pattern, so I did an Btw, thanks for the amazing work @rickafds! 🚀 🚀 🚀 |
# [8.0.0](react-native-share/react-native-share@v7.9.1...v8.0.0) (2022-11-03) ### Features * **instagram:** require appId for instagram stories to meet new Meta requirement ([#1305](react-native-share/react-native-share#1305)) ([20b270b](react-native-share/react-native-share@20b270b)) ### BREAKING CHANGES * **instagram:** require appId according to Meta updates
@@ -74,6 +74,7 @@ interface BaseSocialStoriesShareSingleOptions extends Omit<BaseShareSingleOption | |||
|
|||
export interface InstagramStoriesShareSingleOptions extends BaseSocialStoriesShareSingleOptions { | |||
social: Social.InstagramStories; | |||
appId: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can somebody add more info here? What appId? Should this be the Facebook App Id? Or the AppStore app id?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to Facebook's docs on sharing to Instagram stories, the id is the Facebook app id.
Overview
Implemented #1304
Test Plan
https://developers.facebook.com/blog/post/2022/10/10/introducing-important-update-to-Instagram-sharing-to-stories/
https://developers.facebook.com/docs/instagram/sharing-to-stories/