WordPress/Facebook Peeps, Can I borrow your brain for a sec?

11 replies
Would any of you know if there's a way to use content, of an already established blog, in a facebook iframe removing the wp header, sidebar & footer from the facebook iframe view, all without having to create a duplicate blog?

In other words can you use the same database content but connect to different themes based on whether it's in the fb iframe or in full display on the browser?

Rashell
#borrow #brain #facebook #fan page #iframe #peeps #sec #wordpress
  • Profile picture of the author allenjohn
    Well, the posts are contained in a separate table so you should be able to do what you want with them. I would suggest you run two applications and share the same data... regards Allen

    PS I'm no WP tech expert...
    Signature

    Make Money with Niche Blogs Auto Profit - Let us build YOUR auto blogging empire for you. BUY BACK GUARANTEE for Gold Orders! FAQ - NEW! - One Way Link Building Service

    {{ DiscussionBoard.errors[4032493].message }}
  • Profile picture of the author Reed Floren
    Be sure you make a backup but theoretically that sounds like it would work
    Signature
    {{ DiscussionBoard.errors[4033172].message }}
  • Profile picture of the author Danielm
    Isn't there a plugin that puts your blog posts into your FB status updates? Not the exact same thing but its a start.
    {{ DiscussionBoard.errors[4033237].message }}
    • Profile picture of the author JR Consulting
      Originally Posted by Danielm View Post

      Isn't there a plugin that puts your blog posts into your FB status updates? Not the exact same thing but its a start.
      The Networked Blogs and RSS Graffiti apps will do this.
      {{ DiscussionBoard.errors[4034029].message }}
  • Profile picture of the author Rashell
    Originally Posted by allenjohn View Post

    Well, the posts are contained in a separate table so you should be able to do what you want with them. I would suggest you run two applications and share the same data... regards Allen

    PS I'm no WP tech expert...
    Thanks so much for your response. I'm actually trying to pull functionality & information from both plugins & posts.

    I want to minify the whole thing so when a user clicks a link in the FBiframe it will keep the same template rather than reverting back to the default template.

    Originally Posted by Reed Floren View Post

    Be sure you make a backup but theoretically that sounds like it would work
    Thanks for being concerned. That would only be pulling the content from one database to insert on another installation I wouldn't need to back up anything. I wouldn't be touching the database just asking it to deliver information to another place.

    But again thank you for being concerned!

    Originally Posted by Danielm View Post

    Isn't there a plugin that puts your blog posts into your FB status updates? Not the exact same thing but its a start.
    Yeah, I'm actually trying to insert the full functionality of WP into an FBiframe without having to duplicate and maintain 2 blogs.

    Thanks for the suggestion.

    Originally Posted by ericeastman View Post

    I monetize my wordpress using searchreviews (its free to dl)
    What does this have to do with anything????????????:confused:

    Originally Posted by ericeastman View Post

    Ill leave the rest up to you and google.
    I'm not the kind of person who posts questions to the forum before I have exhausted every possible research idea I could come up with. But I get the feeling you're probably not even going to realize that I replied to you.

    Rashell
    {{ DiscussionBoard.errors[4033941].message }}
  • Profile picture of the author Andre Lavell
    Hey Rashell,

    I honestly don't think there is a possible way to do what you're trying
    to do. You want your wordress blog to look like a regular blog, but a difference
    appearance when it's being iframed, right?

    From what I know about iframe (which isn't too much) it's a direct reflection
    of what your site. So unless there's a <php remove sidebar><iframe><?php>
    code that I don't know about - you're better off using a separate layout for facebook.

    But if you find a solution, let me know. That'd come in pretty handy.

    Edited: Facebook does actually have a code that you can put into the header file
    of your blog to change the size of the iframe, kinda like this:
    Code:
    <div id="fb-root"></div>
    <script type="text/javascript">
      FB.Canvas.setAutoResize();
      </script>
    So there is a way to control the iframe.

    I'd suggest asking in the facebook developers forum if there is a way that'll
    allow you to only iframe a certain section of your page. Inyour case, you'd want to
    frame just the content.

    That's the only work around I could think of... If it's even possible.
    {{ DiscussionBoard.errors[4034000].message }}
    • Profile picture of the author Rashell
      Originally Posted by Andre Lavell View Post

      Hey Rashell,

      I honestly don't think there is a possible way to do what you're trying
      to do. You want your wordress blog to look like a regular blog, but a difference appearance when it's being iframed, right?
      I know there's some sort of way of doing this. People mirror their mobile sites all the time. Of course they're changing the theme based on what browser/user-agent the user is viewing with. So I figured there must be something in FBiframe that could trigger a different theme too.

      Originally Posted by Andre Lavell View Post

      From what I know about iframe (which isn't too much) it's a direct reflection
      of what your site. So unless there's a <php remove sidebar><iframe><?php>
      code that I don't know about - you're better off using a separate layout for facebook.
      wouldn't that be keeping it simple. but alas, if there is one I'm clueless to it. And it would seem most of the wordpress sites/blogs out there are either keeping it under wraps or they're clueless too.


      Originally Posted by Andre Lavell View Post

      But if you find a solution, let me know. That'd come in pretty handy.
      Istvan might have something!!!

      Originally Posted by Andre Lavell View Post

      Edited: Facebook does actually have a code that you can put into the header file
      of your blog to change the size of the iframe, kinda like this:
      Code:
      <div id="fb-root"></div>
      <script type="text/javascript">
        FB.Canvas.setAutoResize();
        </script>
      So there is a way to control the iframe.

      I'd suggest asking in the facebook developers forum if there is a way that'll allow you to only iframe a certain section of your page. In
      your case, you'd want to frame just the content.

      That's the only work around I could think of... If it's even possible.
      I want a little more than just the content. I'm actually trying to strip-down the layout of my page and swap it with a FBiframe compatible layout. All the functionality stays the same but the layout changes.

      I guess I shouldn't have called my site a blog. I usually customize WP beyond a mere blog. Sorry bout that.

      Rashell
      {{ DiscussionBoard.errors[4034155].message }}
      • Profile picture of the author Andre Lavell
        Originally Posted by Rashell View Post

        I know there's some sort of way of doing this. People mirror their mobile sites all the time. Of course they're changing the theme based on what browser/user-agent the user is viewing with. So I figured there must be something in FBiframe that could trigger a different theme too.
        You're right, now that I think about it. Just did a little research and there
        is a javascript code that detects if your site is being loaded into an iframe:

        Code:
        <script type="text/javascript">if(location.href != top.location.href){ alert('the content has been loaded into an IFRAME');}</script>
        We may be in luck. All you'd need is a code that will use a different css (or theme) when this happens.

        Good luck. I'll keep an eye on this thread.


        Andre
        {{ DiscussionBoard.errors[4034203].message }}
  • Profile picture of the author Istvan Horvath
    I know of a plugin (for $97) - if you are interested...
    Signature

    {{ DiscussionBoard.errors[4034026].message }}
  • Profile picture of the author Istvan Horvath
    Now, reading all the contradictory replies... I figured nobody really asked you, Rashell, what is it what you want to do.

    1. To make a FB page based on your blog which would display the content of the blog on the FB page?
    2. To have your blog posts displayed/shown on your wall?

    My guess was the option #1 above, since just showing a blog on the wall is easy...
    Signature

    {{ DiscussionBoard.errors[4034052].message }}
    • Profile picture of the author Rashell
      Originally Posted by Istvan Horvath View Post

      I know of a plugin (for $97) - if you are interested...
      Yes, please!

      Originally Posted by Istvan Horvath View Post

      Now, reading all the contradictory replies... I figured nobody really asked you, Rashell, what is it what you want to do.

      1. To make a FB page based on your blog which would display the content of the blog on the FB page?
      2. To have your blog posts displayed/shown on your wall?

      My guess was the option #1 above, since just showing a blog on the wall is easy...
      #1 Thanks!

      Rashell
      {{ DiscussionBoard.errors[4034087].message }}

Trending Topics