Revision: 38638
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 6, 2011 03:16 by postalservice14
Initial Code
<div id="fb-root"></div> <script src="https://connect.facebook.net/en_US/all.js"></script> <script type="text/javascript"> FB.init({ apiKey: '{APIKEY}', status: true, // check login status cookie: true, // enable cookies to allow the server to access the session xfbml: true // parse XFBML }); function shareFacebook() { FB.ui( { method: 'stream.publish', display: 'popup', message: 'I just sold my books for $5.40 on Cash4Books.net and got FREE shipping! I cleared clutter & made extra cash. It\'s really easy! Sell your books at Cash4Books.net!', attachment: { name: 'Sell Books online at Cash4Books.net', caption: 'Free Shipping', description: ('Sell your books today for fast cash. We buy textbooks, best sellers, romance novels, cook books, children\'s books, and so much more. Visit Cash4Books.net now & sell your books today! We pay via check or PayPal.'), href: 'http://www.cash4books.net/index.php?ref=162190', media: [ { type: 'image', href: 'http://www.cash4books.net?ref=162190&utm_source=facebook&utm_medium=facebook%2Bshare&utm_campaign=Facebook%2BWall%2BPost&utm_term=image:Wall%2B Post%2BThumb%2B', src: 'http://www.cash4books.net/images/turn_books_into_cash.gif' } ] }, action_links: [ { text: 'Sell Books Online', href: 'http://www.cash4books.net/index.php?ref=162190&utm_source=facebook&utm_medium=facebook%2Bshare&utm_campaign=Facebook%2BWall%2BPost&utm_term=bottom%2Blinks:%2BSell%2BBooks%2BOnline' } ], user_message_prompt: 'Share your thoughts about Cash4books.net' }, function(response) { if (response && response.post_id) { $('#closeModal').attr('value','done'); } } ); } </script>
Initial URL
Initial Description
Initial Title
Facebook JS API Problem
Initial Tags
Initial Language
JavaScript