Click here to Skip to main content
15,502,045 members
Home / Discussions / CodeProject API
   

CodeProject API

 
GeneralRe: Hierarchical Relations between the Forum Messages? Pin
Matthew Dennis1-Oct-14 8:15
sysadminMatthew Dennis1-Oct-14 8:15 
GeneralRe: Hierarchical Relations between the Forum Messages? Pin
Agent__0072-Oct-14 17:49
professionalAgent__0072-Oct-14 17:49 
General"Abstract" Property Name Changed Pin
Matthew Dennis29-Sep-14 6:24
sysadminMatthew Dennis29-Sep-14 6:24 
GeneralSmall concern about a reserved word 'abstract' as a JSON Property Pin
Ranjan.D26-Sep-14 1:57
professionalRanjan.D26-Sep-14 1:57 
GeneralRe: Small concern about a reserved word 'abstract' as a JSON Property Pin
Agent__00726-Sep-14 2:55
professionalAgent__00726-Sep-14 2:55 
GeneralRe: Small concern about a reserved word 'abstract' as a JSON Property Pin
Ranjan.D26-Sep-14 4:36
professionalRanjan.D26-Sep-14 4:36 
GeneralWhere... Pin
PJ Arends22-Sep-14 18:38
professionalPJ Arends22-Sep-14 18:38 
GeneralRe: Where... Pin
Agent__00722-Sep-14 18:42
professionalAgent__00722-Sep-14 18:42 
GeneralRe: Where... Pin
PJ Arends22-Sep-14 18:45
professionalPJ Arends22-Sep-14 18:45 
GeneralWow, glad to see this API! Pin
iamstarbuck22-Sep-14 9:05
iamstarbuck22-Sep-14 9:05 
QuestionPersistent Access Token? Pin
Agent__00721-Sep-14 21:48
professionalAgent__00721-Sep-14 21:48 
Wow! I am first to post a message here! Cool | :cool:

So, my question is, is there any "persistent" access token which I could use to query both My and Other APIs and which doesn't expire at all (so that I could hard-code it)? I am thinking to write a small WPF application (purely for personal use) and not able to figure out how to query the "My" API. I am able to get the access token as given in the sample Console application, but not able to query the "My" API using it.

While the documentation does say -
The My API gets information about the logged in User. As such, the My API requires the user to grant the client application access to their information using the Authorization Code Grant or Implicit Grant flow from the OAuth2 specification to get the Access Token.
, and I tried referring this [^] article on Authorization Code Grant and Implicit Grant, I am not able to figure out how to implement it and where and how exactly should I use the Redirection URL and Grant Permission stereotype in a WPF application.

Any help would be greatly appreciated.
Whether I think I can, or think I can't, I am always bloody right!

AnswerRe: Persistent Access Token? Pin
Chris Maunder22-Sep-14 6:59
cofounderChris Maunder22-Sep-14 6:59 
GeneralRe: Persistent Access Token? Pin
Agent__00722-Sep-14 19:28
professionalAgent__00722-Sep-14 19:28 
AnswerRe: Persistent Access Token? Pin
Matthew Dennis22-Sep-14 7:27
sysadminMatthew Dennis22-Sep-14 7:27 
GeneralRe: Persistent Access Token? Pin
Agent__00722-Sep-14 19:26
professionalAgent__00722-Sep-14 19:26 
GeneralRe: Persistent Access Token? Pin
Matthew Dennis23-Sep-14 8:35
sysadminMatthew Dennis23-Sep-14 8:35 
GeneralRe: Persistent Access Token? Pin
Agent__00723-Sep-14 19:01
professionalAgent__00723-Sep-14 19:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Flags: Completed

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.