Jump to content






Photo
* * * * * 5 votes

IP.Board 3.3 Dev Update: Auto-share on posting

Posted by Matt , in 3.3.x, Blog 07 February 2012 · 14,487 views

IP.Board was one of the first commercial products to make use of Facebook integration to allow logged in Facebook users instant membership. We extended this in subsequent releases to include the ability to share status updates and links from the board such as topics. During this time, we also added Twitter as an authentication system and the ability to tweet out links and status updates.

You don't have to be an active Facebook or Twitter user yourself to appreciate the advantages of tapping into the millions of users these sites receive daily. It's a great way of driving more traffic to your site and to encourage activity.

Auto Sharing
In the current version of IP.Board, you can quickly share and 'like' content such as topics, gallery images and blog entries when you read them. In IP.Board 3.3.0, we've taken this a step further and added the ability to auto-share content during creation.

Posted Image

You simply check the boxes for the services you want to share with and it'll share the content as soon as its been saved. You can even make the current preferences default so you don't have to remember to check them each time.

Of course, these buttons don't show if you've disabled sharing for that forum and you can optionally disable the entire feature from the Admin CP.

Authentication Flow
In the current version of IP.Board, you have to be connected to Facebook before you can share status updates and links. This means you'd have either registered with a Facebook account of you'd have linked them via your UserCP. Not everyone will be aware of this functionality so there's a chance that some of your members will never make use of those features.

In IP.Board 3.3, we've utilised the Facebook Javascript SDK into our own code so you can connect to your Facebook account without leaving the page.

The Facebook auto-share button is visible even if you're not currently connected (assuming of course that the feature is enabled and you've set up Facebook via the Admin CP). When you click the checkbox, if you're not connected, the request for permission dialogue loads automatically. Once allowed, the connection is finished in the background and you're all set up ready to share without leaving the page.

Posted Image

This drastically reduces the barrier for connecting your Facebook accounts with IP.Board and further encourages sharing.

Changes to meta data
When you share a link, Facebook checks the page for specific Open Graph meta tags. Once of these determines the image that is shown next to the link. By default this is the IP.Board logo. In IP.Board 3.3 when you attach images to a post, these are used as the shared image bringing context to the link.

Posted Image

These changes will no doubt increase the number of topics shared with Facebook which in return will increase visitors to your forum for those that embrace social media as a way to drive traffic.

  • thaivisa, AndyF, NickČ and 33 others like this



By default this is the IP.Board logo.

Is it even the default logo when we use our own logo?
loving the meta tags changes :)
Photo
DeRealDeano
Feb 07 2012 08:28 AM
Loving it...
You do need to update the default logo to your own, located in the public>style_images>your skin>meta_image.png otherwise it does show the blue IP.Board logo. (or at least you do in 3.2)

I like anything that makes life easy sharing content, great work.
    • Matt likes this

You do need to update the default logo to your own, located in the public>style_images>your skin>meta_image.png otherwise it does show the blue IP.Board logo. (or at least you do in 3.2)

I like anything that makes life easy sharing content, great work.


That's exactly right. You can change that image to use a custom image.

That's exactly right. You can change that image to use a custom image.

Will the default image still be used on topics? Or, should the first post contain an image, that would get used instead?
nice!... :)
Will Twitter text be shortend to 140 characters? Or does it just take the thread title?

Will the default image still be used on topics? Or, should the first post contain an image, that would get used instead?


I've considered allowing inline images but it's not a precise science. There are several barriers: the meta tags *have* to be in the head of the document or Facebook will ignore them. This means we'd have to parse the post again on display to extract the image tags. Even when we do this, there's no way we can reliably (without using GD which would suck) determine the size of the image, so Facebook may decide to use an emoticon rather than another image.

Will Twitter text be shortend to 140 characters? Or does it just take the thread title?


Twitter has to be 140 character or less, so if the topic title is longer, it'll be truncated.
The default image chosen, will it allow you to choose which image when more than one is available (default logo, uploaded images), like when you share a link directly within Facebook?
Photo
Real Hal9000
Feb 07 2012 09:48 AM
Can we use the Facebook/Twitter buttons in our plugins in order to autoshare content from them ?
Photo
Tangfastics2014
Feb 07 2012 10:13 AM

Can we use the Facebook/Twitter buttons in our plugins in order to autoshare content from them ?

+1
Excelent!!! Congrats on the metadata!
Photo
RidinHighSpeeds
Feb 07 2012 10:41 AM
Great addition!! This is certainly needed to help drive more traffic to our forums from our members :)

Can we use the Facebook/Twitter buttons in our plugins in order to autoshare content from them ?


Yes, I am writing up a doc on how to implement this in your own code.
    • Donkerrood and Real Hal9000 like this
Can't wait for 3.3! :D Can you make it so you can share to both FB AND Twitter? or would hitting both of those buttons do the job?

Can't wait for 3.3! :D Can you make it so you can share to both FB AND Twitter? or would hitting both of those buttons do the job?


You can check each box. Notice also the "Save as default" link so it will remember your choice.
hooray, new way to spam... twitter over posting again.. yay.. ! this is mean.. hahahah
Ah, this is a great idea.
    • Matt likes this

July 2014

S M T W T F S
  12345
6789101112
13141516171819
20212223 24 2526
2728293031  

Recent Entries

Latest Visitors

  • Photo
    Zen Media Studios
    A minute ago
  • Photo
    Spendon Gavekort
    10 minutes ago
  • Photo
    m3rk0rd
    23 minutes ago
  • Photo
    marklcfc
    28 minutes ago
  • Photo
    Ryan Ashbrook
    40 minutes ago
  • Photo
    bfarber
    48 minutes ago
  • Photo
    outkastz
    Today, 08:23 AM
  • Photo
    Rory Soh
    Today, 07:49 AM
  • Photo
    marine-marchande.com
    Today, 07:37 AM
  • Photo
    Antipika
    Today, 06:54 AM

Recent Comments

Search My Blog