Home > Uncategorized > Facebook Integration with PHPMotion

Facebook Integration with PHPMotion

February 13th, 2010 admin

This MOD will allow proper embedding of videos on facebook via phpmotion.

If you are not using the default theme then make edits to the files in your own theme. (themes/yourtheme/…) instead of themes/default/… ). Some themes come with facebook button already added in so the last part is not needed. Support for V3.5 Coming Soon.

Version:3
Cost: $Free

Download: facebook-2.8
Instructions.

place facebook.inc.php into phpmotion directory
place Facebook_32×32.png into themes/default/images/icons/ for example

edit themes/default/templates/main_1.htm
after
<head>
add
[var.facebook;htmlconv=no]

edit play.php
after
if ( $allow_embedding == ‘no’ ) $allow_download = 0;
add
include_once (‘facebook.inc.php’);

edit themes/default/templates/inner_play.htm

after
<!– start social bookmarks –>
add
<a target = “_blank” href=”http://www.facebook.com/sharer.php?u=[var.seo_video_url]” target=”_blank” title=”Bookmark on Facebook!”><img src = “themes/[var.user_theme]/images/icons/Facebook_32×32.png” alt=”facebook” width=”32″ height=”32″ title=”Add to Facebook” /></a>
&nbsp;&nbsp;&nbsp;

Contact Facebook via: http://www.facebook.com/developers/developer_help.php
asking for your website to be whitelisted to allow embedded videos from it.

Categories: Uncategorized Tags: ,
  1. February 19th, 2010 at 17:38 | #1

    what exactly the configuration of facebook developing and how i can publish and use it i configure every thing but the icon for facebook i cann’t see in my home page

    http://www.yadady.net

    regards

  2. February 21st, 2010 at 02:17 | #2

    I’ve tried this, and my site is whitelisted, but the video doesn’t come up.

    It displays as a video, but doesn’t show a thumbnail and can’t play.

    Any idea what might be causing this? Is there a way to automatically feed videos into Facebook fan pages?

    Thanks!

  3. Kenny
    February 23rd, 2010 at 03:46 | #3

    Hi,

    Will this Facebook mod work with phpmotion V2?

  4. admin
    May 15th, 2010 at 01:39 | #4

    This is a problem at the moment that facebook will not help or acknowledge

  1. May 23rd, 2010 at 15:46 | #1
Comments are closed.