appdotnet / api-spec

App.net API Documentation is on the web at https://developers.app.net. Source for these docs is in the new-docs branch here. Please use the issue tracker and submit pull requests! Help us build the real-time social service where users and developers come first, not advertisers.
https://developers.app.net
950 stars 98 forks source link

Users Followers/Following Endpoint #195

Closed jdscolam closed 12 years ago

jdscolam commented 12 years ago

I was looking at the documentation, and the rules around the followers/following endpoints are a bit obscure. Can we now send in generic parameters into those endpoints? Please advise.

mthurman commented 12 years ago

You can send in the pagination parameters (since_id, before_id, count) if you have the follow_pagination migration enabled. https://github.com/appdotnet/api-spec/blob/master/migrations.md#current-migrations

jdscolam commented 12 years ago

Alright, I do have it enabled, but does it function like the general parameters on posts, or something different?

----- Original message ----- From: Mark Thurman [1]notifications@github.com To: "appdotnet/api-spec" [2]api-spec@noreply.github.com Cc: jdscolam [3]jdscolam@fastmail.fm Subject: Re: [api-spec] Users Followers/Following Endpoint (#195) Date: Mon, 24 Sep 2012 10:15:21 -0700

You can send in the pagination parameters (since_id, before_id, count) if you have the follow_pagination migration enabled. [4]https://github.com/appdotnet/api-spec/blob/master/migrations.md#curr ent-migrations

— Reply to this email directly or [5]view it on GitHub. [unML2QjH5DXIUz8DsofLr3XWqlQBxc4-MrA5sYWYC3yJ5VdG6Y9qk4X1-5P7aGZf.gif]

References

  1. mailto:notifications@github.com
  2. mailto:api-spec@noreply.github.com
  3. mailto:jdscolam@fastmail.fm
  4. https://github.com/appdotnet/api-spec/blob/master/migrations.md#current-migrations

5. https://github.com/appdotnet/api-spec/issues/195#issuecomment-8826646

Jonathan Scolamiero jdscolam@fastmail.fm

mthurman commented 12 years ago

It functions the same way. Make sure that the parameters you are passing to since_id and before_id come from the meta envelope of a previous request, not from introspecting the data list.

jdscolam commented 12 years ago

Okay, I'll refactor #Rapptor to work appropriately. May take me a day or two :).

----- Original message ----- From: Mark Thurman [1]notifications@github.com To: "appdotnet/api-spec" [2]api-spec@noreply.github.com Cc: jdscolam [3]jdscolam@fastmail.fm Subject: Re: [api-spec] Users Followers/Following Endpoint (#195) Date: Mon, 24 Sep 2012 15:08:00 -0700

It functions the same way. Make sure that the parameters you are passing to since_id and before_id come from the meta envelope of a previous request, not from introspecting the data list.

— Reply to this email directly or [4]view it on GitHub. [unML2QjH5DXIUz8DsofLr3XWqlQBxc4-MrA5sYWYC3yJ5VdG6Y9qk4X1-5P7aGZf.gif]

References

  1. mailto:notifications@github.com
  2. mailto:api-spec@noreply.github.com
  3. mailto:jdscolam@fastmail.fm

4. https://github.com/appdotnet/api-spec/issues/195#issuecomment-8836773

Jonathan Scolamiero jdscolam@fastmail.fm