MCQs > IT & Programming > Facebook (Programming & App Development) MCQs > Basic Facebook (Programming & App Development) MCQs

Basic Facebook (Programming & App Development) MCQ

1.

Of the allotted amount of notifications that your application can send per day, how many of these can be emails?

Answer

Correct Answer: 10

Note: This Question is unanswered, help us to find answer for this one

2.

Which album will be used if no album is specified when using the photo.upload method?

 

Answer

Correct Answer: The photos are added to the application default album

Note: This Question is unanswered, help us to find answer for this one

3.

How many users must be subscribed to your application before it can be added to the application directory?

Answer

Correct Answer: 5

Note: This Question is unanswered, help us to find answer for this one

4.

When creating a photo album, what is the default return value for cover_pid?

Answer

Correct Answer: 0

Note: This Question is unanswered, help us to find answer for this one

5.

Which variable in the php5 Facebook client has the user id saved?

 

Answer

Correct Answer: $user

Note: This Question is unanswered, help us to find answer for this one

6.

At most an application can send how many notifications per day?

 

Answer

Correct Answer: 40

Note: This Question is unanswered, help us to find answer for this one

7.

A user must log into Facebook before using your application.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

8.

To send notifications to another Facebook user through your application, that user must be?

 

Answer

Correct Answer: subscribed to the same application
in your friends list

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

9.

You cannot use an Iframe to render content within a profile box.

 

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

10.

Which non-standard parameter is required when using the photos.createAlbum method?

Answer

Correct Answer: Name

Note: This Question is unanswered, help us to find answer for this one

11.

When tagging a photo using the photos.addTag method you can pass which two parameters to create a box around the persons face?

Answer

Correct Answer: x,y

Note: This Question is unanswered, help us to find answer for this one

12.

The only way to get the Facebook ID of the user who is logged in is to use this method: users.getLoggedInUser

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

13.

How does the Facebook API tie accepted IP addresses to your application?

Answer

Correct Answer: When the api_key variable is passed to FBAPI the API can pull these IP's from your application profile.

Note: This Question is unanswered, help us to find answer for this one

14.

Applications can send notification messages to a Facebook user's inbox.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

15.

API stands for...

Answer

Correct Answer: Application Programming Interface

Note: This Question is unanswered, help us to find answer for this one

16.

What are Facebook flavors?

Answer

Correct Answer: The interpreter that renders and validates FBML.

Note: This Question is unanswered, help us to find answer for this one

17.

The FQL syntax for returning the current timestamp is which of the following?

Answer

Correct Answer: now()

Note: This Question is unanswered, help us to find answer for this one

18.

Which Hex color code does Facebook use for the Header and Links?

Answer

Correct Answer: #3b5998

Note: This Question is unanswered, help us to find answer for this one

19.

Error code 103 indicates that your signature is incorrect.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

20.

How can an application publish a user action to the public news feed?

Answer

Correct Answer: Facebook servers do this automatically.

Note: This Question is unanswered, help us to find answer for this one

21.

The Facebook Groups.get method returns how many image options for each event?

Answer

Correct Answer: 2

Note: This Question is unanswered, help us to find answer for this one

22.

Which parameter value invokes a redirect after a user logs into Facebook to authenticate your application session?

Answer

Correct Answer: next

Note: This Question is unanswered, help us to find answer for this one

23.

What is MockAJAX?

Answer

Correct Answer: MockAJAX is a dynamic FBML method that allows you to display lightbox alert and confirm boxes.

Note: This Question is unanswered, help us to find answer for this one

24.

Which types of applications does the Facebook API support?

Answer

Correct Answer: External Web Apps
External Desktop Apps
Internal Facebook Apps

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

25.

Which method is used when adding a link under the user's profile image?

Answer

Correct Answer: profile.setFBML()

Note: This Question is unanswered, help us to find answer for this one

26.

What does the Data.getAssociatedObjectsCount do?

Answer

Correct Answer: This method returns the count of object ids that are associated with a specified object.

Note: This Question is unanswered, help us to find answer for this one

27.

For a balanced and centered profile box your content must be about how many pixels wide?

Answer

Correct Answer: 180px

Note: This Question is unanswered, help us to find answer for this one

28.

Which two options are available for Cavnbase page url type in your application settings?

Answer

Correct Answer: Use FBML / Use Iframe

