Re: Upload images using Blogger API
Bus Adi <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
kode apa itu...masak mengeposkan gak bisa...
Pada Kamis, 10 Juli 2014 15:34:01 UTC+7, Jai Ganesh menulis:
>
> Tried to upload image using the following code but so far no success
> through the code was able to create a blogpost with other details
>
> gapi.client.load('blogger', 'v3', function() {
> var request = gapi.client.blogger.posts.insert({
> "blogId": "XXXXX",
> "resource" : {
> "title" : "title",
> "content" : "Content",
> "labels": [XX,YY,ZZ],
> "image" : {
> "url": '
> http://pthumbnails.5min.com/10365943/518297116_6_300_170.jpg'
> }
> }
> });
>
> request.execute(function(response) {
> alert(response.toSource());
> });
> });
>
> Can you help me on what is the mistake i am doing????
>
--
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.