MCQs > IT & Programming > Twitter-Development MCQs > Basic Twitter-Development MCQs

Basic Twitter-Development MCQ

1.

Which of the following request headers can be used for making the Status API calls?

Answer

Correct Answer: a.X-Twitter-Client

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

2.

Which of the following are necessary to make a request for whitelist?

Answer

Correct Answer: a.You should have a Twitter account

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

3. What will be the output of the following API call?

http://twitter.com/account/rate_limit_status.xml


Answer

Correct Answer: It will return the number of remaining API requests allowed before exceeding the rate limit.

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

4. What is the purpose of requesting whitelisting?


Answer

Correct Answer: To approve the API created by the developer

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

5. What will the following API  call return?

http://twitter.com/statuses/friends_timeline.xml


Answer

Correct Answer: It will return the 20 most recent statuses posted by the authenticating user and that user's friends.

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

6. You can update the status of the authenticated users using the update status method. What is the maximum length allowed for the text for your status update?


Answer

Correct Answer: It should not be more than 140 characters.

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

7. What will the following API call return?

http://twitter.com/blocks/destroy/john.xml


Answer

Correct Answer: It will un-block john for the authenticating user.

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

8. The Notification Methods require the authenticated user to already be friends with the specified user otherwise the error "there was a problem following the specified user" will be returned?


Answer

Correct Answer: True

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

9. What is the data type of the favorited data element?


Answer

Correct Answer: Boolean

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

10. What is the maximum number of results per page that can be displayed by the Search API?


Answer

Correct Answer: 100

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

11. What is the data type of the recipient_id data element?


Answer

Correct Answer: None of the a

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

12. Suppose you want to use the Search API for returning results pertaining to the keyword 'French'. The results should be returned in German and there should be 50 results per page.

Which API call will you use?


Answer

Correct Answer: http://search.twitter.com/search.atom?lang=de&q=French&rpp=50

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

13. By default, how many API requests can a client send per hour?


Answer

Correct Answer: 150

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

14. What will be returned by the following API call?

https://api.twitter.com/1/direct_messages.format


Answer

Correct Answer: It will return a list of all the recent direct messages sent to the authenticating user.

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

15. What will the search API call return if the search parameter "q" is provided with the keyword "movie:("?


Answer

Correct Answer: It will search tweets containing "movie:(" and with a negative attitude

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

16. What will be the API call to return the IDs of the authenticating user's followers?


Answer

Correct Answer: http://api.twitter.com/1/followers/ids.format

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

17. State whether the following statement is true or false

Twitter applications are not allowed to be hosted on sites having personal data or blogs.


Answer

Correct Answer: True

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

18. What functions will the following API call perform?

http://twitter.com/friendships/create/karl.json?follow=true


Answer

Correct Answer: It will send a request for the authenticating user to follow karl.

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

19. Supposing that in your direct message box, you have 25 messages, and you want to display the messages after the twentieth message.

What will be the requesting API call?


Answer

Correct Answer: http://twitter.com/direct_messages.xml?page=2

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

20. Which API call will you use to return the authenticating user's friends in the order by which the user followed them ,most recently followed first?


Answer

Correct Answer: statuses/friends

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

21. What does the friends_count element describe?


Answer

Correct Answer: The number of users a user is following

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

22. Which of the following is not a parameter of the update_profile account method?


Answer

Correct Answer: id

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

23. Which method will you use to enable notifications for updates from the specified user to the authenticating user?


Answer

Correct Answer: notifications/follow

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

24. Which HTTP Status code will be returned by the Twitter API if the client exceeds the rate limit of sending requests?


Answer

Correct Answer: 400

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

25. Does the Twitter API provide a method for the authenticating user to get a notification from a specified user?


Answer

Correct Answer: Yes

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

26. What will the test function of the help method return?


Answer

Correct Answer: It will return the string "ok" in the requested format with a 200 OK HTTP status code.

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

27. Twitter requests return data in the following formats:


Answer

Correct Answer: xml

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

28. State whether the following statement is true or false.

There is no API call method available to an authenticating user for unblocking a specified user.


Answer

Correct Answer: False

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

29. What will the following API call return?

http://twitter.com/friends/ids/john.xml


Answer

Correct Answer: It will return the ids of all the friends of john.

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

30. Which function you will use to mark a status as un-favorite?


Answer

Correct Answer: destroy

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

31. True or False? Embedded objects are stale and inaccurate.

Answer

Correct Answer: True

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

32. When should you get a user's permission for using tweet content?

Answer

Correct Answer: All of these

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

33. How do you add the "Tweet This" button to your website?

Answer

Correct Answer: Paste the official Twitter generated code snippet into the appropriate section of your website's HTML code

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

34. How do I properly navigate a timeline?

Answer

Correct Answer: All of these

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

35. To ensure a website is accompanied by a Twitter Card when tweeted, developers must what?

Answer

Correct Answer: Include and validate page-level metadata.

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

36. The Twitter API is entirely based on which protocol?

Answer

Correct Answer: HTTP

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

37. Which of these methods could you employ to avoid being rate limited?

Answer

Correct Answer: All of these

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

38. Which parameter is a comma-separated list of phrases which will be used to determine what Tweets will be delivered on the stream?

Answer

Correct Answer: track

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

39. How long are t.co links?

Answer

Correct Answer: HTTP-based t.co links are 20 chars long

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

40. What are public streams?

Answer

Correct Answer: Suitable for following specific users or topics, and data mining.

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

41. When should HTML be filtered out?

Answer

Correct Answer: When it isn't needed for some user-facing form

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

42. Why would you want to connect to the API through SSL?

Answer

Correct Answer: It preserves user privacy by protecting information between the user and the API

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

43. If the "suppress_response_code" parameter is present, how will all responses be returned?

Answer

Correct Answer: With a 200 OK status code

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

44. What standards does the Twitter API 1.1 support?

Answer

Correct Answer: JSON

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

45. Which of the following are NOT Streaming API request parameters?

Answer

Correct Answer: filter_tweets

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

46. What does the current_user_retweet object do?

Answer

Correct Answer: Details the Tweet ID of the user's own retweet (if existent) of this Tweet.

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

47. What will the follow parameter NOT return

Answer

Correct Answer: Tweets mentioning the user (e.g. “Hello @twitterapi!”).

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

48. How do you get Whitelisted?

Answer

Correct Answer: REST & Search API Whitelisting is not provided

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

49. Twitter Platform objects include

Answer

Correct Answer: Tweets, Users, Entities, Places

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

50. What is the string "source"?

Answer

Correct Answer: Utility used to post the Tweet, as an HTML-formatted string

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

51. When a user authenticates, which logic applies?

Answer

Correct Answer: You must display the user's avatar, user name, and the designated Twitter icon

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

52. What is the query parameter for the share tweet url that, if set to true, will prevent twitter from returning tailored content to your users?

Answer

Correct Answer: dnt

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

53. The Twitter API v 1.1 requires all applications to authenticate all of their requests with OAuth 1.0a

Answer

Correct Answer: False

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

54. Which of these is not part of the REST API?

Answer

Correct Answer: POST update/account

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

55. What is cursoring?

Answer

Correct Answer: Reading a timeline relative to the IDs of Tweets it has already processed

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

56. Which parameter controls the types of messages delivered to User and Site Streams client

Answer

Correct Answer: with

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

57. Which of these are not properties of tweet box may access?

Answer

Correct Answer: votes

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

58. Whic parameter is a comma-separated list of user IDs, indicating the users whose Tweets should be delivered on the stream?

Answer

Correct Answer: follow

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

59. What does PHP use for SSL communication?

Answer

Correct Answer: Libcurl

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

60. What is Snowflake?

Answer

Correct Answer: A service Twitter uses to generate unique Tweet IDs

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

61. Using synchronous JavaScript is an advantage in which situation?

Answer

Correct Answer: A display element containing data from the Twitter API is featured in the users view.

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

62. Opening more than one connection to a public endpoint will cause what to happen?

Answer

Correct Answer: Previous connections are closed.

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

63. Which of these parts make up the Twitter API?

Answer

Correct Answer: Two REST APIs and a Streaming API

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

64. When reconnecting to a streaming endpoint, elevated access clients may include the _______ parameter to attempt to backfill missed messages which occurred during the disconnect period.

Answer

Correct Answer: count

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

65. Where does streaming occur?

Answer

Correct Answer: Between your HTTP server and Twitter's API servers

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

66. Why wont results containing the withheld_copyright property set to true deliver the contents of any tweet?

Answer

Correct Answer: There has been a DCMA request against the content.

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

67. Using asynchronous JavaScript is an advantage in which situation?

Answer

Correct Answer: Display elements require what the user sees to be delivered before starting any process.

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

68. Which of these are NOT supported Web Intent languages?

Answer

Correct Answer: Russian

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

69. What purpose does twitter.com/intent/favorite serve?

Answer

Correct Answer: Updates the user's profile, allowing them to track a tweet as one of their favorites.

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

70. What must occur for every occurance of a Twitter stream?

Answer

Correct Answer: Connection to twitter is opened, begin listening to stream.

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

71. How can a developer solve the redundant API call problem when fetching Tweets in a timeline?

Answer

Correct Answer: Use the max_id parameter

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

72. Do web intents require JavaScript?

Answer

Correct Answer: No, but JavaScript enhances their delivery

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

73. What does in_reply_to_user_id_str do?

Answer

Correct Answer: If the represented Tweet is a reply, this field will contain the string representation of the original Tweet's author ID

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

74. What is a Player Card?

Answer

Correct Answer: A tweet with embedded media such as video or audio.

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

75. Authenticating using signatures means using what kind of encryption?

Answer

Correct Answer: HMAC-SHA1

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

76. True or False? Site Streams does NOT offer the ability to track real-time "searches" on public tweets, mixed in with the "me feed."

Answer

Correct Answer: True

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

77. What does the REST API enable?

Answer

Correct Answer: Enables developers to access some of the core primitives of Twitter including timelines, status updates, and user information

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

78. When are links wrapped with t.co?

Answer

Correct Answer: Links will be wrapped when Twitter receives a tweet using POST statuses/update or a direct message using POST direct_messages/new.

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

79. What are endpoints ?

Answer

Correct Answer: Structured URLs to Twitter API web services

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

80. When storing a numeric Twitter user id in an 3rd party database, what type should the value be?

Answer

Correct Answer: 64 bit integer

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

81. What is the Twitter supplied cipher default?

Answer

Correct Answer: RC4

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

82. Non-space separated languages, such as CJK and Arabic, are supported by the Streaming API

Answer

Correct Answer: False

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

83. How do you count favorites?

Answer

Correct Answer: Favorite counts aren't available throughout the API at this time

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

84. After validating your network and code, what should you do before anything else if you are having connection difficulties?

Answer

Correct Answer: Check Twitter's developer site for useful status information.

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

85. What is the Search API limit?

Answer

Correct Answer: 180 queries per 15 minute window

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

86. What types of character-encoding is accepted by the Twitter API?

Answer

Correct Answer: UTF-8

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

87. What does the field "possibly_sensitive" denote, in regards to tweets?

Answer

Correct Answer: The URL contained in a tweet may contain content identified as sensitive

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

88. What does Twitter use for character encoding?

Answer

Correct Answer: UTF-8

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

89. In what format does the API return error messages?

Answer

Correct Answer: JSON and XML

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

90. If you want to attach media experiences to Tweets that link to your content, which Twitter Platform tool do you use?

Answer

Correct Answer: Twitter Cards

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

91. True or False? The "page" parameter begins on 1, not 0.

Answer

Correct Answer: True

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

92. The Twitter API is not meant for use in mobile/smart phone applications

Answer

Correct Answer: False

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

93. What are Twitter Cards

Answer

Correct Answer: They make it possible for you to attach media experiences to Tweets that link to your content.

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

94. Rate limits are what?

Answer

Correct Answer: A limit on how many requests Twitter's API servers will accept in a given timeframe.

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

95. True of False? Search queries need to be authenticated in version 1.1.

Answer

Correct Answer: True

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

96. True or False? It is a best practice to always store user passwords?

Answer

Correct Answer: False

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

97. Which parameter is a comma-separated list of longitude,latitude pairs specifying a set of bounding boxes to filter Tweets by?

Answer

Correct Answer: locations

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

98. What does the field "created_at" denote, in regards to tweets?

Answer

Correct Answer: The UTC time when a tweet was created

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

99. How are rate limits determined on the Streaming API?

Answer

Correct Answer: The public streaming APIs cap the number of messages sent to your client to a small fraction of the total volume of Tweets at any given moment

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

100. Which of these is NOT an example of a Twitter card?

Answer

Correct Answer: Game

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

101. Twitter API uses signatures for some forms of authenticated requests. Signatures must maintain compatibility with what ?

Answer

Correct Answer: OAuth API

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

102. When do Twitter's OAuth 1.1A access tokens expire?

Answer

Correct Answer: There is no explicit expiration datetime attached to them.

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

103. How do I walk a timeline by date or time?

Answer

Correct Answer: There are no explicit methods to do so. Use since_id and max_id to consume a timeline linearly

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

104. What does REST stand for?

Answer

Correct Answer: Representational State Transfer

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

105. Which parameter, when set to the string true, will cause periodic messages to be delivered if the client is in danger of being disconnected?

Answer

Correct Answer: stall_warning

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

106. What is an Embedded Tweet?

Answer

Correct Answer: Device independant HTML with optional JavaScript and web intents

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

107. Which of these are not APIs that Twitter offers?

Answer

Correct Answer: Java API

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

108. What does GET search/tweets return?

Answer

Correct Answer: Returns a collection of relevant Tweets matching a specified query

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

109. What is CURL frequently used for?

Answer

Correct Answer: Testing web applications and communication with the API

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

110. What purpose does twitter.com/intent/retweet serve?

Answer

Correct Answer: Allow users to post an existing tweet to their own profile.

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

111. Which API allows allows access to the nouns and verbs of Twitter such as reading timelines, tweeting, and following?

Answer

Correct Answer: The REST API

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

112. How should connection errors be handled?

Answer

Correct Answer: Return a descriptive error message to the user

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

113. Twitter was originally developed using what programming framework?

Answer

Correct Answer: Ruby on Rails

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

114. True or False? the API only allows for one, Twitter approved, Tweet Button design.

Answer

Correct Answer: False

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

115. What does it mean to "tweet" a blog article?

Answer

Correct Answer: A user viewing a blog article clicks on the tweet button. The user must sign in to their Twitter account if they are logged on. Users are then presented with options to share the URL with their follows.

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

116. An entity result has the following value for the "hashtag" property: "hashtags":[{"indices":[32,36],"text":"lol"}] What does this value mean?

Answer

Correct Answer: The user commented in the lol topic stream. The parser found #lol between the 32nd and 36th characters in the user's tweet.

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

117. When consuming the API using JSON, it is important to always use which field instead of "id?"

Answer

Correct Answer: id_str

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

118. What action can help avoid rate limits?

Answer

Correct Answer: Place the API result in a cache.

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

119. How should you Check CRLs and the OCSP status?

Answer

Correct Answer: Ensure that your application or SSL library is configured to force verification

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

120. What is the purpose of embeddable timelines?

Answer

Correct Answer: Syndicate any public timeline to your website

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

121. Twitter servers prefer to respond in JSON format.

Answer

Correct Answer: True

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

122. True of False? There is a limit to how many calls and changes you can make in a day.

Answer

Correct Answer: True

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

123. What does API stand for?

Answer

Correct Answer: Application Programming Interface

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