Solved

How do you update the status of Facebook subpages?

Posted on 2010-09-23
4
364 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
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…
The viewer will learn how to dynamically set the form action using jQuery.

739 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