Take a look at /plugins/wpbook/includes/publish_to_facebook.php.
They only have one function that posts to FB. You should be able to cobble something together from their code.
Just make sure if you write your own files to them in a separate folder in your plugins directory. Otherwise any updates to WPBook will overwrite your files.
The whole PHP SDK is in /plugins/wpbook/includes/client/
Related Posts:
- Retrieving Default Image All Url Profile Picture from Facebook Graph API [closed]
- Official Facebook Connect button as PNG
- Use Device Login on Smart TV / Console
- Invisible characters – ASCII
- When do I need a fb:app_id or fb:admins?
- Warning: Each child in an array or iterator should have a unique “key” prop. Check the render method of `ListView`
- og:url is driving me crazy?
- What are App Domains in Facebook Apps?
- How can I auto-add my posts to my site’s Facebook fan page?
- Automatically Facebook Debug Posts on Publish [closed]
- If your blog was an app on Facebook
- Get FaceBook Friend Count [closed]
- Facebook OAuth, WP_Http::request() vs wp_remote_request()
- W3 Cache plugin and Facebook sharing [closed]
- Any Facebook component doesn’t work on WordPress website after update. Why?
- sharing video on facebook from wordpress
- Adding a “most liked post” box, based on facebook ranking?
- facebook like – image display and description
- Is there a method or plugin that will allow posts to be sortable by Facebook likes?
- How do I create a page for users to invite their facebook friends?
- Which social connect plugin do you recommend? [closed]
- How to generate “og:image” meta for Facebook sharing when the image in the post is not featured?
- Open graph problem: Showing wrong description of homepage while sharing on Facebook [closed]
- How do I remove all hyperlinks that begin with a #?
- Simple plugins to post info about new blog entries?
- Facebook link to website logo
- Get User’s Facebook Photos as WordPress Upload
- Hiding styles from Facebook
- RSVP form for Facebook events from a WordPress post?
- WordPress comments and Facebook comments
- Building a Member Directory Site on WordPress with Facebook API Integration?
- WP_Cron script not updating all posts in loop
- Automatically add simple custom buttons for print, Facebook share, & Tweet in Posts [closed]
- Choices for thumbnail image in a Facebook Link post
- Displaying Facebook comments count with tag
- How to preserve exact formatting when copy pasting from Facebook into WordPress (or elsewhere)?
- Send Facebook server-side event using shortcode and Official Facebook Pixel plugin
- Posting to Facebook via WordPress – 500 Internal Error
- How can I echo og:video url, if the post has video content?
- Facebook preview Open Graph Object Debugger
- Facebook share functionality in wordpress loop
- Integrating Facebook calender to WordPress
- Conditional Facebook Share and Like links [closed]
- FB Comments box post to wall?
- Whenever I am sharing a post wordpress phrase is automatically added, can anyone help?
- Website Preview Graphic for WordPress Site
- How do I set a featured image for the homepage? [closed]
- Can’t access site after plugin activation
- Integrate open graph protocol without plugin?
- Adding a list of social media links
- I want to enable facebook connect how to do this?
- Facebook share image wrong on post not on debugger [closed]
- No post image when pasting link into Facebook
- file_get_contents_curl pulling wrong values
- Facebook Like – Display counter starting at Zero?
- WP REST API – log in with Facebook
- “This site is under development” when sharing on Facebook
- SFC Problem with the comment login
- Single article separated into multiple pages makes Facebook Like button detect as completely separated articles
- Simple Facebook Connect: Access tokens not found
- Load facebook php sdk problem
- Unprotected page appears protected when posted to Facebook (S2Member)
- Facebook comment url is unreachable
- WordPress > Error when pasting link into Facebook
- How to install Facebook, Google+, & Twitter LIKE buttons for each individual post at frontpage?
- Facebook profile pic used as avatar
- Changing the Permalink Structure without Resetting the Facebook Like Counts?
- How do I get a list of users who LIKED a post to show in admin of page?
- WP / Facebook integration – recently read articles
- open graph image being overwritten by gravatar logo?
- FB like adds WordPress install screen text to the wall
- Multiple account integration with facebook
- Facebook embeds fixing with functions.php
- How to automatically search my entire site for any content embedded using oEmbed?
- How to transfer the Facebook instance articles from one WordPress to another WordPress with same domain name?
- WordPress website Thumbnails not showing on Facebook Share
- How to (correctly) embed a Facebook video?
- image share on facebook missing
- Facebook sharing content problem
- Featured Image and Facebook
- Facebook and Google+ sharing suddenly stopped working properly in WordPress
- FaceBook fan-block in a text-widget
- How not to show author’s name when sharing blogposts on Facebook?
- Facebook posts on wordpress blog
- subscribe to wp through a Faceboo app
- Automatic connect wordpress to facebook with featured image?
- Create Mashable Follow-like Facebook, Twitter login/connect?
- facebook like on twenty eleven
- Problem with Simple Facebook Connect
- Right Facebook Open Graph Protocol into WordPress theme?
- get facebook status
- Facebook share post dialog not showing post information
- Facebook Comments not working in WordPress [closed]
- Post on facebook when I publish blog
- WordPress Site login problem with facebook, twitter and other social media
- How Facebook.com knows about duplicate pages on my site?
- get avatar from facebook graph [closed]
- Force Jetpack to use og:url with http on an https website
- Bigger images when sharing a link with facebook
- How to write ‘post to facebook’ action in Uncanny Automator