Note: This Question is unanswered, help us to find answer for this one

29.

On the application's About Page a user will always see all of the developer's personal Facebook account information.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

30.

The FQL syntax equivalent to the friends.get method is...

Answer

Correct Answer: SELECT uid2 FROM friend WHERE uid1=loggedInUid

Note: This Question is unanswered, help us to find answer for this one

31.

To override your callback url you must pass the following parameter to the Facebook API:

Answer

Correct Answer: canvas

Note: This Question is unanswered, help us to find answer for this one

32.

Facebook API is only compatible with open source servers like Linux.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

33.

An application can check a user's private messages through Facebook's API.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

34.

To log out of a Facebook application you must link to:

Answer

Correct Answer: http://www.facebook.com/logout.php?confirm=1

Note: This Question is unanswered, help us to find answer for this one

35.

The url for the Facebook Developer Portal is...

Answer

Correct Answer: http://developer.facebook.com

Note: This Question is unanswered, help us to find answer for this one

36.

To stay connected to an external application the user usually must...

Answer

Correct Answer: Check off "Save my login info" box on the login page.

Note: This Question is unanswered, help us to find answer for this one

37.

Email notifications can be sent by passing the email param to which method?

Answer

Correct Answer: notifications.send

Note: This Question is unanswered, help us to find answer for this one

38.

Which of the following are NOT optional parameters that can be passed to the feed.publishStoryToUser method?

Answer

Correct Answer: header

Note: This Question is unanswered, help us to find answer for this one

39.

What are Profile Action Links?

Answer

Correct Answer: Links under the user's profile picture which link to more information about their use of your application.

Note: This Question is unanswered, help us to find answer for this one

40.

With desktop applications which parameter can be used to create a call stack?

Answer

Correct Answer: call_id

Note: This Question is unanswered, help us to find answer for this one

41.

Within a Facebook Application the 'canvas page' is...

Answer

Correct Answer: The right column of the Facebook site. It can be as large, or larger than a user's profile page

Note: This Question is unanswered, help us to find answer for this one

42.

Which types of interface does the Facebook API use?

Answer

Correct Answer: REST
HTTP

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

43.

The FB API requires only one key to be passed when connecting.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

44.

When using the photos.getAlbums method, what will happen if you omit the optional parameters?

Answer

Correct Answer: . You will get a 100 Error

Note: This Question is unanswered, help us to find answer for this one

45.

A Facebook application can have an infinite session:

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

46.

A developer has to be logged in to use the test console.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

47.

Which url would allow you to open a Facebook login box without leaving the application page?

Answer

Correct Answer: http://www.facebook.com/login.php?api_key=YOUR_API_KEY&v=1.0&popup=1

Note: This Question is unanswered, help us to find answer for this one

48.

When using the Groups.get method, what is returned if both optional parameters are omitted?

Answer

Correct Answer: All groups related to the session user are returned.

Note: This Question is unanswered, help us to find answer for this one

49.

FQL stands for...

Answer

Correct Answer: Facebook Query Language

Note: This Question is unanswered, help us to find answer for this one

50.

In which situations will you recieve the $API_EC_TIMEOUT error?

Answer

Correct Answer: When the current session key expires.

Note: This Question is unanswered, help us to find answer for this one

51.

Which of the following is not an event RSVP status?

Answer

Correct Answer: not sure

Note: This Question is unanswered, help us to find answer for this one

52.

Email notifications are sent in plain text only; they do not support html.

Answer

Correct Answer: 10

Note: This Question is unanswered, help us to find answer for this one

53.

Email notifications are sent in plain text only; they do not support html.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

54.

What are the dimensions of the Facebook canvas?

Answer

Correct Answer: width:646px height:auto

Note: This Question is unanswered, help us to find answer for this one

55.

Which non-standard characters can you set as the 'separator' parameter when authenticating your application session?

Answer

Correct Answer: &
?

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

56.

When tagging a photo using the photos.addTag method, the tags parameter is normally in what format?

Answer

Correct Answer: JSON

Note: This Question is unanswered, help us to find answer for this one

57.

The Facebook v1 API supports SOAP protocols.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

58.

What is FBJS:

Answer

Correct Answer: Facebook Java Script

Note: This Question is unanswered, help us to find answer for this one

59.

The deletion associated to data.dropObjectType is reversible.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

