Solved

How do you update the status of Facebook subpages?

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

756 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