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
Solved! Go to Solution.
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.
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.
Thank you Robert!