60.

Which of the following is not a FQL table?

Answer

Correct Answer: email_address

Note: This Question is unanswered, help us to find answer for this one

61.

What restrictions are put on your applications logo?

Answer

Correct Answer: 75px x 75px and can be JPG, GIF, or PNG

Note: This Question is unanswered, help us to find answer for this one

62.

To find out if a user has added your application you should use the following method:

Answer

Correct Answer: users.isAppAdded

Note: This Question is unanswered, help us to find answer for this one

63.

Email notifications must always include the fb:name tag in the beginning email body.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

64.

The sig parameter passed to the authentication method is a md4 hash of the current request and your secret key.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

65.

Users can leave questions and reviews on your application page.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

66.

Error code 103 indicates that....

Answer

Correct Answer: The submitted call_id has not incremented since the last call_id was passed.

Note: This Question is unanswered, help us to find answer for this one

67.

Desktop applications must use which protocol when executing the auth.createToken 
method?

Answer

Correct Answer: HTTPS

Note: This Question is unanswered, help us to find answer for this one

68.

Which FQL statement example is most likely to return the user's friends who are also subscribed to your application?

Answer

Correct Answer: SELECT uid FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=$loggedInUid) AND is_app_user

Note: This Question is unanswered, help us to find answer for this one

69.

How do you change the format that Facebook methods will use to return data to your application?

Answer

Correct Answer: Your application will pass a 'format' GET variable to the API indicating a supported format.

Note: This Question is unanswered, help us to find answer for this one

70.

FQL supports certain string function calls that can evaluate a string before executing a query.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

71.

FBML stands for...

Answer

Correct Answer: Facebook Markup Language

Note: This Question is unanswered, help us to find answer for this one

72.

Finished applications that have been submitted show up in...

Answer

Correct Answer: Facebook Application Directory

Note: This Question is unanswered, help us to find answer for this one

73.

What is a Post-Add Url?

Answer

Correct Answer: The url of the applications home page: http://apps.facebook.com/appname/

Note: This Question is unanswered, help us to find answer for this one

74.

Which formats does the auth.createToken method support when returning data?

Answer

Correct Answer: JSON
XML

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

75.

If your API key is invalid you will receive the following error number from the Facebook API:

Answer

Correct Answer: 101

Note: This Question is unanswered, help us to find answer for this one

76.

When using the friends.areFriends method, which form of data can the uid parameters be in?

Answer

Correct Answer: integer
array

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

77.

Facebook Applications can use cross-domain scripting by submitting which variable when authenticating the auth token?

Answer

Correct Answer: callback

Note: This Question is unanswered, help us to find answer for this one

78.

How can you find out which of the user's friends are also subscribed to your application?

Answer

Correct Answer: friends.getAppUsers()

Note: This Question is unanswered, help us to find answer for this one

79. What would you use a trait for? (add it in PHP 5 as well)

Answer

Correct Answer: To use the same functions across multiple classes.

Note: This Question is unanswered, help us to find answer for this one

80. True or False? When a user logs into an app, the app automatically gets access to their public profile and friend list.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

81. True or False? The time stamp on Facebook pages are in UNIX format.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

82. In the Ads API, which Graph API Queries are available?

Answer

Correct Answer: Broad Target Categories, Connection Objects, Ad Statistics, Keyword Stats, Reach Estimate, Autocomplete Data

Note: This Question is unanswered, help us to find answer for this one

83. What is the function of "Open Graph"?

Answer

Correct Answer: Display Facebook stories

Note: This Question is unanswered, help us to find answer for this one

84. What are the three different ways of implementing the 'Like' button?

Answer

Correct Answer: HTML5, XFBML and iframe

Note: This Question is unanswered, help us to find answer for this one

85. What does this query do? SELECT uid, name, pic_square FROM user WHERE uid = me() OR uid IN (SELECT uid2 FROM friend WHERE uid1 = me())

Answer

Correct Answer: Fetches all user information for the active user and friends

Note: This Question is unanswered, help us to find answer for this one

86. Which of these statements is not true of queries in the FQL API?

Answer

Correct Answer: You can use the IN keyword in SELECT or WHERE clauses to do subqueries, and can reference variables in the outer query's scope

Note: This Question is unanswered, help us to find answer for this one

87. hCalendar and hCard are examples of:

Answer

