Extend the settings form to get the Facebook app_id and alter the page to add the meta tags described

Created on 6 August 2020, almost 4 years ago
Updated 28 September 2023, 9 months ago

Problem/Motivation

The Facebook share Icon is hidden and when I wanna share some of the text to Facebook, appears this error "Invalid App ID: The provided app ID does not look like a valid app ID."

Proposed resolution

1- Remove "display: none" form selection-sharer.css file to show the Facebook icon.
2- Remove "app_id=", "&href=", and "&redirect_uri" from Facebook share link, and replace "dialog/feed?" with "sharer/sharer.php?", "caption" with "quote" and "link" with "u" to fix sharing feature.
That means replace this link
https://www.facebook.com/dialog/feed?app_id="+c.appId+"&display=popup&caption="+encodeURIComponent(b)+"&link="+encodeURIComponent(c.url2share)+"&href="+encodeURIComponent(c.url2share)+"&redirect_uri="+encodeURIComponent(c.url2share)
with this link
https://www.facebook.com/sharer/sharer.php?quote="+encodeURIComponent(b)+"&u="+encodeURIComponent(c.url2share) in selection-sharer.js file

✨ Feature request
Status

Needs review

Version

1.4

Component

Code

Created by

🇯🇴Jordan YousefAnbar Zarqa

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024