MCQs > IT & Programming > Facebook Open Platform Development MCQs > Basic Facebook Open Platform Development MCQs

Basic Facebook Open Platform Development MCQ

1. Which of the following is not a component of the Facebook Platform?

Answer

Correct Answer: SOAP

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

2. Which type of parameters does Batch API require while calling?

Answer

Correct Answer: JSON array

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

3.

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;


Answer

Correct Answer:

Header


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

4. Which method returns a list of your friends?

Answer

Correct Answer: friends.get

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

5. Which communication protocol is used when executing the auth.createToken method in Desktop applications?

Answer

Correct Answer: HTTPS

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

6. Which method can be used to return a set of gids associated with uids?

Answer

Correct Answer: facebook.groups.get

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

7.

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

Answer

Correct Answer:

facebook.events.get


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

8. Which of the following error messages is not associated only with the feed.publishTemplatizedAction method?

Answer

Correct Answer: The application has reached the maximum number of requests allowed. More requests are allowed only when the time window has completed.

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

9. Which of the following are the two most important pieces of information that must be added to every page of your application?

Answer

Correct Answer: Secret key
API key

Note: This question has more than 1 correct answers

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

10. Which of the following prefixes distinguishes between HTML and FBML commands?

Answer

Correct Answer: fb:

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

11. Which of the following is not a valid Facebook API error message?

Answer

Correct Answer: The parameters specified have null values.

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

12. Which of the following syntaxes are valid for setStyle method?

Answer

Correct Answer: obj.setStyle({color: 'black', background: 'white'});

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

13. Which of the following are not valid FBML methods?

Answer

Correct Answer: facebook.fbml.refreshSrcImg

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

14. Which of the following constants can be used in a tag that requires the UID of the current user?

Answer

Correct Answer: loggedinuser

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

15. Which category of REST API calls provides methods to send messages to the users?

Answer

Correct Answer: facebook:notifications

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

16. What does data.getObjectTypes method do?

Answer

Correct Answer: This method returns a list of all defined object types.

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

17. Which of the following methods takes a query and returns a response object?

Answer

Correct Answer: fql.query

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

18. How many maximum items do batch APIs contain?

Answer

Correct Answer: 20

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

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

Answer

Correct Answer: profile.setProfileFMBL()

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

20. How does the Facebook API tie accept IP addresses to your application?

Answer

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

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

21. Which error messages are associated only with the photos.addTag method?

Answer

Correct Answer: Invalid user id
Invalid album id
Invalid photo id

Note: This question has more than 1 correct answers

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

22. Which FQL function returns the position of the character needle in the string haystack?

Answer

Correct Answer: strpos()

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

23. 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

24. Which REST API method creates an authentication token which is then passed to the Facebook authentication mechanism?

Answer

Correct Answer: facebook.auth.createToken

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

25.

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?

Answer

Correct Answer:

One-way associations


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

26. Which of the following methods is used to calculate the Feed Points(FP)?

Answer

Correct Answer: ceil( PRIORITY / 20 ) * FRIENDS

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

27. Which method returns the identifiers of friends signed up for the calling application?

Answer

Correct Answer: friends.getAppUsers

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

28. Which method of Facebook class checks for the session key and redirects the user to the Facebook website to perform the authentication if it is unable to find the session key for the user to work with the application?

Answer

Correct Answer: require_login()

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

29. Which group of API functions has a mechanism that provides better performance for lookups without centralized indexes?

Answer

Correct Answer: Associations

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

30. When will the API_EC_TIMEOUT error come?

Answer

Correct Answer: When the current session key expires

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

31. 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

32. Which one of the following is the Error code for the message

Answer

Correct Answer: 121

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

33.

What will happen if you execute the following FQL query?


       SELECT eid, name, location

       FROM event

       WHERE eid IN (SELECT eid

       FROM event_member)

Answer

Correct Answer:

The resulting XML response shows an error message: Error while parsing FQL statement.  


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

34. Which of the following is not an FQL table?

Answer

Correct Answer: friend_member

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

35. What does the parameter skipcookie mean?

Answer

Correct Answer: You can pass this to the Facebook login URL to allow a user to re-enter their login information

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

36. Which error messages are associated only with FQL?

Answer

Correct Answer: Error while parsing FQL statement

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

37. What does the parameter sig mean?

Answer

Correct Answer: An MD5 hash of the current request and your secret key

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

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

Answer

Correct Answer: callback

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

39. How many character strings do the user preferences for the API consist of for each user?

Answer

Correct Answer: 128

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

40.

Analyze the following code and state whether the statement that follows is true or false?


True 

Answer

Correct Answer:

True 


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

41. By passing the email param to which method can email notifications be sent?

Answer

Correct Answer: notifications.send

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

42. How many maximum notifications can be sent by an application per day?

Answer

Correct Answer: 40

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

43. Does facebook.events.getMembers return the RSVP status for the Facebook members for a given event?

Answer

Correct Answer: Yes

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