Task #13867
Change FB viewhelpers.
| Status: | Rejected | Start date: | 2011-03-16 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| TYPO3 Version: | 6.0 | Has patch: | No | |
| PHP Version: | Complexity: | |||
| Votes: | 0 |
Description
Facebook has announced to drop fbml support. So we need to change the viewhelpers to the iframe variant.
"While all existing apps on Pages using FBML or the Static FBML app will continue to work, we strongly recommend that these apps transition to iframes as soon as possible."
Not sure what they are doing exactly but in fact the fb:like thing stoped working from one day to another. Even the code generated by the official developer page does not work anymore. See: http://developers.facebook.com/docs/reference/plugins/like/ (try the js code).
I temporaly fixed this by adding a <div id="fb-root"></div> in front of the fb:like code. But this would obviously screw up the markup when having more than one like button.
Associated revisions
[~BUGFIX]: Facebook like has changed. Applied quick workaround to make things working again. We need to change this. Relates to #13867
[~BUGFIX]: Facebook like has changed. Applied quick workaround to make things working again. We need to change this. Relates to #13867
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/news2/trunk@45120 735d13b6-9817-0410-8766-e36946ffe9aa
History
Updated by Nikolas Hagelstein about 2 years ago
http://bugs.developers.facebook.net/show_bug.cgi?id=15879
Official bug report.
Updated by Josef Florian Glatz about 2 years ago
little note: When using the iframe variant, all possible attributes to style the like-button should be available within fluid.
- href - the URL to like. The XFBML version defaults to the current page.
- layout - there are three options.
o standard - displays social text to the right of the button and friends' profile photos below. Minimum width: 225 pixels. Default width: 450 pixels. Height: 35 pixels (without photos) or 80 pixels (with photos).
o button_count - displays the total number of likes to the right of the button. Minimum width: 90 pixels. Default width: 90 pixels. Height: 20 pixels.
o box_count - displays the total number of likes above the button. Minimum width: 55 pixels. Default width: 55 pixels. Height: 65 pixels. - show_faces - specifies whether to display profile photos below the button (standard layout only)
- width - the width of the Like button.
- action - the verb to display on the button. Options: 'like', 'recommend'
- font - the font to display in the button. Options: 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana'
- colorscheme - the color scheme for the like button. Options: 'light', 'dark'
- ref - a label for tracking referrals; must be less than 50 characters and can contain alphanumeric characters and some punctuation (currently +/=-.:_). The ref attribute causes two parameters to be added to the referrer URL when a user clicks a link from a stream story about a Like action:
o fb_ref - the ref parameter
o fb_source - the stream type ('home', 'profile', 'search', 'other') in which the click occurred and the story type ('oneline' or 'multiline'), concatenated with an underscore.
list from: http://developers.facebook.com/docs/reference/plugins/like/
Updated by Georg Ringer about 2 years ago
- Subject changed from Change FB viehelpers. to Change FB viewhelpers.
Updated by Georg Ringer 4 months ago
- Status changed from New to Rejected
- TYPO3 Version set to 6.0
- Has patch set to No
checking e.g. https://developers.facebook.com/docs/reference/plugins/like/ I don't find any hint that xfbml will be dropped, closing this issue