{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/17957","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/17957/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/17957/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/17957/events","html_url":"https://github.com/facebook/react-native/issues/17957","id":296506024,"number":17957,"title":"invariant violation: Native component for RCTFBLoginButton does not exist this error is located at: in RCTFBLoginButton","user":{"login":"VGamezz19","id":14943217,"avatar_url":"https://avatars0.githubusercontent.com/u/14943217?v=4","gravatar_id":"","url":"https://api.github.com/users/VGamezz19","html_url":"https://github.com/VGamezz19","followers_url":"https://api.github.com/users/VGamezz19/followers","following_url":"https://api.github.com/users/VGamezz19/following{/other_user}","gists_url":"https://api.github.com/users/VGamezz19/gists{/gist_id}","starred_url":"https://api.github.com/users/VGamezz19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VGamezz19/subscriptions","organizations_url":"https://api.github.com/users/VGamezz19/orgs","repos_url":"https://api.github.com/users/VGamezz19/repos","events_url":"https://api.github.com/users/VGamezz19/events{/privacy}","received_events_url":"https://api.github.com/users/VGamezz19/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-12T20:02:46Z","updated_at":"2018-02-21T17:10:11Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n  PLEASE DON'T DELETE THIS TEMPLATE UNTIL YOU HAVE READ THE FIRST SECTION.\r\n-->\r\n\r\n### Is this a bug report?\r\n\r\nYes I think this is a real BUG...\r\n\r\n### Have you read the [Contributing Guidelines](https://facebook.github.io/react-native/docs/contributing.html)?\r\n\r\nNO\r\n\r\n### Environment\r\n\r\n    OS:  macOS Sierra 10.13.3\r\n    Node:  ya8.9.4\r\n    Yarn:  1.3.2\r\n    npm:  5.6.0\r\n    Watchman:  4.9.0\r\n    Xcode:  9.2    \r\n    Packages: (wanted => installed)\r\n    react-native: 0.53.0\r\n    react:  16.2.0\r\n    Target Platform: iOS (10.3)\r\n\r\n### Steps to Reproduce\r\n\r\n(Write your steps here:)\r\n\r\n1.  `react-native install react-native-fbsdk`  and then  `react-native link react-native-fbsdk`\r\n\r\n\r\n2. Follow ALL STEPS from [Quickstart IOS](https://developers.facebook.com/quickstarts/) (⚠️  With-out the last STEP, becous the **test of integration** is with the `react-native-fbsdk` package)\r\n\r\n3 . Then I put this code for testing my wonderful SDKLoginFacebook for React-Native.\r\n\r\n```javascript\r\n\r\nimport React from 'react';\r\nimport { StyleSheet, Alert, View } from 'react-native';\r\n\r\nconst FBSDK = require('react-native-fbsdk');\r\nconst {\r\n  LoginButton,\r\n  AccessToken\r\n} = FBSDK;\r\n\r\nexport default class Login extends React.Component {\r\n    render() {\r\n        return (\r\n            <View>\r\n              <LoginButton\r\n                publishPermissions={[\"publish_actions\"]}\r\n                onLoginFinished={\r\n                  (error, result) => {\r\n                    if (error) {\r\n                      alert(\"login has error: \" + result.error);\r\n                    } else if (result.isCancelled) {\r\n                      alert(\"login is cancelled.\");\r\n                    } else {\r\n                      AccessToken.getCurrentAccessToken().then(\r\n                        (data) => {\r\n                          alert(data.accessToken.toString())\r\n                        }\r\n                      )\r\n                    }\r\n                  }\r\n                }\r\n                onLogoutFinished={() => alert(\"logout.\")}/>\r\n            </View>\r\n          );\r\n    }\r\n}\r\n```\r\n3. Ejecute `react-native run-ios`\r\n\r\n4. then, **EXPLOTE** with this error --> `invariant violation: Native component for RCTFBLoginButton does not exist this error is located at: in RCTFBLoginButton at FBLoginButton.js:112`\r\n\r\n### NEED HELP!"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/367398975","html_url":"https://github.com/facebook/react-native/issues/17957#issuecomment-367398975","issue_url":"https://api.github.com/repos/facebook/react-native/issues/17957","id":367398975,"user":{"login":"VGamezz19","id":14943217,"avatar_url":"https://avatars0.githubusercontent.com/u/14943217?v=4","gravatar_id":"","url":"https://api.github.com/users/VGamezz19","html_url":"https://github.com/VGamezz19","followers_url":"https://api.github.com/users/VGamezz19/followers","following_url":"https://api.github.com/users/VGamezz19/following{/other_user}","gists_url":"https://api.github.com/users/VGamezz19/gists{/gist_id}","starred_url":"https://api.github.com/users/VGamezz19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VGamezz19/subscriptions","organizations_url":"https://api.github.com/users/VGamezz19/orgs","repos_url":"https://api.github.com/users/VGamezz19/repos","events_url":"https://api.github.com/users/VGamezz19/events{/privacy}","received_events_url":"https://api.github.com/users/VGamezz19/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T17:10:11Z","updated_at":"2018-02-21T17:10:11Z","author_association":"NONE","body":"@CarlosOrozc  we don't know bro, for that we are here jaja "}}
{"actor":{"display_login":"VGamezz19"}}