{"id":28383732,"url":"https://github.com/pierrecapo/react-native-image-to-socials","last_synced_at":"2026-01-29T15:32:56.843Z","repository":{"id":267471236,"uuid":"901353572","full_name":"PierreCapo/react-native-image-to-socials","owner":"PierreCapo","description":"Share images to social networks","archived":false,"fork":false,"pushed_at":"2024-12-30T11:46:24.000Z","size":3057,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T15:04:25.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PierreCapo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-10T13:59:58.000Z","updated_at":"2024-12-30T11:46:28.000Z","dependencies_parsed_at":"2025-06-25T22:31:45.117Z","dependency_job_id":"43c313c5-fd37-40dd-a714-60f2ae43ff83","html_url":"https://github.com/PierreCapo/react-native-image-to-socials","commit_stats":null,"previous_names":["pierrecapo/react-native-image-to-socials"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PierreCapo/react-native-image-to-socials","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreCapo%2Freact-native-image-to-socials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreCapo%2Freact-native-image-to-socials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreCapo%2Freact-native-image-to-socials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreCapo%2Freact-native-image-to-socials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PierreCapo","download_url":"https://codeload.github.com/PierreCapo/react-native-image-to-socials/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreCapo%2Freact-native-image-to-socials/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28880237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-30T07:12:04.862Z","updated_at":"2026-01-29T15:32:56.838Z","avatar_url":"https://github.com/PierreCapo.png","language":"Objective-C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-image-to-socials\n\nWIP\nShare images to social networks.\nNew architecture only.\nWorks on iOS only. Support for Android incoming.\n\n## Installation\n\n```sh\nnpm install react-native-image-to-socials\n```\n\n### iOS\n1) In your Info.plist ensures that Instagram is authorized\n```XML\n\u003ckey\u003eLSApplicationQueriesSchemes\u003c/key\u003e\n  \u003carray\u003e\n    \u003cstring\u003einstagram\u003c/string\u003e\n    \u003cstring\u003einstagram-stories\u003c/string\u003e\n  \u003c/array\u003e\n```\n\n2) In your Info.plist ensures that NSPhotoLibraryUsageDescription is set up.\nIt is used because the function `shareToInstagram` needs to save the image in the Photo Library before being able to forward it to Instagram.\n\n```XML\n\u003ckey\u003eNSPhotoLibraryUsageDescription\u003c/key\u003e\n\u003cstring\u003eDescription string\u003c/string\u003e\n```\n\n## Usage\n\n### shareToInstagram(imageUri: string)\n\n```js\nimport { shareToInstagram } from 'react-native-image-to-socials';\n\n// This opens directly instagram and prompt to use it either as a\n// imageUri is local. Check example/App.tsx as an example.\nawait shareToInstagram(imageUri);\n```\n\u003cimg src=\"./docs/shareToInstagram.jpeg\" alt=\"drawing\" style=\"width:200px;\"/\u003e\n\n### shareToInstagramStory(appId: string, imageUri: string, backgroundImageUri?: string)\n\n\n```js\nimport { shareToInstagramStory } from 'react-native-image-to-socials';\n\n// imageUri is local. Check example/App.tsx as an example.\n\n// your appId found in Meta. This opens directly a story post\nawait shareToInstagramStory(appId, imageUri);\n```\n\n\u003cimg src=\"./docs/shareToInstagramStory.jpeg\" alt=\"drawing\" style=\"width:200px;\"/\u003e\n\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n\n---\n\nMade with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierrecapo%2Freact-native-image-to-socials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierrecapo%2Freact-native-image-to-socials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierrecapo%2Freact-native-image-to-socials/lists"}