Share widget -> look of FB share

933
2
Jump to solution
08-19-2016 04:10 AM
BenedekSimó
New Contributor III

I would like to know how to change the look of the facebook share. Currently I see that facebook takes the title of my share from the html title tag, and the description is currently this. (I guess the only static content of my app...)

How can I change this?

Here is what I would like:

- my webapps title instead of the static title 'ArcGIS Web Application'.

- a small image of the shared map without this description.

Thanks,

Ben

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Ben,

   You will find the jimu/dijit/ShareLink.js has a _toFacebook  function and in that function is where this line exists that you need to change:

"&t=" + encodeURIComponent(jimuUtils.stripHTML(this.socialNetworkTitle(this._appTitle)));

I am not sure where that other text is coming from.

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Ben,

   You will find the jimu/dijit/ShareLink.js has a _toFacebook  function and in that function is where this line exists that you need to change:

"&t=" + encodeURIComponent(jimuUtils.stripHTML(this.socialNetworkTitle(this._appTitle)));

I am not sure where that other text is coming from.

View solution in original post

BenedekSimó
New Contributor III

Thank you Robert!

0 Kudos