{"id":4938,"date":"2012-01-16T18:35:34","date_gmt":"2012-01-16T13:05:34","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=4938"},"modified":"2016-12-19T15:16:40","modified_gmt":"2016-12-19T09:46:40","slug":"custom-share-button-on-facebook-wall-post","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/","title":{"rendered":"Custom &#8216;Share&#8217; button on Facebook wall post"},"content":{"rendered":"<p>Hi,<br \/>\nIn one of my Grails project, i needed to have <strong>Share<\/strong> feature on the messages\/post published by our application on facebook wall.<br \/>\nIn Facebook, if the message\/text published is simple text, then <strong>Share<\/strong> link appears on it, but if it contains any link\/URL attached to it, then Facebook do not provides Share button on it.<\/p>\n<pre>\r\n<\/pre>\n<p>To implement it, i created my own <strong>Share<\/strong> button and thought it worth sharing.<\/p>\n<pre>\r\n<\/pre>\n<p>Publishing to facebook wall post requires facebook access_token and we have to do a post call to publish it on facebook wall.<br \/>\nI am assuming that you already have the access_token, if not you can find how to get access_token from <a href=\"https:\/\/2thenew.online\/blog\/integrate-java-application-with-facebook-using-graph-api\/\">here<\/a><\/p>\n<pre>\r\n<\/pre>\n<p>Basic URL to share somthing on facebook wall is as below<\/p>\n<p>[java]<\/p>\n<p>    private static final String SHARE_BUTTON_BASIC_URL = &amp;quot;http:\/\/www.facebook.com\/sharer.php?u=&amp;quot;<br \/>\n    private static final String BUTTON_NAME = &amp;quot;Share This&amp;quot; \/\/ name to appear on the Share button<\/p>\n<p>[\/java]<\/p>\n<p>To create our own &#8216;Share&#8217; button, we have to oass the custom button parameters in &#8216;actions&#8217; attribute of the post call.<\/p>\n<p>Code to publish message\/post which contains any link attachment is as :-<\/p>\n<p>[java]<br \/>\n      String message=  \/\/Message to be published on facebook wall<br \/>\n      String access_token= \/\/ facebook access token<br \/>\n      String attachmentImageUrl= \/\/ Url of the image to be published in the wall post<br \/>\n      String attachmentLink= \/\/ Link attached with the message<\/p>\n<p>       StringBuilder sb = new StringBuilder(&amp;quot;access_token=&amp;quot;);<br \/>\n        sb.append(URLEncoder.encode(access_token, &amp;quot;UTF-8&amp;quot;));<br \/>\n        sb.append(&amp;quot;&amp;amp;message=&amp;quot;);<br \/>\n        sb.append(URLEncoder.encode(message, &amp;quot;UTF-8&amp;quot;));<br \/>\n        sb.append(&amp;quot;&amp;amp;picture=&amp;quot;);<br \/>\n        sb.append(URLEncoder.encode(attachmentImageUrl, &amp;quot;UTF-8&amp;quot;));<br \/>\n        sb.append(&amp;quot;&amp;amp;link=&amp;quot;);<br \/>\n        sb.append(URLEncoder.encode(attachmentLink, &amp;quot;UTF-8&amp;quot;));<br \/>\n        sb.append(&amp;quot;&amp;amp;actions=&amp;quot;)<br \/>\n        sb.append(URLEncoder.encode(&amp;quot;[{name: &#8216;${BUTTON_NAME}&#8217;, link: &#8216;${SHARE_BUTTON_BASIC_URL}${attachmentLink}&#8217; }]&amp;quot;, &amp;quot;UTF-8&amp;quot;));<\/p>\n<p>            URL url = new URL(&#8216;https:\/\/graph.facebook.com\/feed&#8217;);<br \/>\n            HttpURLConnection connection<br \/>\n            connection = (HttpURLConnection) url.openConnection();<br \/>\n            connection.setRequestMethod(&amp;quot;POST&amp;quot;);<br \/>\n            connection.setRequestProperty(&amp;quot;Content-Type&amp;quot;, &amp;quot;application\/x-www-form-urlencoded&amp;quot;);<br \/>\n            connection.setRequestProperty(&amp;quot;Content-Length&amp;quot;, &amp;quot;&amp;quot; + sb.toString().length());<br \/>\n            OutputStreamWriter outputStreamWriter = new OutputStreamWriter(connection.getOutputStream());<br \/>\n            outputStreamWriter.write(sb.toString());<br \/>\n            outputStreamWriter.flush();<br \/>\n            connection?.disconnect()<\/p>\n<p>[\/java]<\/p>\n<p>So, whatever we provide in the &#8216;actions&#8217; property of post call, will appear in the wall post with the defined action. Here we are using it as link to Share a facebook wall post.<\/p>\n<pre>\r\n<\/pre>\n<p><strong>Sample post with custom &#8216;Share This&#8217; link on facebook Wall<\/strong><\/p>\n<div style=\"float:left;width:100%\">\n<\/div>\n<pre>\r\n<\/pre>\n<pre>\r\n<\/pre>\n<p>This worked in my case.<br \/>\nHope it helps.<\/p>\n<p>Cheers!!!<\/p>\n<p>Vishal Sahu<br \/>\nvishal@intelligrape.com<br \/>\n<a href=\"https:\/\/2thenew.online\">www.intelligrape.com<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, In one of my Grails project, i needed to have Share feature on the messages\/post published by our application on facebook wall. In Facebook, if the message\/text published is simple text, then Share link appears on it, but if it contains any link\/URL attached to it, then Facebook do not provides Share button on [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":4,"footnotes":""},"categories":[7],"tags":[703,728,745,744,700],"class_list":["post-4938","post","type-post","status-publish","format-standard","hentry","category-grails","tag-facebook","tag-facebook-app","tag-facebook-post","tag-facebook-wall-post","tag-social-media"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi, In one of my Grails project, i needed to have Share feature on the messages\/post published by our application on facebook wall. In Facebook, if the message\/text published is simple text, then Share link appears on it, but if it contains any link\/URL attached to it, then Facebook do not provides Share button on\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Vishal Sahu\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Custom \u2018Share\u2019 button on Facebook wall post | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi, In one of my Grails project, i needed to have Share feature on the messages\/post published by our application on facebook wall. In Facebook, if the message\/text published is simple text, then Share link appears on it, but if it contains any link\/URL attached to it, then Facebook do not provides Share button on\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Custom \u2018Share\u2019 button on Facebook wall post | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi, In one of my Grails project, i needed to have Share feature on the messages\/post published by our application on facebook wall. In Facebook, if the message\/text published is simple text, then Share link appears on it, but if it contains any link\/URL attached to it, then Facebook do not provides Share button on\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/custom-share-button-on-facebook-wall-post\\\/#article\",\"name\":\"Custom \\u2018Share\\u2019 button on Facebook wall post | TO THE NEW Blog\",\"headline\":\"Custom &#8216;Share&#8217; button on Facebook wall post\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vishal\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2012-01-16T18:35:34+05:30\",\"dateModified\":\"2016-12-19T15:16:40+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/custom-share-button-on-facebook-wall-post\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/custom-share-button-on-facebook-wall-post\\\/#webpage\"},\"articleSection\":\"Grails, Facebook, Facebook App, facebook post, facebook wall post, Social Media\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/custom-share-button-on-facebook-wall-post\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"position\":2,\"name\":\"Grails\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/custom-share-button-on-facebook-wall-post\\\/#listItem\",\"name\":\"Custom &#8216;Share&#8217; button on Facebook wall post\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/custom-share-button-on-facebook-wall-post\\\/#listItem\",\"position\":3,\"name\":\"Custom &#8216;Share&#8217; button on Facebook wall post\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vishal\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vishal\\\/\",\"name\":\"Vishal Sahu\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/custom-share-button-on-facebook-wall-post\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/04ab2997182dff5e957d14b30bdc77fc09933e3d6e7f97b00f8ee27b193602a2?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Vishal Sahu\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/custom-share-button-on-facebook-wall-post\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/custom-share-button-on-facebook-wall-post\\\/\",\"name\":\"Custom \\u2018Share\\u2019 button on Facebook wall post | TO THE NEW Blog\",\"description\":\"Hi, In one of my Grails project, i needed to have Share feature on the messages\\\/post published by our application on facebook wall. In Facebook, if the message\\\/text published is simple text, then Share link appears on it, but if it contains any link\\\/URL attached to it, then Facebook do not provides Share button on\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/custom-share-button-on-facebook-wall-post\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vishal\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vishal\\\/#author\"},\"datePublished\":\"2012-01-16T18:35:34+05:30\",\"dateModified\":\"2016-12-19T15:16:40+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Custom \u2018Share\u2019 button on Facebook wall post | TO THE NEW Blog","description":"Hi, In one of my Grails project, i needed to have Share feature on the messages\/post published by our application on facebook wall. In Facebook, if the message\/text published is simple text, then Share link appears on it, but if it contains any link\/URL attached to it, then Facebook do not provides Share button on","canonical_url":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/#article","name":"Custom \u2018Share\u2019 button on Facebook wall post | TO THE NEW Blog","headline":"Custom &#8216;Share&#8217; button on Facebook wall post","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/vishal\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"datePublished":"2012-01-16T18:35:34+05:30","dateModified":"2016-12-19T15:16:40+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/#webpage"},"articleSection":"Grails, Facebook, Facebook App, facebook post, facebook wall post, Social Media"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/grails\/#listItem","name":"Grails"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/grails\/#listItem","position":2,"name":"Grails","item":"https:\/\/2thenew.online\/blog\/category\/grails\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/#listItem","name":"Custom &#8216;Share&#8217; button on Facebook wall post"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/#listItem","position":3,"name":"Custom &#8216;Share&#8217; button on Facebook wall post","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/grails\/#listItem","name":"Grails"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/vishal\/#author","url":"https:\/\/2thenew.online\/blog\/author\/vishal\/","name":"Vishal Sahu","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/04ab2997182dff5e957d14b30bdc77fc09933e3d6e7f97b00f8ee27b193602a2?s=96&d=mm&r=g","width":96,"height":96,"caption":"Vishal Sahu"}},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/#webpage","url":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/","name":"Custom \u2018Share\u2019 button on Facebook wall post | TO THE NEW Blog","description":"Hi, In one of my Grails project, i needed to have Share feature on the messages\/post published by our application on facebook wall. In Facebook, if the message\/text published is simple text, then Share link appears on it, but if it contains any link\/URL attached to it, then Facebook do not provides Share button on","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/vishal\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/vishal\/#author"},"datePublished":"2012-01-16T18:35:34+05:30","dateModified":"2016-12-19T15:16:40+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Custom \u2018Share\u2019 button on Facebook wall post | TO THE NEW Blog","og:description":"Hi, In one of my Grails project, i needed to have Share feature on the messages\/post published by our application on facebook wall. In Facebook, if the message\/text published is simple text, then Share link appears on it, but if it contains any link\/URL attached to it, then Facebook do not provides Share button on","og:url":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Custom \u2018Share\u2019 button on Facebook wall post | TO THE NEW Blog","twitter:description":"Hi, In one of my Grails project, i needed to have Share feature on the messages\/post published by our application on facebook wall. In Facebook, if the message\/text published is simple text, then Share link appears on it, but if it contains any link\/URL attached to it, then Facebook do not provides Share button on","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"4938","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-30 06:21:04","updated":"2024-02-29 09:55:24","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\/category\/grails\/\" title=\"Grails\">Grails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCustom \u2018Share\u2019 button on Facebook wall post\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"Grails","link":"https:\/\/2thenew.online\/blog\/category\/grails\/"},{"label":"Custom &#8216;Share&#8217; button on Facebook wall post","link":"https:\/\/2thenew.online\/blog\/custom-share-button-on-facebook-wall-post\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/4938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=4938"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/4938\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=4938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=4938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=4938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}