Created
June 17, 2019 18:56
-
-
Save tradingbills/ff2802d75ab5fd4972d02cd9d497cd29 to your computer and use it in GitHub Desktop.
fb newsfeed post a share
This file contains 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
// win10/_exer/_playground/queryString/index.js | |
const queryString = require('query-string'); | |
const ef1059 = "https://graph.facebook.com/oauth/authorize?client_id=<client_id>&scope=read_insights,manage_pages,publish_pages,user_posts,publish_actions,publish_to_groups&redirect_uri=https://ui.benchmarkemail.com/FacebookAuthorize" | |
const myQs = ef1059.split('?'); | |
console.log(queryString.parse(myQs[1], {arrayFormat: 'comma'})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment