To develop a success Facebook application and make your application popular you need to enable a story publishing on the wall of the members who uses your application.
To do so in coldfusion what you have to do is to follow the tutorials by Gavin Vincent (Using json and the Feed Preview Console)
In the tutorial by Gavin, to publish the story on your wall you have the member must publish the story by pressing on the publish story button, but how can you enforce members to publish the story to make your application more popular?
It is so simple to do so, but how?
First of all make your application, the form and the action, in the action page don't publish your application result, ask the user to press on a continue button, this button is the feedstory form, then when the user gets the JSON publish story popup window and press on publish he will be able to see the result, see the following code:
<cfset json = '{"content":
{"feed":
{"template_id":"#template_bundle_id#",
"template_data":{"answers":"Your heart is Young and Shiny",
"images":[{"src":"#url.photo#", "href":"http://apps.facebook.com/footprintsm/"}]}},"next":"http://apps.facebook.com/footprintsm/heartAction.cfm"},"method":"feedStory"}' />
#json#
The only difference between this implementation and the one you saw in the tutorial by cavin is (,"next":"http://apps.facebook.com/footprintsm/heartAction.cfm") so this code will take to the result page after publishing your story.
If you have any question don't haistate to comment.
To do so in coldfusion what you have to do is to follow the tutorials by Gavin Vincent (Using json and the Feed Preview Console)
In the tutorial by Gavin, to publish the story on your wall you have the member must publish the story by pressing on the publish story button, but how can you enforce members to publish the story to make your application more popular?
It is so simple to do so, but how?
First of all make your application, the form and the action, in the action page don't publish your application result, ask the user to press on a continue button, this button is the feedstory form, then when the user gets the JSON publish story popup window and press on publish he will be able to see the result, see the following code:
<cfset json = '{"content":
{"feed":
{"template_id":"#template_bundle_id#",
"template_data":{"answers":"Your heart is Young and Shiny",
"images":[{"src":"#url.photo#", "href":"http://apps.facebook.com/footprintsm/"}]}},"next":"http://apps.facebook.com/footprintsm/heartAction.cfm"},"method":"feedStory"}' />
#json#
The only difference between this implementation and the one you saw in the tutorial by cavin is (,"next":"http://apps.facebook.com/footprintsm/heartAction.cfm") so this code will take to the result page after publishing your story.
If you have any question don't haistate to comment.
This is good.
ReplyDeleteHere is a simple 5 step method to post on facebook wall without login using php.
http://blog.theunical.com/facebook-integration/5-steps-to-publish-on-a-facebook-wall-using-php/
Another important thing about servicing your BMW is always make sure to choose quality parts. There are a lot of companies that produce spare parts but not all have the same quality, that`s why a generic spare part will not last as long as the original BMW one. Auto Diagnositc Tool
ReplyDelete