Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

I was looking for a way to IFTTT my questions, and found this recipe, that automaqically saves your favourited questions to Evernote. Nice. It uses stack2rss (thus the SE API) to provide a feed with this URL http://stack2rss.stackexchange.com/stackoverflow/users/ID/favorites?body=true

Now I want to do the same for the all the favourites I have on SE sites, but can't find how to do it in API. I tried to replace stackoverflow by stackexchange or stackexchange.com, but it returns an error.

Is it possible?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You'd have to use the Stack Exchange user ID: http://stackexchange.com/users/login.
This is the account_id, to be more precise.

With that, run the User's associated accounts method.

Iterate through the results running another query (with your user_id in each site) to build the favorites:

{
  "items": [
    {
      "site_name": "Stack Overflow",
      "site_url": "http://stackoverflow.com",
      "user_id": 1287812,
      "reputation": 4841,
      "account_id": 1211516,
      "creation_date": 1332491688,
      "badge_counts": {
        "gold": 6,
        "silver": 12,
        "bronze": 35
      },
      "last_access_date": 1377657230,
      "answer_count": 288,
      "question_count": 9
    },
    // ET CETERA
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .