Welcome To Snipplr
Everyone's Recent Snippets Tagged facebook
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
A simple C# function to take a standard DateTime and convert it to a pretty string saying how many seconds/minutes/days/weeks/months ago the date was, it doesn't return an actual date, but that wouldn't be hard to change the month/week/day section to...
2
692
posted 12 years ago by Maelstrom
logo_fb.png should be at least 50x50px and have a maximum aspect ratio of 3:1
0
729
posted 12 years ago by gerhardsletten
The user id was randomized from the original one, and the oauth_token similarly mangled. It is also likely expired anyways. It is just for reference of the structure.
1
582
posted 13 years ago by Maelstrom
This is the latest Facebook invite all code to select all your friends in an event page
1
525
posted 13 years ago by socialwebexpert
IE will redirect the entire page, and disable any ajax calls within an iframe application. This fixes those issues.
0
555
posted 13 years ago by theriddlebrothers
The IFramed Like Box widget that Facebook supplies automatically puts on a recessed border which seemingly cannot be removed by the usual 'border=0' or 'border:none'. This is not noticeable on the 'light' version but definitely on the 'dark' version....
0
613
posted 13 years ago by MonioDesign
This is just a quick and dirty template that I use to begin writing my apps. If you know of a better way to approach various portions of this code I would love to hear it. It\'s assuming you are using the latest PHP SDK and is positioned around Ifram...
3
894
posted 13 years ago by chrislorenz
A more flexible version of the 'official' Facebook feed dialog example.
"The Feed Dialog prompts the user to publish an individual story to a profile's feed. This does not require any extended permissions."
"The following simple JavaScript exam...
0
746
posted 13 years ago by coprolit