{"id":6412,"date":"2020-01-20T18:36:55","date_gmt":"2020-01-20T13:06:55","guid":{"rendered":"https:\/\/magecomp.com\/support\/?post_type=manual_documentation&#038;p=6412"},"modified":"2020-06-09T10:27:40","modified_gmt":"2020-06-09T04:57:40","slug":"generate-access-token-facebook","status":"publish","type":"manual_documentation","link":"https:\/\/magecomp.com\/support\/docs\/magento-2-instagram-integration-pro\/generate-access-token-facebook\/","title":{"rendered":"Generate Access Token from Facebook"},"content":{"rendered":"<p>We have published full details article on our blog about <strong><a href=\"https:\/\/magecomp.com\/blog\/get-instagram-feed-access-token-step-step-guide\/\">How to Get Instagram Feed Access Token -Step by Step Guide (Include Video Step by Step Guide)<\/a><\/strong><\/p>\n<p>Go over to <strong><a href=\"https:\/\/developers.facebook.com\/docs\/apps\">this link<\/a><\/strong> to create Facebook developer account.<img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-6416\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/Annotation-2020-01-20-173948.png\" alt=\"\" width=\"1093\" height=\"392\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/Annotation-2020-01-20-173948.png 1093w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/Annotation-2020-01-20-173948-300x108.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/Annotation-2020-01-20-173948-1024x367.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/Annotation-2020-01-20-173948-768x275.png 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/Annotation-2020-01-20-173948-600x215.png 600w\" sizes=\"(max-width: 1093px) 100vw, 1093px\" \/><\/p>\n<p>Hover over to the top right corner and then click on <strong>See All Apps<\/strong>.<\/p>\n<p>Now click on the registered app if you have one.<\/p>\n<p>If you don&#8217;t see the logo of your Facebook account, then it will ask you to Get Started. Click on that and sign in. Once you sign in you will be asked to create an app. Go on and create the app.<\/p>\n<p>Once the app is created, or you have clicked on the registered app you will see App Dashboard.<\/p>\n<p>Go to <strong>Settings \u2192 Advance \u2192 Business Manager<\/strong>. Assign a business to that will handle the app. Go on to click on <strong>Configure in Business Manager<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-6417\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/Annotation-2020-01-20-174658.png\" alt=\"\" width=\"1047\" height=\"361\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/Annotation-2020-01-20-174658.png 1047w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/Annotation-2020-01-20-174658-300x103.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/Annotation-2020-01-20-174658-1024x353.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/Annotation-2020-01-20-174658-768x265.png 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/Annotation-2020-01-20-174658-600x207.png 600w\" sizes=\"(max-width: 1047px) 100vw, 1047px\" \/><\/p>\n<p>You will be redirected to <strong>Business Settings. <\/strong>From the left side menu click on the <strong>System Users<\/strong>\u00a0 to select user and add assets.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-6430\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_18_38_837Z.png\" alt=\"\" width=\"1199\" height=\"503\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_18_38_837Z.png 1199w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_18_38_837Z-300x126.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_18_38_837Z-1024x430.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_18_38_837Z-768x322.png 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_18_38_837Z-600x252.png 600w\" sizes=\"(max-width: 1199px) 100vw, 1199px\" \/><\/p>\n<p>You will be redirected to Assign Assets Page, on the page section choose any one of the pages, enable the permission to manage the page and click on save.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6432\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_19_49_555Z.png\" alt=\"\" width=\"904\" height=\"525\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_19_49_555Z.png 904w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_19_49_555Z-300x174.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_19_49_555Z-768x446.png 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_19_49_555Z-600x348.png 600w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/p>\n<p>Now, go to Apps and select the eligible app from the list and enable the manage app permission and save the changes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6433\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_20_22_459Z.png\" alt=\"\" width=\"904\" height=\"519\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_20_22_459Z.png 904w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_20_22_459Z-300x172.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_20_22_459Z-768x441.png 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_20_22_459Z-600x344.png 600w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/p>\n<p>When all of this completes successfully, go back to <strong>Business Settings<\/strong>, and click on <strong>Generate New Token\u00a0<\/strong>to generate the access token.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6434\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_20_48_458Z.png\" alt=\"\" width=\"1220\" height=\"457\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_20_48_458Z.png 1220w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_20_48_458Z-300x112.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_20_48_458Z-1024x384.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_20_48_458Z-768x288.png 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_20_48_458Z-600x225.png 600w\" sizes=\"(max-width: 1220px) 100vw, 1220px\" \/><\/p>\n<p>Once you click on <strong>Generate New Token<\/strong>, a new popup will display with a list of apps as dropdown menu. Select the app and click on <strong>Generate Token.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6435\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_21_28_579Z.png\" alt=\"\" width=\"999\" height=\"990\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_21_28_579Z.png 999w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_21_28_579Z-300x297.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_21_28_579Z-150x150.png 150w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_21_28_579Z-768x761.png 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_21_28_579Z-600x595.png 600w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/image_2020_01_20T13_21_28_579Z-100x100.png 100w\" sizes=\"(max-width: 999px) 100vw, 999px\" \/><\/p>\n<p>Again a popup will appear with the access token. Go to <strong>Access Token Debugger<\/strong> page to debug the code to get the permanent <strong>Access Token<\/strong> which expires Never.<\/p>\n<p>You can check the <strong>Access Token<\/strong> <a href=\"https:\/\/developers.facebook.com\/tools\/explorer\/\">Here<\/a>.<\/p>\n<p>Now go back to Configuration page to past the <strong>User<\/strong> <strong>Access Token<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6424\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/1_Configuration.png\" alt=\"\" width=\"1234\" height=\"460\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/1_Configuration.png 1234w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/1_Configuration-300x112.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/1_Configuration-1024x382.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/1_Configuration-768x286.png 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2020\/01\/1_Configuration-600x224.png 600w\" sizes=\"(max-width: 1234px) 100vw, 1234px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2567,"menu_order":3,"template":"","manualdocumentationcategory":[1357],"manual_doc_tag":[],"class_list":["post-6412","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-m2-instagram-integration-pro"],"_links":{"self":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/6412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":5,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/6412\/revisions"}],"predecessor-version":[{"id":8590,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/6412\/revisions\/8590"}],"up":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/2567"}],"wp:attachment":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/media?parent=6412"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manualdocumentationcategory?post=6412"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_doc_tag?post=6412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}