changed redirect uri
changed redirect uri
changed fb login to token type
uses access token and gets user posts
added dependency on facebook-node-sdk to package.json file
added debug logging
can view /output page without providing the access token. I think facebook visits it just to check legitimacy
ah. the token is in a the url fragment, can't be gotten by us this way. Back to the code method
attempt to get access token by exchanging code
typo
debug logging added
ah, had to properly access the code
now we use the access token to make our request
have to display the data as a string, comes in a json
print stringified json
well it works. json printed to page, then we can do what we want with it I suppose. set max posts gotten to 100k