How to post a New Post to Google Blogger In windows Phone 8.1 Universal Apps Using C# Code -
i searched lot got below code service not available in wp8.1...what alternative code post new posts googleblogger..
service service = new service("blogger", "exampleco-exampleapp-1"); service.credentials = new gdatacredentials("user@example.com", "secretpassword"); gdatagauthrequestfactory factory = (gdatagauthrequestfactory) service.requestfactory; factory.accounttype = "google";
i suggest using blogger api v3.0 via rest requests. here nice example on how use webauthenticationbroker class connect oauth 2.0 providers google.
https://code.msdn.microsoft.com/windowsapps/web-authentication-d0485122
google documentation on how add blog post.
https://developers.google.com/blogger/docs/3.0/using#addingapost
Comments
Post a Comment