Re: AuthenticationException with BloggerService

Luiza C <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
Thanks Brett. Appreciated!
I am sorry... but I believe I follow Google Developers. I confess that I 
did not read about it anywhere...
I use the Blogger API v2 for a long time. I used the v1 also.
I spent my afternoon trying to come up with the code. Not a simple task... 
I finally "joined" several reading and come up with something. The error 
message now is:

"com.google.gdata.util.AuthenticationException: Unauthorized
User does not have permission to create new post"

which I believe is promising :). 
Unfortunately my "poor" code does not mention anything from the Oauth Json 
content... So, I will keep on trying :)
Thanks again,





On Thursday, May 28, 2015 at 4:44:34 PM UTC-7, Brett Morgan wrote:
>
> Heya Luiza,
>
> I apologize for you being affected by this shutdown. We announced our intention 
> to shutdown three years ago 
> <http://googledevelopers.blogspot.com/2012/04/changes-to-deprecation-policies-and-api.html>, 
> followed up by putting warnings atop all of our auth documentation 
> <https://developers.google.com/identity/protocols/OAuth_ref>, and finally 
> issued both a Google+ post 
> <https://plus.google.com/+GoogleDevelopers/posts/RqnVEcAHVn1> and a Google 
> Developers blogpost 
> <http://googledevelopers.blogspot.com/2015/04/a-final-farewell-to-clientlogin-oauth.html>. 
> I will push a new round of API keys shortly.
>
> For what it's worth, our Blogger API v2 should continue to work as is, all 
> you have to do is upgrade to OAuth2.0.
>
> brett
>
> On Thursday, May 28, 2015 at 4:36:53 PM UTC-7, Luiza C wrote:
>>
>> No. I have not heard from anyone from Google. I believe that Ryan is 
>> right (above reply). It is sad that this is done without lots and lots and 
>> lots of messages so we, developers outside Google, can have the right 
>> development time to change to the next authorization method. If that is not 
>> enough, I asked for the authorization for blogger API... According to the 
>> request, it can take 5 days... Five days for someone that publishes daily 
>> can be the death of the blog :(
>>
>> On Thursday, May 28, 2015 at 3:41:18 PM UTC-7, Paul Foxson wrote:
>>>
>>> I have the same error.  I had the same java app running periodically for 
>>> months and now it is not working.  any word?
>>>
>>>
>>> On Wednesday, May 27, 2015 at 6:21:36 PM UTC-4, Luiza C wrote:
>>>>
>>>> I am running my program for several years, doing the same procedure for 
>>>> authentication with Blogger, without problems. 
>>>>
>>>> Yesterday afternoon (May 26, 2015) I started to get 
>>>> AuthenticationException. I have not changed my code... The error happened a 
>>>> few hours after having successfully published my posts into my blog. Did 
>>>> anything happen? Here is the error:
>>>>
>>>> com.google.gdata.util.AuthenticationException: Error authenticating 
>>>> (check service name) at 
>>>> com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:688) 
>>>> at 
>>>> com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:560) 
>>>> at 
>>>> com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:397) 
>>>> at 
>>>> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:364) 
>>>> at 
>>>> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:319) 
>>>> at 
>>>> com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:303) 
>>>> at 
>>>> freebies.coffinate.com.FreediesBatchFeedStandAlone.(FreediesBatchFeedStandAlone.java:180) 
>>>> at 
>>>> freebies.coffinate.com.FreediesBatchFeedStandAlone.main(FreediesBatchFeedStandAlone.java:1177)
>>>>
>>>> Here is the way I get the permission:
>>>>
>>>> Line 1177 of FreediesBatchFeedStandAlone:
>>>>
>>>> FreediesBatchFeedStandAlone fr = new FreediesBatchFeedStandAlone(new 
>>>> BloggerService("cbh-freebie-1"), userName,userPassword,"");
>>>>
>>>> Line 180 of FreediesBatchFeedStandAlone:
>>>>
>>>> myService.setUserCredentials(un, password);
>>>>
>>>> In summary, very straightforward authentication that decided not to 
>>>> work since yesterday afternoon.
>>>>
>>>> Any help is really appreciated.
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.