hello.js icon indicating copy to clipboard operation
hello.js copied to clipboard

Uncaught TypeError: Cannot use 'in' operator to search for 'feed' in Not Found

Open fmiguelroliveira opened this issue 8 years ago • 4 comments

Hello there,

I'm using the hello.js as an oauth2 client and it works fine for other networks.

Although i've no problem to use hello.js to post in facebook it is always returning this error in google plus.

POST https://www.googleapis.com/me/share?access_token=XXXXXXXXXXXXXX 404 (OK) hello.all.min.js:4 Uncaught TypeError: Cannot use 'in' operator to search for 'feed' in Not Found

BTW, the url https://www.googleapis.com/me/share?access_token=XXXXXXXXXXXXXX returns 'Not found' although the token is ok.

Google + api is enabled on console. I use a json object to post from hello.api(), something like:

  json = {
    "object": {
      "attachments": [{
          "url": "http://domain/domain.png",
          "objectType": "article"
      }],
      "originalContent": "content ok",
    },
    "access": {
      "items": [{
          "type": "extendedCircles"
      }],
      "domainRestricted": false
    }
  }
}

Any help? Thanks in advance!

fmiguelroliveira avatar Oct 19 '15 13:10 fmiguelroliveira

Google API since writing the initial module in Hello.JS began supporting POST'ing activities, see HTTP spec https://developers.google.com/+/domains/api/activities/insert

Also the google module shouldn't fail like this. I will try and spec the changes out in the next week, otherwise if you want to try patching it yourself, please create a PR.

Thanks

MrSwitch avatar Oct 20 '15 21:10 MrSwitch

Ping

rockneverdies55 avatar Nov 27 '16 08:11 rockneverdies55

same issue here while login to google

ashish-joshi-sr avatar Dec 22 '16 06:12 ashish-joshi-sr

Hey I am interested in solving this issue.

A999-del avatar Nov 08 '22 05:11 A999-del