Talk:New Design Integration Guide
From Facebook Developer Wiki
Youre smiley app doesnt even work. Goes into a browser refresh loop (using latest Firefox)
- Thanks, we're aware that it's been broken and are in the process of updating it. It should be ready in the next couple of weeks. Sorry for the inconvenience. Pete -- 563683308 11:52, 14 October 2009 (PDT)
Ok, this is extremely frustrating, Facebook. You guys keep telling us that you want our opinion and to keep sending and posting our feedback. However, whenever your community of developers posts specific, constructive feedback, you completely ignore it. From my POV the changes that you're making to the platform are well-intended, and in most cases, positive. Unfortunately though, because of the haphazard and sloppy way that you guys are rolling out the changes (and the poor manner in which you're communicating those changes) you are turning off your entire developer community. FACEBOOK, PLEASE GET YOUR ACT TOGETHER!
Ok, here's my $.02:
What would be REALLY helpful is if the Facebook team could put together a series of step-by-step tutorials for each area of functionality on the new platform. Each tutorial should include:
- A task-centric title for the specific functionality (such as "Adding content to a user's Info tab"). Think about these tutorials and titles in terms of "Here's how to do X" where "X" is one of the ways an application can interact with Facebook.
- Screenshots of the targeted area of the site (such as those on the "Anatomy of a Facebook Application" page). Ideally you should include 'before' and 'after' screenshots to illustrate the relevant changes.
- Concise and specific code examples for each of the major client libraries (PHP, Ruby, Java, etc.) Each code example should be less than 100 lines and fully functional within a single file (please don't make us reverse-engineer any more sample apps).
- A step-by-step walk-through of the code, either in the code itself as comments, or in the document.
At some point a more advanced tutorial on best practices and application architecture would be useful as well, but for right now people are still struggling with the basics.
I hate the feed and wall being put together.
1445280064 18:49, 22 May 2008 (PDT)
I really hate the new design please change it
The sample app isn't working for me, when i run php setup.php i get:
php setup.php
PHP Notice: Undefined variable: full_story_template in /home/robertc/www/html/facebook_smiley/client/facebookapi_php5_restlib.php on line 351
PHP Notice: Array to string conversion in /home/robertc/www/html/facebook_smiley/client/facebookapi_php5_restlib.php on line 1763
PHP Fatal error: Uncaught exception 'FacebookRestClientException' with message 'The small story template is a required parameter, and it must be of type string' in /home/robertc/www/html/facebook_smiley/client/facebookapi_php5_restlib.php:1712
Stack trace:
#0 /home/robertc/www/html/facebook_smiley/client/facebookapi_php5_restlib.php(351): FacebookRestClient->call_method('facebook.feed.r...', Array)
#1 /home/robertc/www/html/facebook_smiley/config/setup.php(53): FacebookRestClient->feed_registerTemplateBundle(Array, Array, Array)
#2 {main} thrown in /home/robertc/www/html/facebook_smiley/client/facebookapi_php5_restlib.php on line 1712
When I try to go to the index.php page i get:
[23-Jun-2008 10:18:09] PHP Warning: include_once(constants.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /home/robertc/www/html/facebook_smiley/index.php on line 6 [23-Jun-2008 10:18:09] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'constants.php' for inclusion (include_path='.:/usr/share/pear') in /home/robertc/www/html/facebook_smiley/index.php on line 6 [23-Jun-2008 10:18:09] PHP Notice: Use of undefined constant LIB_PATH - assumed 'LIB_PATH' in /home/robertc/www/html/facebook_smiley/index.php on line 7 [23-Jun-2008 10:18:09] PHP Warning: include_once(LIB_PATHmoods.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /home/robertc/www/html/facebook_smiley/index.php on line 7 [23-Jun-2008 10:18:09] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'LIB_PATHmoods.php' for inclusion (include_path='.:/usr/share/pear') in /home/robertc/www/html/facebook_smiley/index.php on line 7 [23-Jun-2008 10:18:09] PHP Notice: Use of undefined constant LIB_PATH - assumed 'LIB_PATH' in /home/robertc/www/html/facebook_smiley/index.php on line 8 [23-Jun-2008 10:18:09] PHP Warning: include_once(LIB_PATHdisplay.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /home/robertc/www/html/facebook_smiley/index.php on line 8 [23-Jun-2008 10:18:09] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'LIB_PATHdisplay.php' for inclusion (include_path='.:/usr/share/pear') in /home/robertc/www/html/facebook_smiley/index.php on line 8 [23-Jun-2008 10:18:09] PHP Fatal error: Call to undefined function get_fb() in /home/robertc/www/html/facebook_smiley/index.php on line 11
I found way to fix problem with test app:
You need to do next changes in facebookapi_php5_restlib.php replace code:
if (isset($short_story_template)) {
$short_story_template = json_encode($short_story_template);
}
with new code(there was added "s"):
if (isset($short_story_templates)) {
$short_story_templates = json_encode($short_story_templates);
}
AND ALSO replace
public function &feed_registerTemplateBundle($one_line_story_templates,
$short_story_templates,
$full_story_templates)
with
public function &feed_registerTemplateBundle($one_line_story_templates,
$short_story_templates,
$full_story_template)
