This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function App() { | |
const [nickname, setNickname] = useState(""); | |
const [email, setEmail] = useState(""); | |
const [joined, setJoined] = useState(false); | |
const [msg, setMsg] = useState(""); | |
const [messages, setMessages] = useState({}); | |
const chatRoom = db.ref().child('chatrooms').child('global'); | |
useEffect(() => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
1: | |
Install node: http://nodejs.org/download/ | |
2: | |
Get an access token from Instagram for the user: https://instagram.com/developer/authentication/ | |
3: | |
Open terminal, cd into the directory where followers.js is. | |
eg: |