Correct Answer: Microformats

Note: This Question is unanswered, help us to find answer for this one

88. To how many countries can you set a Facebook ad to target?

Answer

Correct Answer: 25

Note: This Question is unanswered, help us to find answer for this one

89. Your application should not send notifications to users who have not visited your application in the last:

Answer

Correct Answer: 28 days

Note: This Question is unanswered, help us to find answer for this one

90. What are the four elements of a story on Open Graph?

Answer

Correct Answer: Actor, App, Action, and Object

Note: This Question is unanswered, help us to find answer for this one

91. What does the Share Dialog do?

Answer

Correct Answer: Supports status updates, link shares and publishing Open Graph actions

Note: This Question is unanswered, help us to find answer for this one

92. Applications that send over 500,000 notifications are required to maintain a weekly Click-To-Impression percentage of:

Answer

Correct Answer: 17%

Note: This Question is unanswered, help us to find answer for this one

93. Which of the following describes the action type that is associated with the creation of the object?

Answer

Correct Answer: Creation action

Note: This Question is unanswered, help us to find answer for this one

94. How many tables can the FQL FROM clause contain?

Answer

Correct Answer: One

Note: This Question is unanswered, help us to find answer for this one

95. When mentioning users in notifications, which syntax should you use?

Answer

Correct Answer: (@[USER_ID])

Note: This Question is unanswered, help us to find answer for this one

96. Which of these is unacceptable for an app detail page submission?

Answer

Correct Answer: Banners that have a white background

Note: This Question is unanswered, help us to find answer for this one

97. What are the three elements of Facebook's social design?

Answer

Correct Answer: Community, Conversation, Identity

Note: This Question is unanswered, help us to find answer for this one

98. The most efficient way to manage ads on the Ads API is via:

Answer

Correct Answer: Batched requests

Note: This Question is unanswered, help us to find answer for this one

99. adaccount, adaccountgroup, adcampaign, adcreative, adgroup, adimage, and aduser are examples of what?

Answer

Correct Answer: Graph API Objects

Note: This Question is unanswered, help us to find answer for this one

100. Which of these is not an option for targeting ads?

Answer

Correct Answer: Photos

Note: This Question is unanswered, help us to find answer for this one

101. How can you get user_id of current session user using graph api in PHP (consider $facebook as the Facebook object)?

Answer

Correct Answer: $facebook->getUser();

Note: This Question is unanswered, help us to find answer for this one

102. How do you get a User id in PHP API?

Answer

Correct Answer: $user_id = $facebook->getUser();

Note: This Question is unanswered, help us to find answer for this one

103. The primary way to get data in and out of Facebook is by using a:

Answer

Correct Answer: Graph API

Note: This Question is unanswered, help us to find answer for this one

104. What is the data format to refund a completed payment?

Answer

Correct Answer: JSON

Note: This Question is unanswered, help us to find answer for this one

105. What is the current way to retrieve posts from an open Facebook Group?

Answer

Correct Answer: GET /{group_id}/feed

Note: This Question is unanswered, help us to find answer for this one

106. Common Dialog Parameters are:

Answer

Correct Answer: app_id, redirect_uri, display

Note: This Question is unanswered, help us to find answer for this one

107. What query language do Facebook applications use?

Answer

Correct Answer: FQL

Note: This Question is unanswered, help us to find answer for this one

108. What is the correct API endpoint to retrieve Facebook Posts for the logged in user

Answer

Correct Answer: /me/feed

Note: This Question is unanswered, help us to find answer for this one

109. How can you get current sessions user's profile via the Graph API in PHP?

Answer

Correct Answer: $facebook->api('/me');

Note: This Question is unanswered, help us to find answer for this one

110. In Graph API 2.0, what is the current way to get tag friends in stories (e.g. status update or actions)?

Answer

Correct Answer: Getting friends' ID from /me/taggable_friends, and posting the ID using "tags" parameter

Note: This Question is unanswered, help us to find answer for this one

111. What is an 'access token' ?

Answer

Correct Answer: String that provides temporary, secure access to Facebook APIs

Note: This Question is unanswered, help us to find answer for this one

112. What authentication does Facebook use?

Answer

Correct Answer: OAuth2.0

Note: This Question is unanswered, help us to find answer for this one

113. Which fields are used to create an account in the Ad Account API?

