{"action":"created","issue":{"url":"https://api.github.com/repos/watzak/react-native-instagram-share/issues/2","repository_url":"https://api.github.com/repos/watzak/react-native-instagram-share","labels_url":"https://api.github.com/repos/watzak/react-native-instagram-share/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/watzak/react-native-instagram-share/issues/2/comments","events_url":"https://api.github.com/repos/watzak/react-native-instagram-share/issues/2/events","html_url":"https://github.com/watzak/react-native-instagram-share/issues/2","id":131630102,"number":2,"title":"No Media on Instagram","user":{"login":"brainbrain34","id":15840549,"avatar_url":"https://avatars.githubusercontent.com/u/15840549?v=3","gravatar_id":"","url":"https://api.github.com/users/brainbrain34","html_url":"https://github.com/brainbrain34","followers_url":"https://api.github.com/users/brainbrain34/followers","following_url":"https://api.github.com/users/brainbrain34/following{/other_user}","gists_url":"https://api.github.com/users/brainbrain34/gists{/gist_id}","starred_url":"https://api.github.com/users/brainbrain34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainbrain34/subscriptions","organizations_url":"https://api.github.com/users/brainbrain34/orgs","repos_url":"https://api.github.com/users/brainbrain34/repos","events_url":"https://api.github.com/users/brainbrain34/events{/privacy}","received_events_url":"https://api.github.com/users/brainbrain34/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-05T12:23:12Z","updated_at":"2016-05-04T17:56:27Z","closed_at":null,"body":"Hi im trying to pass a video to share on instagram i have the correct link i get it from my camera roll:\r\n\r\n- var video = 'assets-library://asset/asset.MOV?id=231690C4-0DAC-437F-BE98-5C0A0F52F47E&ext=MOV';\r\nvar caption=''test\";\r\n\r\ni have a function to call on press button to go to instagram:\r\n\r\n- Instagram() {\r\n       console.log(video+':'+caption)\r\n       RNInstagramShare.share(video,caption);\r\n    }\r\n\r\nThen when i press with console log the params are ok and goes correctly to instagram, but dont select the video and instagram  show me a message:\r\n\"No Media Photos and videos in your camera roll will appear here\"\r\nif select manually i can share, how i can fix it to get the video i pass to share like on your demo ¿? i tried with images and happens the same.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/15840549/12846185/525ce944-cc0b-11e5-8251-e3f9787e6a0c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/watzak/react-native-instagram-share/issues/comments/216948299","html_url":"https://github.com/watzak/react-native-instagram-share/issues/2#issuecomment-216948299","issue_url":"https://api.github.com/repos/watzak/react-native-instagram-share/issues/2","id":216948299,"user":{"login":"philsippl","id":15144388,"avatar_url":"https://avatars.githubusercontent.com/u/15144388?v=3","gravatar_id":"","url":"https://api.github.com/users/philsippl","html_url":"https://github.com/philsippl","followers_url":"https://api.github.com/users/philsippl/followers","following_url":"https://api.github.com/users/philsippl/following{/other_user}","gists_url":"https://api.github.com/users/philsippl/gists{/gist_id}","starred_url":"https://api.github.com/users/philsippl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philsippl/subscriptions","organizations_url":"https://api.github.com/users/philsippl/orgs","repos_url":"https://api.github.com/users/philsippl/repos","events_url":"https://api.github.com/users/philsippl/events{/privacy}","received_events_url":"https://api.github.com/users/philsippl/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T17:56:27Z","updated_at":"2016-05-04T17:56:27Z","body":"Yeah I made it work for me by changing to following undocumented url scheme: `instagram://library?LocalIdentifier=PHASSET_ID` (http://stackoverflow.com/questions/34226433/instagram-hooks-pre-select-media-issue)\r\nIf you only have a AssetPath like `library://asset/asset.MOV?id=2A2CE6C9-C178-4395-977B-E6F159BF6D5E&ext=MOV`, the PHASSET_ID is simply the id in the url followed by a `/L0/001`. So in this example the correct url for instagram would be: `instagram://library?LocalIdentifier=2A2CE6C9-C178-4395-977B-E6F159BF6D5E/L0/001`. \r\nBoth things are completely undocumented and not officially supported, so this might break in the future, but I really needed a quick workaround."}}