Solved

How do you update the status of Facebook subpages?

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

This article discusses how to create an extensible mechanism for linked drop downs.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

807 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