[go: up one dir, main page]

0% found this document useful (0 votes)
79 views2 pages

Facebook API Sample Project Guide

The document outlines a sample project for the Facebook API, detailing core resources and a TestCase that includes various TestSteps such as User Request, Me Request, Property Transfer, and User Feed. Authentication is managed through a Facebook access token stored as a project property. Additional resources for obtaining an access token and further information on Facebook APIs are provided.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views2 pages

Facebook API Sample Project Guide

The document outlines a sample project for the Facebook API, detailing core resources and a TestCase that includes various TestSteps such as User Request, Me Request, Property Transfer, and User Feed. Authentication is managed through a Facebook access token stored as a project property. Additional resources for obtaining an access token and further information on Facebook APIs are provided.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

7/8/25, 2:02 PM Facebook API Sample Project | Getting started

 Clear


Community

Tutorials

Web Service Sample Projects

SOAP Sample Project

REST Sample Project

Data Driven Testing

Twitter

Facebook

Flickr

YouTube

AWS

Google Maps

Support

Home / Resources / Tutorials / Facebook

Facebook Sample Project

The Sample project for the Facebook API defines a number of core resources and a corresponding TestCase:

The TestCase performs the following TestSteps


User Request: gets basic information for a specific user and validates that the response contains the expected link to the users facebook page. The
user itself is specified in a project level property and used in both the request parameter and response assertion via property expansion.
Me Request: gets basic information for the user identified by the access token (see below) and validates the facebook link accordingly
Property Transfer: transfers the username in the response of the Me Request to the User Feed request
User Feed: gets the user feed for the specified user and validates the response to contain a number of user actions.

Authentication is performed by specifying a facebook access token in the requests:

[Link] 1/2
7/8/25, 2:02 PM Facebook API Sample Project | Getting started

The project stores the access token as a project property and inserts it into the request via property-expansion.
Read more about the Facebook APIs and get an access token at [Link]
Download Facebook Sample Project

[Link] 2/2

You might also like