Which HTTP Status
code  will be returned by the Twitter API if the client exceeds the
rate limit of sending requests?
a. 400
b. 401
c. 402
d. 403
State whether the
following statement is true or false
Twitter applications are not allowed to be hosted on sites
having personal data or blogs.
a. True
b. False
Which of the
following request headers can be used for making the Status API calls?
a. X-Twitter-Client
b. X-Twitter-Client-type
c. X-Twitter-Client-Version
d. X-Twitter-Client-URL
Twitter requests
return data in the following formats:
a. xml
b. json
c. rss
d. atom
e. JsonML
What will be the
output of the following API call?
http://twitter.com/account/rate_limit_status.xml
a. It will return the number
of remaining API requests allowed before exceeding the rate limit.
b. It will reset your
request count to zero.
c. It will add you to the
whitelist for an enhanced rate limit.
d. It will return the number
of API requests posted in the last one hour.
What is the data
type of the favorited data element?
a. Integer
b. Character
c. Boolean
d. Varchar
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?
a.
http://search.twitter.com/search.atom?lang=en&q=French&rpp=50
b.
http://search.twitter.com/search.atom?lang=fr&q=French&rpp=50
c.
http://search.twitter.com/search.atom?lang=de&q=French&rpp=50
d. http://search.twitter.com/search.atom?lang=gr&q=French&rpp=50
e.
http://search.twitter.com/search.atom?lang=fr&q=German&rpp=50
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?
a. True
b. False
What will the
following API call return?
a. It will return the 10
most recent statuses posted by the authenticating user and that user's friends.
b. It will return the 20
most recent statuses posted by the authenticating user and that user's friends.
c. It will return the 30
most recent statuses posted by the authenticating user and that user's friends.
d. It will return the 40
most recent statuses posted by the authenticating user and that user's friends.
What will the test
function of the help method return?
a. It will return the string
"No Content" in the requested format with a 200 No Content HTTP
status code.
b. It will return the string
"ok" in the requested format with a 200 OK HTTP status code.
c. It will return the string
"ok" in the requested format with a 202 OK HTTP status code.
d. It will return the string
"No Content" in the requested format with a 202 No Content HTTP
status code.
What will be
returned by the following API call?
http://twitter.com/direct_messages.xml
a. It will return the
detailed information about the authenticated user and the user's friend
b. It will return a list of
the 20 most recent direct messages sent to the authenticating user.
c. It will return a list of
all the recent direct messages sent to the authenticating user.
What functions will
the following API call perform?
a. It will send a request for
the authenticating user to follow karl.
b. It will enable
notifications in addition to becoming friend.
c. It will add karl. to the
favorite list in addition to becoming friend.
d. It will give access to
karl to view direct messages in addition to becoming friend.
What will the
search API call return if the search parameter "q" is provided with
the keyword "movie:("?
a. It will search tweets
containing "movie:("
b. It will search tweets
containing "movie:(" and with a negative attitude
c. It will search tweets
containing "movie:(" and with a positive attitude
d. It will search tweets
containing "movie:(" and asking a question
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?
a.
http://twitter.com/direct_messages.xml?page=1
b.
http://twitter.com/direct_messages.xml?page=2
c.
http://twitter.com/direct_messages.xml?page=3
d.
http://twitter.com/direct_messages.xml
By default, how
many API requests can a client send per hour?
a. 50
b. 100
c. 150
d. 200
What is the maximum
number of results per page that can be displayed by the Search API?
a. 20
b. 50
c. 100
d. There is no limit
What will be the
API call to return the IDs of the authenticating user's followers?
a.
http://api.twitter.com/1/friends/ids.format
b.
http://api.twitter.com/1/followers/ids.format
c.
http://api.twitter.com/1/friendships /ids.format
d.
http://api.twitter.com/1/statuses/friends_timeline/ids.format
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?
a. statuses/friends
b. statuses/followers
c. statuses/show
d. statuses/friends_line
What will the
following API call return?
a. It will return the id of
john.
b. It will return the ids of
all the friends of john.
c. It will return the ids of
the mutual friends of john and the authenticating user.
d. It will return an error
notification.
Does the Twitter
API provide a method for the authenticating user to get a notification from a
specified user?
a. Yes
b. No
What will the
Search API call return if the search parameter "q" is provided with
the keyword Air Bus?
a. It will search tweets
containing both "Air" and "Bus".
b. It will search tweets
containing the exact phrase "Air Bus".
c. It will search tweets
containing "Air" but not "Bus".
d. It will search tweets
containing either "Air" or "Bus" or both.
Which function you
will use to mark a status as un-favorite?
a. favorites
b. unfavorites
c. destroy
d. follow
What will the
following API call return?
http://twitter.com/blocks/destroy/john.xml
a. It will block john from
the authenticating user.
b. It will un-block john for
the authenticating user.
c. It will display all of
john's blocked users.
d. It will display all of
john's un-blocked users.
What is the purpose
of requesting whitelisting?
a. To approve the API
created by the developer
b. To increase the rate
limit
c. To send requests for
adding a friend
d. To approve of the
requests of friends
Which of the
following are necessary to make a request for whitelist?
a. You should have a Twitter
account
b. You must be signed in
c. Your Twitter account
should be 6 months older
d. You must be a developer
Which of the
following is not a parameter of the update_profile account method?
a. name
b. location
c. id
d. url
e. description
Which method will
you use to enable notifications for updates from the specified user to the
authenticating user?
a. notifications/follow
b. notifications/leave
c. notifications/notify
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?
a. It should not be more
than 100 characters.
b. It should not be more
than 140 characters.
c. It should not be more
than 200 characters.
d. It depends upon the text.
There is no such character limit.
What is the data
type of the recipient_id data element?
a. Varchar
b. Character
c. Boolean
d. None of the above
What does the
friends_count element describe?
a. The number of users
following a user's updates
b. A Boolean value
indicating if a user is following a given user
c. The number of users a
user is following
No comments:
Post a Comment