Monday, April 7, 2014

oDesk Twitter Developer Test Question


Question no.1: which HTTP status code A. A 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

Question no.2: twitter applications are not allowed to be hosted on A sites having personal data or blogs.
a. true
b.fals 

Question no.3: twitter requests return data following data in the following formats :
a. xml
b.json
c.rss
d.atom
e.JsonML

Question no.4: what is the data type of the Favorited data element?
a. integer
b. character
c.boolean
d. varchar

Question no.5: 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

Question no.6: by default how many API requests can a client send per hour?
 a.50
b.100
c.150
d.200

Question no.7: what i 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

Question no.8: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/shows
d.statuses/friends_line

Question no. 9: does the twitter API provide a method for the authenticating user to get a notification from a specied users.
a.yes
b.no

Question no.10: what will the following API call return?
http:/twitter . com/blocks/destroy/john.xml
a.it will block john from the authentication user
b.it will up-block john for the authenticating user
c.it will display all of john's blocked user
d.it will display all of john's up-blocked user.

Question no.11: which function you will use to mark a status as un-favorite?
a.favorite
b.unfavorite
c.destroy
d.follow

  Question no.12: which of the following are necessary to make a request for white list?
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

Question no.13: which of the following is not a parameter of the update peofile account method?
a.name
b.location
c.id
d.url
e.description

Question no.14: what is the data type of the recipient id data element?
a.varchar
b.character
c.boolean
d.none of the above

Question no.15: 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

No comments:

Post a Comment