Error #200 when adding comments on friends post











up vote
0
down vote

favorite












I get error #200 when trying to add some comments on friends post:



{
"name": "Comment",
"link": "https://www.facebook.com/586953601/posts/10151621828953602"
},

D/Facebook-Util(11192): POST URL: https://graph.facebook.com/10151621828953602/comments


D/(11192): Facebook {"error":{"message":"(#200) Permissions error","type":"OAuthException","code":200}}


I have set permissions in order to do this: publish_stream and publish_actions. Do I also need to set offline_access permission?



I am building this app using sdk version 3.0.2.



Why can't I add comments?










share|improve this question




























    up vote
    0
    down vote

    favorite












    I get error #200 when trying to add some comments on friends post:



    {
    "name": "Comment",
    "link": "https://www.facebook.com/586953601/posts/10151621828953602"
    },

    D/Facebook-Util(11192): POST URL: https://graph.facebook.com/10151621828953602/comments


    D/(11192): Facebook {"error":{"message":"(#200) Permissions error","type":"OAuthException","code":200}}


    I have set permissions in order to do this: publish_stream and publish_actions. Do I also need to set offline_access permission?



    I am building this app using sdk version 3.0.2.



    Why can't I add comments?










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I get error #200 when trying to add some comments on friends post:



      {
      "name": "Comment",
      "link": "https://www.facebook.com/586953601/posts/10151621828953602"
      },

      D/Facebook-Util(11192): POST URL: https://graph.facebook.com/10151621828953602/comments


      D/(11192): Facebook {"error":{"message":"(#200) Permissions error","type":"OAuthException","code":200}}


      I have set permissions in order to do this: publish_stream and publish_actions. Do I also need to set offline_access permission?



      I am building this app using sdk version 3.0.2.



      Why can't I add comments?










      share|improve this question















      I get error #200 when trying to add some comments on friends post:



      {
      "name": "Comment",
      "link": "https://www.facebook.com/586953601/posts/10151621828953602"
      },

      D/Facebook-Util(11192): POST URL: https://graph.facebook.com/10151621828953602/comments


      D/(11192): Facebook {"error":{"message":"(#200) Permissions error","type":"OAuthException","code":200}}


      I have set permissions in order to do this: publish_stream and publish_actions. Do I also need to set offline_access permission?



      I am building this app using sdk version 3.0.2.



      Why can't I add comments?







      android facebook facebook-graph-api






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 4 '14 at 7:45









      Amar

      12.4k54664




      12.4k54664










      asked Aug 18 '13 at 9:57









      s0l

      11122




      11122
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          You don't need to have offline_access permission anymore, It is depericiated, I believe your token doesn't have the permissions which you said you have, just cross check, this is how you can verify:



          https://graph.facebook.com/<YOUR FACEBOOK USER ID HERE>/permissions?access_token=<YOUR ACCESS TOKEN HERE>


          Above link will show you the permissions of your access token.



          Also are you UTF-8 Encoding your comment which you are posting on facebook?



          Hope this helps.



          Cheers,



          Reno Jones






          share|improve this answer





















          • im retrive permissons on evry login :) and im realy have it
            – s0l
            Aug 18 '13 at 10:15












          • "publish_stream": 1, "publish_actions": 1,
            – s0l
            Aug 18 '13 at 10:21










          • And i will try convert my comment to UTF-8, maybe this is my problem!
            – s0l
            Aug 18 '13 at 10:23










          • UTF-8 was nat helpful
            – s0l
            Aug 18 '13 at 13:10










          • Can you share the code you have written to for posting a comment?
            – Reno Jones
            Aug 19 '13 at 8:44











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f18297906%2ferror-200-when-adding-comments-on-friends-post%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          You don't need to have offline_access permission anymore, It is depericiated, I believe your token doesn't have the permissions which you said you have, just cross check, this is how you can verify:



          https://graph.facebook.com/<YOUR FACEBOOK USER ID HERE>/permissions?access_token=<YOUR ACCESS TOKEN HERE>


          Above link will show you the permissions of your access token.



          Also are you UTF-8 Encoding your comment which you are posting on facebook?



          Hope this helps.



          Cheers,



          Reno Jones






          share|improve this answer





















          • im retrive permissons on evry login :) and im realy have it
            – s0l
            Aug 18 '13 at 10:15












          • "publish_stream": 1, "publish_actions": 1,
            – s0l
            Aug 18 '13 at 10:21










          • And i will try convert my comment to UTF-8, maybe this is my problem!
            – s0l
            Aug 18 '13 at 10:23










          • UTF-8 was nat helpful
            – s0l
            Aug 18 '13 at 13:10










          • Can you share the code you have written to for posting a comment?
            – Reno Jones
            Aug 19 '13 at 8:44















          up vote
          0
          down vote













          You don't need to have offline_access permission anymore, It is depericiated, I believe your token doesn't have the permissions which you said you have, just cross check, this is how you can verify:



          https://graph.facebook.com/<YOUR FACEBOOK USER ID HERE>/permissions?access_token=<YOUR ACCESS TOKEN HERE>


          Above link will show you the permissions of your access token.



          Also are you UTF-8 Encoding your comment which you are posting on facebook?



          Hope this helps.



          Cheers,



          Reno Jones






          share|improve this answer





















          • im retrive permissons on evry login :) and im realy have it
            – s0l
            Aug 18 '13 at 10:15












          • "publish_stream": 1, "publish_actions": 1,
            – s0l
            Aug 18 '13 at 10:21










          • And i will try convert my comment to UTF-8, maybe this is my problem!
            – s0l
            Aug 18 '13 at 10:23










          • UTF-8 was nat helpful
            – s0l
            Aug 18 '13 at 13:10










          • Can you share the code you have written to for posting a comment?
            – Reno Jones
            Aug 19 '13 at 8:44













          up vote
          0
          down vote










          up vote
          0
          down vote









          You don't need to have offline_access permission anymore, It is depericiated, I believe your token doesn't have the permissions which you said you have, just cross check, this is how you can verify:



          https://graph.facebook.com/<YOUR FACEBOOK USER ID HERE>/permissions?access_token=<YOUR ACCESS TOKEN HERE>


          Above link will show you the permissions of your access token.



          Also are you UTF-8 Encoding your comment which you are posting on facebook?



          Hope this helps.



          Cheers,



          Reno Jones






          share|improve this answer












          You don't need to have offline_access permission anymore, It is depericiated, I believe your token doesn't have the permissions which you said you have, just cross check, this is how you can verify:



          https://graph.facebook.com/<YOUR FACEBOOK USER ID HERE>/permissions?access_token=<YOUR ACCESS TOKEN HERE>


          Above link will show you the permissions of your access token.



          Also are you UTF-8 Encoding your comment which you are posting on facebook?



          Hope this helps.



          Cheers,



          Reno Jones







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 18 '13 at 10:09









          Reno Jones

          1,80311428




          1,80311428












          • im retrive permissons on evry login :) and im realy have it
            – s0l
            Aug 18 '13 at 10:15












          • "publish_stream": 1, "publish_actions": 1,
            – s0l
            Aug 18 '13 at 10:21










          • And i will try convert my comment to UTF-8, maybe this is my problem!
            – s0l
            Aug 18 '13 at 10:23










          • UTF-8 was nat helpful
            – s0l
            Aug 18 '13 at 13:10










          • Can you share the code you have written to for posting a comment?
            – Reno Jones
            Aug 19 '13 at 8:44


















          • im retrive permissons on evry login :) and im realy have it
            – s0l
            Aug 18 '13 at 10:15












          • "publish_stream": 1, "publish_actions": 1,
            – s0l
            Aug 18 '13 at 10:21










          • And i will try convert my comment to UTF-8, maybe this is my problem!
            – s0l
            Aug 18 '13 at 10:23










          • UTF-8 was nat helpful
            – s0l
            Aug 18 '13 at 13:10










          • Can you share the code you have written to for posting a comment?
            – Reno Jones
            Aug 19 '13 at 8:44
















          im retrive permissons on evry login :) and im realy have it
          – s0l
          Aug 18 '13 at 10:15






          im retrive permissons on evry login :) and im realy have it
          – s0l
          Aug 18 '13 at 10:15














          "publish_stream": 1, "publish_actions": 1,
          – s0l
          Aug 18 '13 at 10:21




          "publish_stream": 1, "publish_actions": 1,
          – s0l
          Aug 18 '13 at 10:21












          And i will try convert my comment to UTF-8, maybe this is my problem!
          – s0l
          Aug 18 '13 at 10:23




          And i will try convert my comment to UTF-8, maybe this is my problem!
          – s0l
          Aug 18 '13 at 10:23












          UTF-8 was nat helpful
          – s0l
          Aug 18 '13 at 13:10




          UTF-8 was nat helpful
          – s0l
          Aug 18 '13 at 13:10












          Can you share the code you have written to for posting a comment?
          – Reno Jones
          Aug 19 '13 at 8:44




          Can you share the code you have written to for posting a comment?
          – Reno Jones
          Aug 19 '13 at 8:44


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f18297906%2ferror-200-when-adding-comments-on-friends-post%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Costa Masnaga

          Fotorealismo

          Sidney Franklin