Solved

How do you update the status of Facebook subpages?

Posted on 2010-09-23
4
360 Views
Last Modified: 2012-05-10
I have a facebook application to update the status of a facebook user, see http://developers.facebook.com/docs/api

How do I update the status of supbages?
0
Comment
Question by:pmsguy
  • 3
4 Comments
 
LVL 12

Expert Comment

by:rowejd
ID: 33753140
Facebook status updates occur at the user profile level regardless of what page you're on.  You're able to update a status from the news feed page, the personal profile page, etc...but if you update the status in one place or another, it does the same thing.

Using the API to update a status updates it for a user's profile across the board.  Or am I misunderstanding your question?
0
 

Author Comment

by:pmsguy
ID: 33756451
You can create business pages and link them to your personal account, see http://www.facebook.com/pages/create.php

How do you use the graph protocol to update the status of the business page, NOT the main personal page?


0
 
LVL 12

Accepted Solution

by:
rowejd earned 500 total points
ID: 33756602
Ah, yes, the old "fan" pages, now just referred to as "pages"..."subpages" threw me off, sorry 'bout that.

The Facebook forums at one time indicated this was not yet possible:
http://forum.developers.facebook.net/viewtopic.php?pid=155004

If you follow that thread, there's an article where someone got it working with Ruby, but I'm assuming since this question's category is PHP, that's your preference--his workaround may give some principles to follow, though.
0
 
LVL 12

Expert Comment

by:rowejd
ID: 33756640
One more link if you've not seen it.  This article: http://getsatisfaction.com/pingfm/topics/posting_updates_to_facebook_fan_pages_api_supports_it

...suggests you can use the code below.  This was published some time ago, but I believe the feed_publishTemplatizedAction function still works.
$facebook->api_client->feed_publishTemplatizedAction($feed_title_template, $feed_title_data, $feed_body_template, "", $page_id, $feed_image, $feed_image_link);

Open in new window

0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question