55615

Sending msg and post on own wall function no longer work

I created social feeds functions(sending msg to friends and posting on own wall) using javascript SDK and graph API in Facebook 2-3 months ago for my apps. It was working perfectly when I created but now, when I visit my app and try to use them again, it no longer works. It's so strange since I never touched that code after I implemented them. I even tried to copy and pasting exact sample javascript code given in Facebook document and it didn't work either. Even after I re-write my code, it still doesn't work either. I have no idea what is wrong. Anyone face similar problem with javascript SDK? Thanks in advance.

Hi,

The code is here: Sorry for late reply.

<script src='http://connect.facebook.net/en_US/all.js'></script> <script> FB.init({ appId : 'id', status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); </script> <script> function share_wall() { // calling the API ... var obj = { method: 'feed', link: 'https://apps.facebook.com/id/', name: 'test', description: 'blalala' }; FB.ui(obj); } </script>

Answer1:

I realized I actually have the same problem as you =\ Go to your app settings and make the additional configuration under Basic Settings.

If your domain is http://inspiration.nyp.edu.sg

<img src="https://i.stack.imgur.com/eLa7h.png" alt="enter image description here">

If you are working on localhost

<img src="https://i.stack.imgur.com/E4WRo.png" alt="enter image description here">

<strong>"Symptoms"</strong>

    <li>Previously, your JavaScript SDK functions were working fine. Now, executing your JavaScript SDK functions prompts you either an API Error Code 191 or an error. <img src="https://i.stack.imgur.com/tAHsX.png" alt="enter image description here"> <img src="https://i.stack.imgur.com/DVyaZ.png" alt="enter image description here"></li> <li>Your PHP SDK functions are working fine.</li> <li>Your JavaScript SDK functions work fine when you run your application as App on Facebook, but does not when you run your application as a Page Tab.</li> </ul>

    (For my case, the last date I checked was 7 August 2012 and my JavaScript SDK functions were working fine. It was until 3 September 2012 when I checked them again, then I encountered the errors mentioned above.)

    <strong>I highly recommend everyone to check their Page Tab application's JavaScript SDK functions such as feed dialog, apprequests and etc.</strong>

Recommend

  • Using Reactive Extension for certain KeyPress sequences?
  • python, confused in decorate and closure
  • DropShadowPanel adapt to button template style
  • PHP - sending email with attachment does not show message content
  • How to reply a tweet using the Twitter gem?
  • get latest text entry of GROUP BY statement
  • how to convert open xml representation of word document into RTF format using c#.net 4.0?
  • How to view images from protected folder with php?
  • How do I get HTML corresponding to current DOM tree?
  • Display images in Django
  • JQuery Internet Explorer and ajaxstop
  • JSON response opens as a file, but I can't access it with JavaScript
  • How to install a .deb file on a jailbroken iphone programmatically?
  • DomPDF {PAGE_NUM} not on first page
  • Email format validation in mvc3 view
  • PHPUnit_Framework_TestCase class is not available. Fix… - Makegood , Eclipse
  • Javascript simulate pressing enter in input box
  • C# - Is there a limit to the size of an httpWebRequest stream?
  • Resize panoramic image to fixed size
  • How to add date and time under each post in guestbook in google app engine
  • Join two tables and save into third-sql
  • How to model a transition system with SPIN
  • Change an a tag attribute in JavaScript based on screen width
  • Importing jscolor library in angular 2
  • ORA-29908: missing primary invocation for ancillary operator
  • Do create extension work in single-user mode in postgres?
  • R: gsub and capture
  • jqPlot EnhancedLegendRenderer plugin does not toggle series for Pie charts
  • Comma separated Values
  • PHP: When would you need the self:: keyword?
  • A cron job substitute?
  • Benchmarking RAM performance - UWP and C#
  • coudnt use logback because of log4j
  • costura.fody for a dll that references another dll
  • Observable and ngFor in Angular 2
  • UserPrincipal.Current returns apppool on IIS
  • Converting MP3 duration time
  • java string with new operator and a literal
  • Net Present Value in Excel for Grouped Recurring CF
  • How to load view controller without button in storyboard?