Reputation: 17750
I'm using sharer.php to share an item to the user's wall.
The facebook sharer has 2 views:
Post to profile (default view) : alt text http://devgator.com/images/post_to_profile.png
And when you click on "send as a Message instead you get : alt text http://devgator.com/images/send_as_msg.png
What I'm trying to do is to have the 2nd view (send a message) as the default one. So when the user clicks 'Share this', it would show him directly the "send a message" view.
Is that even possible using facebook? or anything else? maybe executing js code after the popups opens ?
Thanks.
Upvotes: 3
Views: 2180
Reputation: 984
It's undocumented, but you can pass &mode=message&to=<user_id>
to default to send message with sharer.php. Note: the like and/or send buttons are recommended.
Upvotes: 1
Reputation: 3076
Facebook just released a new "send" button to go with the "like" button.
This button allows you to send message directly to your friends ..
Here is an example :
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<fb:send href="example.com" font=""></fb:send>
See documentation : http://developers.facebook.com/docs/reference/plugins/send/
I think it's a solution for your problem ?
Upvotes: 1