uwp - Outlook.com REST API -


i making uwp app cortanium in want mails of current user's account. have chosen rest api outlook.com. problem don't know can started. want user's e-mails , read user.

i have seen article shows api calls can made , tried getting error:

{"error":{"code":"oauthmissingforthisaccount","message":"authentication account must using oauth."}}

so have in order proper response ?

(p.s:i new in rest api world correct me if wrong anywhere)

from error info, think it's possible didn't handle user authorization.

for every request mail api, valid access token needed. access token, can refer register , authenticate app.

in doc:

to use outlook rest api access user's mailbox data, app should handle registration , user authorization:

  1. first, register app access outlook rest api. can implement api calls in app.

  2. at runtime, authorization user , make rest api requests access user's mailbox.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -