These Facebook Open Platform Development multiple-choice questions and their answers will help you strengthen your grip on the subject of Facebook Open Platform Development. You can prepare for an upcoming exam or job interview with these 40 Facebook Open Platform Development MCQs.
So scroll down and start answering.
A. Yes
B. No
A. 40
B. 60
C. 80
D. 100
E. No limit
A. notifications.send
B. notifications.sendEmail
C. notifications.email
Analyze the following code and state whether the statement that follows is true or false?
B.
False
A. 16
B. 32
C. 64
D. 128
E. 256
A. sig
B. domain_script
C. callback
D. script_token
A. The application key associated with the calling application
B. The sequence number of the request
C. An MD5 hash of the current request and your secret key
D. The session key of the logged in user
E. None of the above
A. Error while parsing FQL statement
B. The submitted call_id was not greater than the previous call_id for this session
C. One of the parameters specified was missing or invalid
A. An alternative way for the login page that does not contain any Facebook navigational elements
B. You can pass this to the Facebook login URL to allow a user to re-enter their login information
C. Avoid cookie being stored on the client system
D. Infinite session should be maintained to avoid relogin
A. user
B. event_member
C. group_member
D. friend_member
What will happen if you execute the following FQL query?
SELECT eid, name, location
FROM event
WHERE eid IN (SELECT eid
FROM event_member)
A.
The query successfully executes returning eid, name and location.
B.
An error is raised and the error message ‘The field you requested does not exist’ is shown.
C.
The resulting XML response shows an error message: Error while parsing FQL statement.
D.
The error message ‘The table requested doesn't exist’ is shown.
E.
None of the above
A. 110
B. 111
C. 121
D. 130
A. request_id
B. call_id
C. process_id
D. execute_id
A. When the user's login credentials for Facebook are incorrect
B. When the applications API key is invalid
C. When the user already has an application session open with another application
D. When the current session key expires
A. Specialized tables
B. Distributed tables
C. Associations
D. Specialized procedures
E. None of the above
A. require_user()
B. auth_login()
C. auth_user()
D. require_login()
A. friends.getLists
B. friends.getAppUsers
C. friends.areFriends
D. friends.get
A. ceil( FRIENDS / 20 ) * PRIORITY
B. ceil( PRIORITY / 20 ) * USERS
C. ceil( USERS / 20 ) * FRIENDS
D. ceil( PRIORITY / 20 ) * FRIENDS
Which type of associations are associations between objects that can happen when there’s no need to look up a value by some ID for a given object?
Which type of associations are associations between objects that can happen when there’s no need to look up a value by some ID for a given object?
A.
One-way associations
B.
Symmetric associations
C.
Asymmetric associations
D.
None of the above
A. facebook.auth.createToken
B. facebook.auth.getToken
C. facebook.auth.getSession
D. facebook.auth.createSession
A. It is not a function or method associated with the API.
B. This method returns the count of object ids that are associated with a specified object.
C. This method counts the items in an array and then converts them to JSON.
D. This method returns the counts of the associated objects of a list of objects.
A. strlen()
B. strstackpos()
C. strpos()
D. strfind()
A. Invalid user id
B. Invalid album id
C. Invalid photo id
D. Missing or invalid file
A. The first IP to connect to the application is always allowed and the rest are disallowed.
B. A variable called valid_ips is passed upon logging into the application.
C. When the api_key variable is passed to FBAPI, the API can pull these IPs from your application profile.
A. profile.setFBML()
B. profile.setProfileAction()
C. profile.setProfileFMBL()
D. profile.setProfileLink()
A. 10
B. 20
C. 30
D. 40
E. No limit
A. fql.query.execute
B. fql.query
C. fbapi.fql.query
D. None of the above
A. This method is not related to Facebook API.
B. This method returns a list of all defined object types.
C. This method returns the detailed definition of an object type.
D. This method returns the properties of a list of objects by ids.
A. facebook:users
B. facebook:notifications
C. facebook:events
D. facebook:feed
A. user_id
B. profileowner
C. profileuser
D. loggedinuser
A. facebook.fbml.refreshImgSrc
B. facebook.fbml.setRefHandles
C. facebook.fbml.refreshRefUrl
D. facebook.fbml.refreshSrcImg
A. obj.setStyle('height', '200');
B. obj.setStyle('text-decoration', 'underline')
C. obj.setStyle({color: 'black', background: 'white'});
A. The request has come from a remote address not allowed by this application.
B. The API key submitted is not associated with any known application.
C. Wrong number of arguments has passed into the function.
D. The parameters specified have null values.
A. fb:
B. htfb:
C. fbml:
D. None of the above
A. Session key
B. Secret key
C. API key
D. Infinite session
E. User Id
A. One or more of the target ids for this story are invalid. They must all be ids of the friends of the acting user.
B. Either the required parameters are missing from the feed story title template or all the parameters have not been defined in the title_data array.
C. The application has reached the maximum number of requests allowed. More requests are allowed only when the time window has completed.
D. The feed story body_data argument was not a valid JSON-encoded array.
Which FQL method is similar to the following query?
SELECT eid, name, tagline, nid, pic, pic_big, pic_small, host, description,
event_type, event_subtype, start_time, end_time, creator, update_time,
location, venue
FROM event
WHERE eid IN (SELECT eid FROM event_member
WHERE uid=uid AND rsvp_status=rsvp_status) AND
eid IN (eids) AND
end_time >= start_time AND
start_time < end_time
A.
facebook.events.getMembers
B.
facebook.events.get
C.
facebook.events.getAppMembers
D.
None of the above
A. facebook.users.getInfo
B. facebook.groups.get
C. facebook.friends.get
D. facebook.groups.getUsers
E. None of the above.
A. HTTPS
B. IMAP
C. JSON
A. friends.getLists
B. friends.areFriends
C. friends.getAppUsers
D. friends.get
For which division in the Facebook are the following style properties mainly used?
background: #D8DFEA none repeat scroll 0%;
border-top: 1px solid #3B5998;
margin: 0px;
padding: 2px 8px;
A.
Left panel
B.
Right panel
C.
Header
D.
Footer
A. JSON array
B. data
C. fb_sig
D. bool
A. Client Libraries
B. FQL
C. FBML
D. SOAP