> <html>
> <head>
> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js
> "></script>
> <script type="text/javascript">
> function init() {
> gapi.client.setApiKey('api key');
> gapi.client.load('blogger', 'v3', function () {
> var request = gapi.client.blogger.posts.lists({
> 'blogId': my blog id,
> 'fields': 'items(content,title)'
> });
> request.execute(function (response) {
> alert(JSON.stringify(response));
> });
> });
> }
> </script>
> <script src="https://apis.google.com/js/client.js?onload=init"></script>
> </head>
> </html>
> this prints out a 404 itemnotfound error. Can anybody help?
> --
> You received this message because you are subscribed to the Google Groups
> "Blogger Developer Group" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/bloggerdev/-/IM6awOImDx4J.
> To post to this group, send email to bloggerdev@googlegroups.com.
> To unsubscribe from this group, send email to
> bloggerdev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/bloggerdev?hl=en.
I've looked at both. The code i have is just a simplified version of your examples. I'm getting the same error, and i've made sure that the blog id and my api key is correct. Can you think of any other issues?
> On Sun, Nov 4, 2012 at 11:14 AM, Isaiah Coleman <isaiahc...@gmail.com<javascript:> > > wrote:
>> <html> >> <head> >> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js >> "></script> >> <script type="text/javascript"> >> function init() { >> gapi.client.setApiKey('api key'); >> gapi.client.load('blogger', 'v3', function () { >> var request = gapi.client.blogger.posts.lists({ >> 'blogId': my blog id, >> 'fields': 'items(content,title)' >> }); >> request.execute(function (response) { >> alert(JSON.stringify(response)); >> }); >> }); >> } >> </script> >> <script src="https://apis.google.com/js/client.js?onload=init"></script> >> </head> >> </html> >> this prints out a 404 itemnotfound error. Can anybody help?
>> -- >> You received this message because you are subscribed to the Google Groups >> "Blogger Developer Group" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/bloggerdev/-/IM6awOImDx4J. >> To post to this group, send email to blogg...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> bloggerdev+...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/bloggerdev?hl=en.
> I've looked at both. The code i have is just a simplified version of your
> examples. I'm getting the same error, and i've made sure that the blog id
> and my api key is correct. Can you think of any other issues?
> On Monday, November 5, 2012 2:12:53 PM UTC-5, Brett Morgan wrote:
>> On Sun, Nov 4, 2012 at 11:14 AM, Isaiah Coleman <isaiahc...@gmail.com>wrote:
>>> <html>
>>> <head>
>>> <script src="//ajax.googleapis.com/**ajax/libs/jquery/1.4.4/jquery.**
>>> min.js <http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js>
>>> "></script>
>>> <script type="text/javascript">
>>> function init() {
>>> gapi.client.setApiKey('api key');
>>> gapi.client.load('blogger', 'v3', function () {
>>> var request = gapi.client.blogger.posts.**lists({
>>> 'blogId': my blog id,
>>> 'fields': 'items(content,title)'
>>> });
>>> request.execute(function (response) {
>>> alert(JSON.stringify(response)**);
>>> });
>>> });
>>> }
>>> </script>
>>> <script src="https://apis.google.com/**js/client.js?onload=init<https://apis.google.com/js/client.js?onload=init>
>>> "></**script>
>>> </head>
>>> </html>
>>> this prints out a 404 itemnotfound error. Can anybody help?
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Blogger Developer Group" group.
>>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/bloggerdev/-/IM6awOImDx4J<https://groups.google.com/d/msg/bloggerdev/-/IM6awOImDx4J>
>>> .
>>> To post to this group, send email to blogg...@googlegroups.com.
>>> To unsubscribe from this group, send email to bloggerdev+...@**
>>> googlegroups.com.
> To post to this group, send email to bloggerdev@googlegroups.com.
> To unsubscribe from this group, send email to
> bloggerdev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/bloggerdev?hl=en.
Brett I am experiencing the same issue. I have taken your exact code and am able to pull your blog. Once I put in my blog id and api key I get a 404. My blog id is 19 character long and yours is 7. I know my key works as it works with php/json on another blog I have.
> You will notice the method I am calling is gapi.client.blogger.posts.list, > not gapi.client.blogger.posts.list*s*.
> On Tue, Nov 6, 2012 at 8:45 AM, Isaiah Coleman <isaiahc...@gmail.com<javascript:> > > wrote:
>> I've looked at both. The code i have is just a simplified version of your >> examples. I'm getting the same error, and i've made sure that the blog id >> and my api key is correct. Can you think of any other issues?
>> On Monday, November 5, 2012 2:12:53 PM UTC-5, Brett Morgan wrote:
>>> On Sun, Nov 4, 2012 at 11:14 AM, Isaiah Coleman <isaiahc...@gmail.com>wrote:
>>>> <html> >>>> <head> >>>> <script src="//ajax.googleapis.com/**ajax/libs/jquery/1.4.4/jquery.** >>>> min.js<http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js> >>>> "></script> >>>> <script type="text/javascript"> >>>> function init() { >>>> gapi.client.setApiKey('api key'); >>>> gapi.client.load('blogger', 'v3', function () { >>>> var request = gapi.client.blogger.posts.**lists({ >>>> 'blogId': my blog id, >>>> 'fields': 'items(content,title)' >>>> }); >>>> request.execute(function (response) { >>>> alert(JSON.stringify(response)**); >>>> }); >>>> }); >>>> } >>>> </script> >>>> <script src="https://apis.google.com/**js/client.js?onload=init<https://apis.google.com/js/client.js?onload=init> >>>> "></**script> >>>> </head> >>>> </html> >>>> this prints out a 404 itemnotfound error. Can anybody help?
>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Blogger Developer Group" group. >>>> To view this discussion on the web visit https://groups.google.com/d/** >>>> msg/bloggerdev/-/IM6awOImDx4J<https://groups.google.com/d/msg/bloggerdev/-/IM6awOImDx4J> >>>> . >>>> To post to this group, send email to blogg...@googlegroups.com. >>>> To unsubscribe from this group, send email to bloggerdev+...@** >>>> googlegroups.com.
>> To post to this group, send email to blogg...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> bloggerdev+...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/bloggerdev?hl=en.
On Thu, Dec 13, 2012 at 6:07 AM, kv <yalia...@gmail.com> wrote:
> Brett
> I am experiencing the same issue. I have taken your exact code and am able
> to pull your blog. Once I put in my blog id and api key I get a 404.
> My blog id is 19 character long and yours is 7. I know my key works as it
> works with php/json on another blog I have.
> Any suggestions?
> From safari error console.
> Failed to load resource: the server responded with a status of 404 (Not
> Found)
>> You will notice the method I am calling is gapi.client.blogger.posts.list
>> **, not gapi.client.blogger.posts.list*s*.
>> On Tue, Nov 6, 2012 at 8:45 AM, Isaiah Coleman <isaiahc...@gmail.com>wrote:
>>> I've looked at both. The code i have is just a simplified version of
>>> your examples. I'm getting the same error, and i've made sure that the blog
>>> id and my api key is correct. Can you think of any other issues?
>>> On Monday, November 5, 2012 2:12:53 PM UTC-5, Brett Morgan wrote:
>>>> On Sun, Nov 4, 2012 at 11:14 AM, Isaiah Coleman <isaiahc...@gmail.com>wrote:
>>>>> <html>
>>>>> <head>
>>>>> <script src="//ajax.googleapis.com/**aja**x/libs/jquery/1.4.4/jquery.*
>>>>> *min**.js<http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js>
>>>>> "></script>
>>>>> <script type="text/javascript">
>>>>> function init() {
>>>>> gapi.client.setApiKey('api key');
>>>>> gapi.client.load('blogger', 'v3', function () {
>>>>> var request = gapi.client.blogger.posts.**list**s({
>>>>> 'blogId': my blog id,
>>>>> 'fields': 'items(content,title)'
>>>>> });
>>>>> request.execute(function (response) {
>>>>> alert(JSON.stringify(response)****);
>>>>> });
>>>>> });
>>>>> }
>>>>> </script>
>>>>> <script src="https://apis.google.com/**j**s/client.js?onload=init<https://apis.google.com/js/client.js?onload=init>
>>>>> "></**scr**ipt>
>>>>> </head>
>>>>> </html>
>>>>> this prints out a 404 itemnotfound error. Can anybody help?
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Blogger Developer Group" group.
>>>>> To view this discussion on the web visit https://groups.google.com/d/* >>>>> *ms**g/bloggerdev/-/IM6awOImDx4J<https://groups.google.com/d/msg/bloggerdev/-/IM6awOImDx4J>
>>>>> .
>>>>> To post to this group, send email to blogg...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to bloggerdev+...@**
>>>>> googlegroups.**com.
>>> To post to this group, send email to blogg...@googlegroups.com.
>>> To unsubscribe from this group, send email to bloggerdev+...@**
>>> googlegroups.com.
>>> For more options, visit this group at http://groups.google.com/** >>> group/bloggerdev?hl=en <http://groups.google.com/group/bloggerdev?hl=en>
>>> .
> To post to this group, send email to bloggerdev@googlegroups.com.
> To unsubscribe from this group, send email to
> bloggerdev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/bloggerdev?hl=en.