O'Reilly logo

Facebook Application Development with Graph API Cookbook by Apeksha Singh, Shashwat Srivastava

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a post on the wall of a user's friend

Many a time, we need to post on the wall of a user's friend to either update them with the latest development or inform them about what their other friends have been doing. For example, in a quiz application, we may need to tell the friends what the user has answered about them. The best way to go about this is to post on their wall. This, in turn, gets reflected in their feed, thereby increasing the popularity of the application.

Getting ready

To create a post on the wall of a user's friend, first we need to make sure that our application has acquired publish_stream permission from the current user. Once this permission is given by the user, then we can post on the wall of any user's friend. The important ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required