Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sharing articles on Facebook using the facebook api

I have a rails application that helps users submit articles. Does any one know how I can make users in the application share those articles on facebook using their facebook address? A good reference or tutorial would be good.

like image 255
Uchenna Avatar asked Mar 17 '11 14:03

Uchenna


1 Answers

You can open a popup to http://www.facebook.com/sharer.php?u=URL. This will display a share on facebook page with a link to your image.

For example: http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.google.com

like image 88
TJHeuvel Avatar answered Nov 06 '22 01:11

TJHeuvel