Answer

Correct Answer: access_token, currency_id, name, timezone_id

Note: This Question is unanswered, help us to find answer for this one

114. Facebook provides SDKs for ____

Answer

Correct Answer: iOS, Android, and the web

Note: This Question is unanswered, help us to find answer for this one

115. When you run your ad or sponsored story you will be only charged for the number of:

Answer

Correct Answer: Clicks

Note: This Question is unanswered, help us to find answer for this one

116. Where is the App ID located?

Answer

Correct Answer: App Dashboard - top of the basic settings page

Note: This Question is unanswered, help us to find answer for this one

117. What should you NOT do when customizing user experiences

Answer

Correct Answer: Requiring all user's to log in immediately when using your app

Note: This Question is unanswered, help us to find answer for this one

118. When is an access token only valid for 2 hours?

Answer

Correct Answer: Client-side auth flow

Note: This Question is unanswered, help us to find answer for this one

119. How is the registered return URL used in OpenID Connect?

Answer

Correct Answer: The developer should pass the exact return URL during the authorize call.

Note: This Question is unanswered, help us to find answer for this one

120. Your instant messaging client connects to Facebook Chat via the ____ service.

Answer

Correct Answer: Jabber/XMPP

Note: This Question is unanswered, help us to find answer for this one

121. Applications on Facebook are loaded on to a:

Answer

Correct Answer: Canvas page

Note: This Question is unanswered, help us to find answer for this one

122. Object properties in Open Graph are defined as:

Answer

Correct Answer: og:

Note: This Question is unanswered, help us to find answer for this one

123. What APIs does Facebook offer

Answer

Correct Answer: Graph API, FQL, Open Graph, Dialogs, Chat, Ads API

Note: This Question is unanswered, help us to find answer for this one

124. Running the query "SELECT uid2 FROM friend WHERE uid1=me()" will GET

Answer

Correct Answer: /fql?q=SELECT+uid2+FROM+friend+WHERE+uid1=me()&access_token=...

Note: This Question is unanswered, help us to find answer for this one

125. What type of requests can be sent from a Facebook App?

Answer

Correct Answer: User-generated requests and app-generated requests

Note: This Question is unanswered, help us to find answer for this one

126. True or False? Access tokens do not expire.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

127. FQL stands for:

Answer

Correct Answer: Facebook Query Language

Note: This Question is unanswered, help us to find answer for this one

128. In the Ads API, which targeting option is not available

Answer

Correct Answer: Children

Note: This Question is unanswered, help us to find answer for this one

129. Which of these generate access tokens?

Answer

Correct Answer: App Secret and App ID

Note: This Question is unanswered, help us to find answer for this one

130. FBJS stands for:

Answer

Correct Answer: Facebook Javascript

Note: This Question is unanswered, help us to find answer for this one

131. True or False? One ad user may have multiple ad accounts.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

132. Instead of calling one of the static openActiveSession* methods, your app can achieve the same flow by:

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

133. True or False? Every application needs an application details page.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

134. Which one of these are publicly available when a user accesses your app?

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

135. If your application does this, you must use Facebook Platform authentication instead of Facebook Chat

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

136. What does en_US mean

Answer

Correct Answer: Language will be English

Note: This Question is unanswered, help us to find answer for this one

137. True or False? You may publish a photo on a user's timeline with an access token.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

138. True or False? Other Facebook users can translate your application into other languages.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

139. Facebook Chat supports Facebook Platform authentication using the ___________ authentication mechanism

Answer

Correct Answer: X-FACEBOOK-PLATFORM SASL

Note: This Question is unanswered, help us to find answer for this one

140. How does Facebook chat differ from what you would expect from a traditional XMPP service

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

141. True or False? You can read recent page posts with the 'like box'.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

142. True or False? Facebook uses Etags

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

143. A user must have a Facebook username to use DIGEST-MD5

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

144. What does the 'Registration plugin' do?

Answer

Correct Answer: Let users easily sign up for your website with their Facebook account

Note: This Question is unanswered, help us to find answer for this one

145. You can issue a HTTP GET request to /fql?q=query where query can be a single fql query or a JSON-encoded dictionary of queries.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

146. What does an access token identify?

Answer

Correct Answer: User, App or Page

Note: This Question is unanswered, help us to find answer for this one

147. A Facebook app should have:

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one