Skip to main content
replaced http://stackapps.com/ with https://stackapps.com/
Source Link

You are using the "Javascript SDK" and that's not how it works. The doc page calls the SDK "small and minimalistic".   The source code states:

This file is provided to API clients to automate various tasks, initially focused on login.

In fact the SDK really only does one thing. It helps you get an access_token if you need to authenticate. It doesn't help with anything else right now, nor has it ever.

To take advantage of your key, you need to pass it in every API call.

For example, compare:

Also, I recommend to [use a filter][5].

[4]: https://api.stackexchange.com/2.2/users/1?site=stackoverflow&key=Pw9D)judG8FE4tJR3qjUTA((&filter=!T6o*9_naf.jY-3uDW. [5]: How to strip out certain fields from the Stack Exchange API, JSON response?How to strip out certain fields from the Stack Exchange API, JSON response?

You are using the "Javascript SDK" and that's not how it works. The doc page calls the SDK "small and minimalistic".   The source code states:

This file is provided to API clients to automate various tasks, initially focused on login.

In fact the SDK really only does one thing. It helps you get an access_token if you need to authenticate. It doesn't help with anything else right now, nor has it ever.

To take advantage of your key, you need to pass it in every API call.

For example, compare:

Also, I recommend to [use a filter][5].

[4]: https://api.stackexchange.com/2.2/users/1?site=stackoverflow&key=Pw9D)judG8FE4tJR3qjUTA((&filter=!T6o*9_naf.jY-3uDW. [5]: How to strip out certain fields from the Stack Exchange API, JSON response?

You are using the "Javascript SDK" and that's not how it works. The doc page calls the SDK "small and minimalistic".   The source code states:

This file is provided to API clients to automate various tasks, initially focused on login.

In fact the SDK really only does one thing. It helps you get an access_token if you need to authenticate. It doesn't help with anything else right now, nor has it ever.

To take advantage of your key, you need to pass it in every API call.

For example, compare:

Also, I recommend to [use a filter][5].

[4]: https://api.stackexchange.com/2.2/users/1?site=stackoverflow&key=Pw9D)judG8FE4tJR3qjUTA((&filter=!T6o*9_naf.jY-3uDW. [5]: How to strip out certain fields from the Stack Exchange API, JSON response?

deleted 5 characters in body
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

You are using the "Javascript SDK"(sic) and that's not how it works. The doc page calls the SDK "small and minimalistic".   The source code states:

This file is provided to API clients to automate various tasks, initially focused on login.

In fact the SDK really only does one thing. It helps you get an access_token if you need to authenticate. It doesn't help with anything else right now, nor has it ever.

To take advantage of your key, you need to pass it in every API call.

For example, compare:

Also, I recommend to [use a filter][5].

[4]: https://api.stackexchange.com/2.2/users/1?site=stackoverflow&key=Pw9D)judG8FE4tJR3qjUTA((&filter=!T6o*9_naf.jY-3uDW. [5]: How to strip out certain fields from the Stack Exchange API, JSON response?

You are using the "Javascript SDK"(sic) and that's not how it works. The doc page calls the SDK "small and minimalistic".   The source code states:

This file is provided to API clients to automate various tasks, initially focused on login.

In fact the SDK really only does one thing. It helps you get an access_token if you need to authenticate. It doesn't help with anything else right now, nor has it ever.

To take advantage of your key, you need to pass it in every API call.

For example, compare:

Also, I recommend to [use a filter][5].

[4]: https://api.stackexchange.com/2.2/users/1?site=stackoverflow&key=Pw9D)judG8FE4tJR3qjUTA((&filter=!T6o*9_naf.jY-3uDW. [5]: How to strip out certain fields from the Stack Exchange API, JSON response?

You are using the "Javascript SDK" and that's not how it works. The doc page calls the SDK "small and minimalistic".   The source code states:

This file is provided to API clients to automate various tasks, initially focused on login.

In fact the SDK really only does one thing. It helps you get an access_token if you need to authenticate. It doesn't help with anything else right now, nor has it ever.

To take advantage of your key, you need to pass it in every API call.

For example, compare:

Also, I recommend to [use a filter][5].

[4]: https://api.stackexchange.com/2.2/users/1?site=stackoverflow&key=Pw9D)judG8FE4tJR3qjUTA((&filter=!T6o*9_naf.jY-3uDW. [5]: How to strip out certain fields from the Stack Exchange API, JSON response?

deleted 2 characters in body
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

You are using the "Javascript SDK"(sic) and that's not how it works. The doc page calls the SDK "small and minimalistic".   The source code states:

This file is provided to API clients to automate various tasks, initially focused on login.

In fact the SDK really only does one thing. It "helps"helps you get an access_token if you need to authenticate. It doesn't help with anything else right now, nor has it ever.

To take advantage of your key, you need to pass it in every API call.

For example, compare:

Also, I recommend to [use a filter][5].

[4]: https://api.stackexchange.com/2.2/users/1?site=stackoverflow&key=Pw9D)judG8FE4tJR3qjUTA((&filter=!T6o*9_naf.jY-3uDW. [5]: How to strip out certain fields from the Stack Exchange API, JSON response?

You are using the "Javascript SDK"(sic) and that's not how it works. The doc page calls the SDK "small and minimalistic".   The source code states:

This file is provided to API clients to automate various tasks, initially focused on login.

In fact the SDK really only does one thing. It "helps" you get an access_token if you need to authenticate. It doesn't help with anything else right now, nor has it ever.

To take advantage of your key, you need to pass it in every API call.

For example, compare:

Also, I recommend to [use a filter][5].

[4]: https://api.stackexchange.com/2.2/users/1?site=stackoverflow&key=Pw9D)judG8FE4tJR3qjUTA((&filter=!T6o*9_naf.jY-3uDW. [5]: How to strip out certain fields from the Stack Exchange API, JSON response?

You are using the "Javascript SDK"(sic) and that's not how it works. The doc page calls the SDK "small and minimalistic".   The source code states:

This file is provided to API clients to automate various tasks, initially focused on login.

In fact the SDK really only does one thing. It helps you get an access_token if you need to authenticate. It doesn't help with anything else right now, nor has it ever.

To take advantage of your key, you need to pass it in every API call.

For example, compare:

Also, I recommend to [use a filter][5].

[4]: https://api.stackexchange.com/2.2/users/1?site=stackoverflow&key=Pw9D)judG8FE4tJR3qjUTA((&filter=!T6o*9_naf.jY-3uDW. [5]: How to strip out certain fields from the Stack Exchange API, JSON response?

Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading