Usage of /users/{ids}/favorites

Discussion

Get the questions that users in {ids} have favorited.

This method is effectively a view onto a user's favorites tab.

{ids} can contain up to 100 semicolon delimited ids, to find ids programatically look for user_id on user or shallow_user objects.

The sorts accepted by this method operate on the follow fields of the question object:

  • activitylast_activity_date
  • creationcreation_date
  • votesscore
  • added – when the user favorited the question
activity is the default sort.

It is possible to create moderately complex queries using sort, min, max, fromdate, and todate.

This method returns a list of questions.

Try It

Stack Overflow [edit]