Created
April 12, 2017 22:04
-
-
Save ayamflow/7a08af758933c8542ca320c53b9ab1ec to your computer and use it in GitHub Desktop.
Facebook sharer.php custom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.facebook.com/dialog/feed?app_id=[FACEBOOK_APP_ID]' + | |
'&link=[FULLY_QUALIFIED_LINK_TO_SHARE_CONTENT]' + | |
'&picture=[LINK_TO_IMAGE]' + | |
'&name=' + encodeURIComponent('[CONTENT_TITLE]') + | |
'&caption=' + encodeURIComponent('[CONTENT_CAPTION]) + | |
'&description=' + encodeURIComponent('[CONTENT_DESCRIPTION]') + | |
'&redirect_uri=' + FBVars.baseURL + '[URL_TO_REDIRECT_TO_AFTER_SHARE]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment