{"id":1978,"date":"2014-12-28T03:47:30","date_gmt":"2014-12-28T03:47:30","guid":{"rendered":"https:\/\/docs.wpgeodirectory.com\/?p=1978"},"modified":"2018-09-24T08:09:10","modified_gmt":"2018-09-24T08:09:10","slug":"social-importer-addon","status":"publish","type":"post","link":"https:\/\/wpgeodirectory.com\/docs\/social-importer-addon\/","title":{"rendered":"Social Importer Addon"},"content":{"rendered":"<p><span style=\"BACKGROUND: red;\n    padding: 10px;\n    display: block;\n    color: white;\n    font-weight: bold;\n    border-radius: 4px;\" >IMPORTANT: Facebook requires that all apps be submitted to <a style=\"color: white !important;\n    text-decoration: underline;\" href=\"https:\/\/developers.facebook.com\/docs\/apps\/review\" rel=\"noopener\" target=\"_blank\">Facebook for review (link)<\/a>. Facebook review is very slow, and so far we are not aware of any Social Importer apps having received approval for the permissions required.<br \/>\n<a  style=\"color: white !important;\n    text-decoration: underline;\" href=\"https:\/\/wpgeodirectory.com\/support\/topic\/social-importer-for-fb-fb-api-access-issue\/#post-426211\" rel=\"noopener\" target=\"_blank\"> See this forum topic for more information.<\/a><\/span><\/p>\n<p><a class=\"cnt1\" href=\"#intro\">Introduction<\/a><br \/>\n<a class=\"cnt1\" href=\"#installation\">Installation &#038; Translation<\/a><br \/>\n<a class=\"cnt1\" href=\"#setupfb\">Facebook Setup<\/a> <a class=\"cnt2\" href=\"#201803\">Update March 2018<\/a> <a class=\"cnt2\" href=\"#posting\">Posting to FB<\/a><br \/>\n<a class=\"cnt1\" href=\"#yelp\">Yelp Setup<\/a><\/p>\n<h3><a id=\"intro\"><\/a>\u00a0Introduction<\/h3>\n<p>The <a href=\"https:\/\/wpgeodirectory.com\/addons\/social-importer\/\">Social Importer Addon<\/a> allows your listing owners to import their business or event information from Facebook, or their business information from Yelp. Users who visit your site&#8217;s frontend Add-Listing page can enter the URL in the dedicated field  and then click <em><strong>Import<\/strong><\/em> to bring their details into the form. Once your GD site is connected to your FB app, you can also choose a FB page where new GD listings will be posted.<\/p>\n<p>Once set up, an extra field will be added to the <em><strong>Add listing<\/strong><\/em> forms:<\/p>\n<p><img class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social1.png\" alt=\"\" \/><\/p>\n<h3><a id=\"installation\"><\/a>Installation<\/h3>\n<ul>\n<li>Adding the Social Importer Addon to your site is done in the usual way, see<a href=\"\/docs\/installing-addons\/\"> Installing Addons<\/a>.<\/li>\n<li>&#8220;Social Importer&#8221; will be added to your GD menu once the Addon is activated<\/li>\n<\/ul>\n<p><img class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social2.png\" alt=\"\" \/><\/p>\n<h3><a id=\"setupfb\"><\/a>Setup Facebook<\/h3>\n<h4><a id=\"facebook\"><\/a>Facebook:<\/h4>\n<ol>\n<li>Login to your <a href=\"https:\/\/developers.facebook.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Facebook developer account<\/a>.<\/li>\n<li>Go to<em><strong> My\u00a0Apps<\/strong><\/em> &gt; <em><em><strong>Add a New App<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social16.png\" alt=\"\" width=\"250\" height=\"129\" \/><\/strong><\/em><\/em><\/li>\n<li>On the next screen, add a <em><strong>Display Name<\/strong><\/em> and your <em><strong>email<\/strong><\/em>, and then click <em><strong>Create App ID:<\/strong><\/em><br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social17-1.png\" alt=\"\" width=\"707\" height=\"295\" \/><\/li>\n<li>Next select <em><strong>Facebook Login\u00a0<\/strong><\/em>(<i class=\"fa fa-lightbulb-o fa-2x\" style=\"color: green;\"><\/i> earlier app versions automatically added Facebook Login, so it may already be set up as per image in step 10):<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social18.png\" alt=\"\" width=\"606\" height=\"335\" \/><\/li>\n<li>Choose\u00a0<em><strong>Website:<\/strong><\/em><br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social19.png\" alt=\"\" width=\"812\" height=\"248\" \/><\/li>\n<li>On the next screen, all you have to enter is your <em><strong>site URL<\/strong><\/em>, exactly as it is at <em><strong>WP Settings &gt; General &gt;\u00a0WordPress Address (URL)<\/strong><\/em>:<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social20.png\" alt=\"\" width=\"414\" height=\"372\" \/><\/li>\n<li>Under <em><strong>Settings<\/strong><\/em> &gt; <em><strong>Basic<\/strong><\/em>,\u00a0enter your website <em><strong>domain<\/strong><\/em> (not URL or web address), example: <strong>mysite.com<br \/>\n<\/strong><em><strong> <img class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social8.png\" alt=\"\" \/><br \/>\n<\/strong><\/em><\/li>\n<li>Click<em><strong> Save Changes<\/strong><\/em>.<\/li>\n<li>Go to <strong>Products &gt; Facebook<\/strong> <strong>Login<\/strong> (if it is not listed then add it under products):<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social21.png\" alt=\"\" width=\"282\" height=\"163\" \/><\/li>\n<li>You need to enter your\u00a0<em><strong>OAuth redirect URI<\/strong><\/em>, which you can find at <em><strong>GD &gt; Social Importer &gt; Facebook &gt; OAuth redirect URI<\/strong><\/em>:<br \/>\nThe exact\u00a0URL\u00a0should be in the format:\u00a0<strong>https:\/\/<\/strong>my-website.com<strong>\/admin.php?page=geodirectory&amp;tab=facebook_integration<\/strong><br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social22.png\" alt=\"\" width=\"761\" height=\"340\" \/><\/li>\n<li>You may already have other <em><strong>URI<\/strong><\/em>s there and this\u00a0<em><strong>URI<\/strong><\/em> should be in addition, make sure you get the URI exactly right, if you use www. and your site does not use it then it will fail.<\/li>\n<li>Make sure on that page that\u00a0<em><strong>Web OAuth Login<\/strong><\/em> is set to <strong><strong><em>Yes<\/em>:<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social23.png\" alt=\"\" width=\"683\" height=\"371\" \/><\/strong><\/strong><\/li>\n<li>Open your website in another tab or window and navigate to <em><strong>GeoDirectory<\/strong><\/em> &gt; <em><strong>Social Importer<\/strong><\/em> &gt; <em><strong>Facebook<\/strong><\/em>.<\/li>\n<li>Copy and paste the <em><strong>Facebook App ID<\/strong><\/em> and <em><strong>Facebook App Secret<\/strong><\/em> from Facebook to your site.<\/li>\n<li><em><strong>Save<\/strong><\/em>\u00a0first and then click <em><strong>Connect Your App<\/strong><\/em>.<\/li>\n<li>This will open a window like this, ignore everything, and just click <em><strong>Continue<\/strong><\/em>:<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social9.png\" alt=\"\" width=\"602\" height=\"601\" \/><\/li>\n<li>In the next screen, again ignore everything and click<em><strong> OK<\/strong><\/em>:<br \/>\n<img class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social101.png\" alt=\"\" \/><\/li>\n<li>In the next screen, again\u00a0ignore everything and click<em><strong> OK<\/strong><\/em>:<br \/>\n<img class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social11.png\" alt=\"\" \/><\/li>\n<li>Once finished, your Facebook settings should look like this:<img class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social3.png\" alt=\"\" \/><\/li>\n<li>Now click <em><strong>Save changes<\/strong><\/em>.<\/li>\n<li>That should connect the Facebook app and your site, and you should see the expiry date of your token:<br \/>\n<img class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social12.png\" alt=\"\" \/><\/li>\n<\/ol>\n<h3><a id=\"201803\"><\/a>Facebook App settings March 2018<\/h3>\n<h4>FB APP Basic Settings<\/h4>\n<p><a href=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/1-Facebook-App-Basic-Settings.png\"><img loading=\"lazy\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/1-Facebook-App-Basic-Settings.png\" alt=\"\" width=\"1366\" height=\"768\" class=\"alignnone size-full wp-image-23653\" srcset=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/1-Facebook-App-Basic-Settings.png 1366w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/1-Facebook-App-Basic-Settings-300x169.png 300w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/1-Facebook-App-Basic-Settings-768x432.png 768w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/1-Facebook-App-Basic-Settings-1024x576.png 1024w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<h4>FB APP Advanced Settings<\/h4>\n<p><a href=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/2-Facebook-App-Advanced-Settings.png\"><img loading=\"lazy\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/2-Facebook-App-Advanced-Settings.png\" alt=\"\" width=\"1354\" height=\"2146\" class=\"alignnone size-full wp-image-23655\" srcset=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/2-Facebook-App-Advanced-Settings.png 1354w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/2-Facebook-App-Advanced-Settings-189x300.png 189w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/2-Facebook-App-Advanced-Settings-768x1217.png 768w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/2-Facebook-App-Advanced-Settings-646x1024.png 646w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<h4>FB APP &#8211; FB LOGIN Settings<\/h4>\n<p><a href=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/3-Facebook-Login-Settings-Client-OAuth-Settings.png\"><img loading=\"lazy\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/3-Facebook-Login-Settings-Client-OAuth-Settings.png\" alt=\"\" width=\"1366\" height=\"768\" class=\"alignnone size-full wp-image-23652\" srcset=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/3-Facebook-Login-Settings-Client-OAuth-Settings.png 1366w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/3-Facebook-Login-Settings-Client-OAuth-Settings-300x169.png 300w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/3-Facebook-Login-Settings-Client-OAuth-Settings-768x432.png 768w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/3-Facebook-Login-Settings-Client-OAuth-Settings-1024x576.png 1024w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<h3><a id=\"posting\"><\/a>Posting GeoDirectory listings to your Facebook page<\/h3>\n<p>Once your GD site is connected to your FB app, a list of pages you manage will be available for the <em><strong>Post to page<\/strong><\/em> settings.<\/p>\n<p>Select the Facebook Page where new GD listings will be posted and <em><strong>Save<\/strong><\/em>.<\/p>\n<p><img class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social4.png\" alt=\"\" \/><\/p>\n<h3><a id=\"yelp\"><\/a>Yelp Setup<\/h3>\n<ol>\n<li>Create a <em><strong>Yelp<\/strong><\/em> account and then login to your <a href=\"https:\/\/www.yelp.co.uk\/developers\/\" target=\"_blank\" rel=\"noopener noreferrer\">Yelp developer account<\/a>\u00a0and select <em><strong>Yelp Fusion<\/strong><\/em>.<\/li>\n<li>Then click on <em><strong>Manage App<\/strong><\/em> and you will get the <em><strong>Create\u00a0New App<\/strong><\/em> screen:<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social13.png\" alt=\"\" width=\"688\" height=\"176\" \/><\/li>\n<li>After filling in the form, click on <em><strong>Create\u00a0New App<\/strong><\/em>\u00a0and your <em><strong>Client ID<\/strong><\/em> will be ready:<br \/>\n<img class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social24.png\" alt=\"\" \/><\/li>\n<li>Enter the details\u00a0at <em><strong>GD &gt; Social Importer &gt; Yelp tab &gt; App\u00a0ID<\/strong><\/em><em><strong>:<\/strong><\/em><br \/>\n<img class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2014\/12\/social25.png\" alt=\"\" \/><\/li>\n<li>Click <em><strong>Save Changes.<\/strong><\/em><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The Social Importer Addon allows your users to import their business or event details from Facebook by simply entering the Facebook page or event URL in the dedicated field of the Add listing form.<\/p>\n","protected":false},"author":1676,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[53],"tags":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts\/1978"}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/users\/1676"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/comments?post=1978"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts\/1978\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/media?parent=1978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/categories?post=1978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/tags?post=1978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}