65721

Application able to post on user's Wall

Question:

I have a Fan Page and I need to post something on users Wall after clicking Like Button. Moreover I need to display different content for users who "Like" the page and for users who don't "Like" the page. Is there an application like "Static iFrame Tab" which already solves this? If not, then how to post something on users Wall? I downloaded the facebook.php file, but I haven't managed to find the required function there.

Answer1:

The user's 'like' status can relatively easily be returned by decoding the signed request sent by Facebook to the page.

I've built a simple fan/like gate that is available over on <a href="https://github.com/MozMorris/Facebook-Fan-Gate" rel="nofollow">GitHub</a> - it might help you get up and running.

With regards to posting to the user's wall. I would suggest using the Javascript SDK and reading the <a href="https://developers.facebook.com/docs/reference/javascript/FB.ui" rel="nofollow">FB.ui</a> documentation over on Facebook.

Recommend

  • How to make the page script recognize a manually changed value of INPUT element?
  • How to extract part of the *original* text from JSON with Jackson?
  • How to find all the agents who are not included in an agentset?
  • XMPPConnection Error in android
  • SVG Fill Width to Child Elements
  • How to Update model and database with code first approach in Asp.net MVC
  • Should I optimize around reads or CPU time in Google App Engine
  • How do I recognize a line break with a switch case that evaluates a char in Java?
  • How to add System.Windows dll to Visual Studio 2010 express?
  • How to force Composer to download a local package?
  • Javascript Array, Object, Date not defined
  • Outlines on links in IE9 remains when focus is changed
  • Is there a way to dynamically embed PDF Files in a JSP pulled from the file system?
  • nodemcu custom firmware build problems
  • Does Mobilefirst provide a provision to access web services directly?
  • Access Android Market through SSH tunnel
  • rspec simple example getting error on request variable in integration test
  • Detect when Facebook like button is clicked
  • java.lang.NoClassDefFoundError: com.parse.Parse$Configuration$Builder on below Lollipop versions
  • Upload files with Ajax and Jquery
  • Do I've to free mysql result after storing it?
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • A cron job substitute?
  • How to include full .NET prerequisite for Wix Burn installer
  • json Serialization in asp
  • Codeigniter doesn't let me update entry, because some fields must be unique
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • How to set the response of a form post action to a iframe source?
  • coudnt use logback because of log4j
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • Is there any way to bind data to data.frame by some index?
  • Does armcc optimizes non-volatile variables with -O0?
  • Binding checkboxes to object values in AngularJs
  • How can i traverse a binary tree from right to left in java?
  • Net Present Value in Excel for Grouped Recurring CF
  • How to push additional view controllers onto NavigationController but keep the TabBar?
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize
  • How to load view controller without button in storyboard?