The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Single Facebook Post in WordPress from different Facebook Walls

  • # October 28, 2012 at 10:29 pm

    Ok – this one seems to be ever so elusive.

    Is it possible to pull in just the most recent status from a Facebook page and display that in a WordPress Widget? I need to have the most recent status from 4 different Facebook pages in 4 different widgets in my WordPress site.

    I did the Facebook Like Box – but it slows the site load time down, and all I really want is just one status update, not a list of them like the Like Box brings in.

    # October 30, 2012 at 4:17 pm

    I still haven’t found a way to pull this off – any ideas?

    # October 30, 2012 at 5:38 pm

    If you know a little PHP you could use

    # October 30, 2012 at 5:51 pm

    Hmmm… that one would work. It would be better if there were a way to do it without having to get into each of my client’s Facebook accounts. Is that even possible…?

    # October 31, 2012 at 10:55 am

    Well you can just append **_graph._** to the domain of the fan page.
    You can notice it outputs a JSON which has ID, that is the user_id, just copy it. But you still have to generate the access token, which is the annoying part.

    # November 1, 2012 at 6:07 pm

    I was afraid that was the case. Thank-you for your help!

    # November 1, 2012 at 7:02 pm

    I sent you an access token in a message, use it responsibly ;)

    # November 2, 2012 at 1:33 pm

    Awesome – thank-you! So does that mean that I don’t have to go into every account to generate an access token, I can just do it once from my account and make it work…?

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed