I am currently integrating Django with Facebook for page sharing. Below is the code snippet I am using to form the URL:
var link = 'https://www.facebook.com/dialog/feed?app_id=1234567890&display=popup&name=' + name + '&description=' + description + '&picture=' + picture + '&link=' + caption + '&caption=' + caption + '&redirect_uri=' + redurl;
window.open(link, "Share", windowFeatures);
The resulting URL after formation is as follows:
https://www.facebook.com/dialog/feed?app_id=1234567890&display=popup&name=GameStore:%20come%20and%20play!&description=Hey%20!!!%20I%20am%20playing%20to%20Breakout&picture=https://res.cloudinary.com/dma8tn6ge/image/upload/c_fill,h_75,w_75/profile-picture.png&link=http%3A//localhost%3A8000/game/player/1/&caption=http%3A//localhost%3A:8000/game/player/1/&redirect_uri=http://localhost:8000/fb_redirect
Although this code is triggered by a button click event in JavaScript, clicking the button results in an error message:
Sorry, something went wrong. We're working on getting this fixed as soon as we can.
p.s. The actual app id used in my code is not 1234567890.
If anyone could provide guidance on what I might be doing wrong here, it would be greatly appreciated.