Post you answer
1.Which of the following are the child tags of the fb:editor tag?
- fb:editor-divider
- fb:editor-buttonset
- fb:editor-submit
- fb:editor-menu
- fb:editor-year
- fb:editor-month
2.When will the API_EC_TIMEOUT error come?
- When the user's login credentials for Facebook are incorrect
- When the applications API key is invalid
- When the user already has an application session open with another application
- When the current session key expires
3.Which of the following prefixes distinguishes between HTML and FBML commands?
- fb:
- htfb:
- fbml:
- None of the above
4.Which of the following FBML tags provides detailed statistics about your application?
- fb:tracker
- fb:usage-statistices
- fb:statistices
- None of the above
5.Which group of API functions has a mechanism that provides better performance for lookups without centralized indexes?
- specialized tables
- Distributed tables
- associations
- Specialized procedures
- None of the above
6.Which of the following methods takes a query and returns a response object?
- fql.query.execute
- fql.query
- fbapi.fql.query
- None of the above
7.Which of the following are the two most important pieces of information that must be added to every page of your application?
- Session key
- secert key
- ApI key
- Infinite session
- User ID
8.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;
- Left panel
- right panel
- Header
- Footer
9.Which FBML tag displays the version of FBML currently in scope?
- fb:version
- fb:fbml
- fb:fbmlversion
- fb:fbmlscopeversion
10.Which of the following attributes of the Submit button behaves as a loading indicator to help you let your users know that something is being processed?
- clickrewriteform
- clickrewriteurl
- clickrewritename
- clickrewriteid
- clickrewritevalue
- clickrewriteshow
11.Which element allows checkboxes to change state and buttons to submit forms when set to true?
- clicktohide
- clickthrough
- clicktoggle
- clickshow
12.Which of the following error messages is not associated only with the feed.publishTemplatizedAction method?
- One or more of the target ids for this story are invalid. They must all be ids of the friends of the acting user.
- 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.
- The application has reached the maximum number of requests allowed. More requests are allowed only when the time window has completed.
- The feed story body_data argument was not a valid JSON-encoded array.
13.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?
- require_user()
- auth_login
- auth)user()
- require_login()
14.Which of the following FBML tags displays the content if the logged-in user can view the specified content? Note – ‘can’ may be changed to ‘wants to’ or ‘is entitled to’ depending on the sense.
- fb:if-is-app-user
- fb:if-is-own-profile
- fb:if-is-friends-with-viewer
- fb:if-can-see
- fb:if-is-user
15.Which method is used when adding a link under the user's profile image?
- profile.setFBML()
- profile.setProfileAction()
- profile.setProfileFBML()
- Profile.setProfileLink()
16.What does the Data.getAssociatedObjectsCount do?
- It is not a function or method associated with the API.
- This method returns the count of object ids that are associated with a specified object.
- This method counts the items in an array and then converts them to JSON.
- This method returns the counts of the associated objects of a list of objects.
17.Which of the following extensions are used by fb:mp3 tag?
- .gif
- .mp3
- .wma
- .jpg
18.Which method returns a list of your friends?
- friends.getLists
- friends.areFriends
- friends.getAppUser
- friends.get
19.How many character strings do the user preferences for the API consist of for each user?
- 16
- 32
- 64
- 128
- 256
20.Which alternative FBML tag is used to perform multiple conditional checks instead of using nested if statements?
- fb:nested-if
- fb:selected
- fb:case
- fb:switch
21.Which of the following constants can be used in a tag that requires the UID of the current user?
- user_id
- profileowner
- profileuser
- loggedinuser
22.Analyze the following code and state whether the statement that follows is true or false?
<a href="javascript:alert('Hi');">click me</a>
he above code shows a runtime error.
- True
- False
23.Which FQL function returns the position of the character needle in the string haystack?
- strlen()
- strstackpos()
- strops
- strfind()
24.What does the parameter sig mean?
- The application key associated with the calling application
- The sequence number of the request
- An MD5 hash of the current request and your secret key
- The session key of the logged in user
- None of the above
25.Which tag has a lot of customizable features such as displaying the possessive form of the users name?
- fb:grouplink
- fb:user
- fb:name
- fb:pronoun
26.Which type of error will be returned if you try to configure an FBML version that does not exist?
- execution error: please change your version number
- runtime error: fb:fbml: FBML version does not exist: 1.X
- No error will be returned because the Facebook server will assume that you are using the latest available version.
27.Which method can be used to return a set of gids associated with uids?
- facebook.users.getInfo
- facebook.groups.get
- facebook.friends.get
- facebook.groups.getUsers
- None of the above.
28.Which of the following FBML tags displays the content if the specified user has added the application to their account?
- fb:if-user-has-added-app
- fb:if-is-app-user
- fb:if-can-see
29.>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
- facebook.events.getMembers
- facebook.events.get
- facebook.events.getAppMembers
- None of the above.
30.What does the parameter skipcookie mean?
- An alternative way for the login page that does not contain any Facebook navigational elements
- You can pass this to the Facebook login URL to allow a user to re-enter their login information
- Avoid cookie being stored on the client system
- Infinite session should be maintained to avoid relogin
31.Which method returns the identifiers of friends signed up for the calling application?
- friends.getLists
- friends.getAppUsers
- friends.areFriends
- friends.get
32.How does the Facebook API tie accept IP addresses to your application?
- The first IP to connect to the application is always allowed and the rest are disallowed.
- A variable called valid_ips is passed upon logging into the application.
- When the api_key variable is passed to FBAPI, the API can pull these IPs from your application profile.
33.Which of the following syntaxes are valid for setStyle method?
- obj.setStyle('height', '200');
- obj.setStyle('text-decoration', 'underline')
- obj.setStyle({color: 'black', background: 'white'});
34.Which communication protocol is used when executing the auth.createToken method in Desktop applications?
- HTTPS
- IMAP
- JSON
35.Which of the following is true of the FBML tag fb:visible-to-app-users?
- It displays the content if the user has granted full permission to the application.
- It displays the content if the user is the owner of the application.
- It displays the content to the specified user having the application.
- It displays the content if the user has added the application to their account.
36.Which of the following are not valid FBML methods?
- facebook.fbml.refreshImgSrc
- facebook.fbml.setRefHandles
- facebook.fbml.refreshRefUrl
- facebook.fbml.refreshSrcImg
37.Which of the following are the additional FBML specific attributes of the Submit button?
- clickrewriteform
- clickrewritename
- clickrewritevalue
38.By passing the email param to which method can email notifications be sent?
- notifications.send
- notifications.sendEmail
- notifications.email
39.Which of the following REST API methods can be used to update a user's news feed?
- facebook.feed.publishNewsToUser
- facebook.feed.publishActionOfUser
- facebook.feed.publishGetActionOfUser
40.With desktop applications, which parameter can be used to create a call stack?
request_id
- call_id
- process_id
- execute_id

