WordPress.org

Ready to get started?Download WordPress

Forums

Creating a "Latest Posts" Facebook Tab (29 posts)

  1. justbishop
    Member
    Posted 3 years ago #

    I *think* I understand how to make a simple iframed Facebook app/tab using the WPBook plugin, but any advice on how I'd create an app that does the same thing (calls a pre-determined URL into a FB tab), but in a way that my child site users could customize it to show the pre-determined URL from their OWN site?

    I guess to be clearer, I need guidance on making an "edit settings" area that will allow them to plug their site name in (http://www.riotcart.com/USERSITENAME), bring up a new template I'm planning to create that will display a site's latest posts, and allow them to add it to their own FB fan page.

  2. Why can;t they just pull their site's RSS feed?

  3. justbishop
    Member
    Posted 3 years ago #

    Can you do that via a tab on a fan page? And IDK, I kinda wanted to make it look all pretty like the "My Etsy" tab is...

  4. Heh. :D I have no idea what they can do on the FB side. All I've done was pull my feed.

    Etsy may have done a custom app.

  5. justbishop
    Member
    Posted 3 years ago #

    Yeah, that's more what I want to to do. I believe it's what WPBook actually does for you (creates a custom app that iframes a page of your site into a FB tab). However, if I just gave WPBook to all of my child sites, they'd each have to go through the process of creating their OWN custom FB apps through the plugin. I want to have ONE app created, and have my users just be able to customize which child site it pulls the page from ;)

  6. yeah that sound uber complicated. :-/

  7. justbishop
    Member
    Posted 3 years ago #

    inorite?

  8. gulflee
    Member
    Posted 3 years ago #

    sounds interesting, can i have a peek on the fb side?

  9. justbishop
    Member
    Posted 3 years ago #

    I haven't done much yet, but what I do have I created by following the steps in the WPBook plugin :)

  10. Brooke Dukes
    Member
    Posted 3 years ago #

    WPBook is currently lacking in the WPMU and BuddyPress side of things. If I'm understanding you right you basicly want to have one page inside Facebook that shows the users content from riotcart? You lost me at custom tab :S.

    Just to clarify, WPBook creates an application (not a tab) inside Facebook. If the user has a Facebook fan page WPBook allows them to have their blog content shown inside a tab on that Fan Page.

    For your use WPBook may be overcomplicating things. I would suggest maybe forking the WPBook core and modifying it to your own needs.

  11. justbishop
    Member
    Posted 3 years ago #

    Yep, you have it right :)

    I want to create ONE custom Facebook app (i.e. "My RiotCart"), with a settings area where someone who adds the app to their Facebook fan page (as a tab across the top, next to wall, photos, discussions, etc.) can type in the unique part of their own riotcart.com URL and have the app/tab display only posts from their own RC site. Hope that made more sense!

    And yeah, I think I'm going to have to attack this from the Fb side of things. It'll be after the new year before I would have time to sit and try to wrap my brain around the Fb stuff, though.

  12. Brooke Dukes
    Member
    Posted 3 years ago #

    Yeah, WPBook would be a great jumping point for this but is not the solution you're looking for. You can take the underline code of WPBook and how it interacts with Facebook/WordPress and then modify it so that the WPMU user just has the option to turn the tab on and off and just has to enter their Facebook page ID.

  13. justbishop
    Member
    Posted 3 years ago #

    Ahhhhh! I was thinking of having them change the setting on the Facebook side...using WPBook as a base for a multiuser tailored plugin is an even better idea!

    ETA: The WPBook config process is a bit too complicated for my users (not that they aren't intelligent enough to figure it out, but I doubt they'll want to take the time), though. I guess I'm still going to have to attack this from the FB side.

  14. Brooke Dukes
    Member
    Posted 3 years ago #

    Yeah, WPBook is still a bit complicated to set up. We're trying to make it easier. The new beta 2.0.10 has a cleaner admin interface but it's still a bit complicated. I know what you mean, though, even with our efforts to document WPBook people are constantly needing help and asking install questions.

    I would say create an app "MyRiotCart" then make the home page just list all the blogs and then have apps.facebook.com/riotcart/USERNAME link to their particular page.

    If you do come up with anything interesting let me know. I'm excited to see what you come up with. Sorry I don't have the time to program anything up right now.

  15. justbishop
    Member
    Posted 3 years ago #

    Don't count on anything too groundbreaking...I'm not all that skilled, lol!

  16. davidfcarr
    Member
    Posted 3 years ago #

    I cooked up a Facebook Tab Manager plugin for WordPress that exploits their switch to allowing iframes in tabs (in fact that's now the preferred way, with FBML being phased out).

    I've set up a custom post type for Facebook tabs, and the plugin guides you through what to enter in the Facebook Developer form fields to register your WordPress content post as a Facebook app. You can use this approach to place marketing content on Facebook. Using shortcodes, you can also integrate interactive content such as contact forms.

  17. davidfcarr
    Member
    Posted 3 years ago #

    I'd be interested in feedback on this plugin, which just went live on the WordPress repository.

    The Facebook Tab Manager for WordPress allows you to create landing pages and other types of content to be displayed within Facebook, particularly within the tabs that appear on Facebook business pages and pages for other types of organizations. This provides a way of putting more interesting layouts and functionality into your Facebook pages, without the need to get too deep into fancy programming.

    The Facebook Tab Manager was specifically designed to take advantage of a recent Facebook page redesign that added support for iframe tabs on Facebook pages.

    Tab content can include any WordPress content, including output from Shortcodes and other plugin functions.

  18. justbishop
    Member
    Posted 3 years ago #

    @davidfcarr: I'm a bit confused as to how this new plugin differs from WPBook? If it could accomplish what I explained in my previous posts, I'd be very interested!

  19. davidfcarr
    Member
    Posted 3 years ago #

    I won't criticize WPBook because honestly I haven't tried it. But my understanding is that it uses an integration technology Facebook says it is phasing out, FBML, for content in page tabs. The documentations says WPBook supports either FBML or iframes for independent FB apps. FB's support for iframes in page tabs just came out last week, so probably WPBook will have an update shortly to support that. You'll have to make your own judgement about whether that's the more full featured plugin for your purposes.

    Facebook Tab Manager was specifically designed to capitalize on this new iframe capability. I wanted to make it relatively simple to create/edit content in WordPress and publish it to a Facebook page tab. You can see a couple of examples (tabs labeled Tab Manager and WP Tab) at http://www.facebook.com/carrcomm.

    I just put out an update that makes it relatively easy to integrate a blog post or page or category, or list of headlines from a category. Also provided some tricks for taking advantage of Facebook social plugins, such as the like button and comment box. I'm providing running commentary on my blog as it evolves.

  20. justbishop
    Member
    Posted 3 years ago #

    Thanks for the answers David! I'll be giving the new plugin a try one evening this week!

  21. johneckman
    Member
    Posted 3 years ago #

    @davidfcarr - not really an accurate picture of WPBook.

    One thing wpbook does is allow you to add a tab to your Fan page, which will show your latest blog posts automatically - for that, it uses FBML because that was all that was available when it was built. We will transition to iframes for that.

    More importantly, what WPBook does is produce a Facebook Application which is a live view into your blog - compare apps.facebook.com/openparenthesis and http://www.openparenthesis.org for an example. Comments made inside facebook show in wordpress and vice-versa. For this view WPBook uses an iFrame - so any post or page you create in WordPress also has a corresponding page/post inside the FB application.

    WPBook can also post excerpts of your blog posts to your wall (or the wall of your Fan page or your group) whenever you blog, and imports comments made against those excerpts to your WordPress blog.

    Fundamentally different use case than using WordPress as a CMS to power custom tabs in Facebook for specific content, I think.

  22. davidfcarr
    Member
    Posted 3 years ago #

    John, no offense intended. I tried to make it clear that my familiarity with WPBook didn't go any deeper than looking at the website for it. Sounds like what I cooked up is targeted at different uses anyway.

  23. Brooke Dukes
    Member
    Posted 3 years ago #

    It may be safe to say that WPBook is more of the Swiss Army Knife and David's Facebook Tab Manager (which I haven't tried) is more of just the corkscrew.

    This isn't to devalue David's work just to say that it seems to be aimed at being a plugin for a single purpose. I think which to use really depends on what you hope to accomplish in the end. It's not as simple as comparing the two on features.

  24. davidfcarr
    Member
    Posted 3 years ago #

    My app is the corkscrew, absolutely.

  25. johneckman
    Member
    Posted 3 years ago #

    @david No offense taken, truly - just clarifying. ;)

  26. justbishop
    Member
    Posted 3 years ago #

    @David: I've installed your plugin, and am afraid that the setup is still too complicated for my purposes. I'm looking for something that will allow blog owners of my Multisite install to easily set up a Facebook tab that will show only their own posts on their Facebook pages, without them having to touch the FB app developer stuff.

    Thanks anyway!

  27. Brooke Dukes
    Member
    Posted 3 years ago #

    @justbishop I still think your best bet may be to use WPBook or David's plugin then create a "Homepage" that list all the pages. Then you should be able to link to apps.facebook.com/yourapp/username? Is the problem coming in when it comes to letting them add the app as a tab? I wonder if there is a way to create a new database setting that tells the app what page to go to. This may let the user set their own homepage.

    For example when you go to the app it has a box that says "User of homepage for app" then they enter in the Username you store the username and userid into a database table (either dependent or independent of WP) then when they go to the app you see if that setting has been set if so you show that app.

    I know it sounds sorta confusing but i hope it helps.

  28. justbishop
    Member
    Posted 3 years ago #

    You totally lost me. It's the Multisite aspect as well as the Facebook side of things that's going completely over my head :/

  29. Brooke Dukes
    Member
    Posted 3 years ago #

    I thought your site was BuddyPress is that correct? Do your URLS that you want to link to look like riotcart.com/username? If so WPBook (or I think David's new tab plugin) would take riotcart.com/username and show that inside the tab view.

    If that's the case you should be able to make a static page that list all of the "/usernames" urls wihth links and set that as the callback url.

    Then all the user would have to do is visit the partent page of the app and click on the user they wanted to see.

    What I was talking about with database is have it so that the user can set a defalt "/username" and then you would save their facebook ID and that username (in a database) to associate on next visit. That should allow them to set that username as a page tab.

    I'm not sure that I understand what you're trying to do 100% though. I hope that's as clear as mud ;)

Topic Closed

This topic has been closed to new replies.

About this Topic