Solved

How do you update the status of Facebook subpages?

Posted on 2010-09-23
4
357 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This is an explanation of a simple data model to help parse a JSON feed
A short article about problems I had with the new location API and permissions in Marshmallow
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

762 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now