JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » 交流、聊天、灌水  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友   
reply to postflat modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 Re:文章的 +1 [Re:mylee]
kentyeh





發文: 647
於 2011-07-05 11:38 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
已解決,發現把<g:plusone>內的href移除就可以正常運作了
=============================
另外,我在公司的網站上放了+1button,自已點後數字由0變1,然後出現紅色按紐,數字又變回0,
檢查網路通訊是這樣,會連到
https://clients6.google.com/rpc?key=AIzaSyCKSbrvQasunBoV16zDH9R33D88CeLr9gQ
post data是
1
2
3
[{"method":"pos.plusones.insert","id":"pos.plusones.insert","params":{"cdx":"9b8","id":"http://公司網址/某個網頁.do","source":"widget",
"container":"公司網址/某個網頁.do?code=參數","userId":"@viewer","groupId":"@self"},
"jsonrpc":"2.0","key":"pos.plusones.insert","apiVersion":"v1"}]

回傳錯誤訊息
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[
 {
  "error": {
   "code": 400,
   "message": "Cannot confirm a connection that was not proposed.",
   "data": [
    {
     "domain": "global",
     "reason": "badRequest",
     "message": "Cannot confirm a connection that was not proposed."
    }
   ]
  },
  "id": "pos.plusones.insert"
 }
]

請問除了照這裡的設定外,還要做些什麼,才能運作呢?


kentyeh edited on 2011-07-05 11:53
reply to postreply to post
話題樹型展開
人氣 標題 作者 字數 發文時間
1602 文章的 +1 mylee 67 2011-07-04 10:08
1451 Re:文章的 +1 koji 45 2011-07-04 10:11
972 Re:文章的 +1 mylee 191 2011-07-04 10:18
1494 Re:文章的 +1 mylee 193 2011-07-04 10:27
1054 Re:文章的 +1 koji 19 2011-07-04 13:07
918 Re:文章的 +1 mylee 96 2011-07-04 14:56
1080 Re:文章的 +1 leon456 185 2011-07-04 16:29
1357 Re:文章的 +1 leon456 194 2011-07-04 16:10
884 Re:文章的 +1 kentyeh 51 2011-07-05 11:00
919 Re:文章的 +1 kentyeh 1046 2011-07-05 11:38
1135 Re:文章的 +1 leon456 295 2011-07-05 12:08
685 Re:文章的 +1 mylee 117 2011-07-13 22:55
632 Re:文章的 +1 koji 16 2011-07-14 08:48
685 Re:文章的 +1 leon456 14 2011-07-15 16:47
» JWorld@TW »  交流、聊天、灌水

reply to postflat modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8