Archive for the 'Codes for Website' Category

Facebook API to access User Activity (Lifestream)

Facebook Open Stream API now available. Another important step toward greater openness through Facebook Platform.The following shows an overview of the services offered:

  • The design of this Facebook service has followed standard Activity Stream, which have been a working definition. Saying how important it is to follow a standard.

  • You can access information from the stream of users through a set of predefined methods in the API, or else through FQL tables (for more flexibility).

  • It allows to consult the user activity, such as stream update (add entries to the sequence of activities). The power update stream from an application, to avoid the use of screens confirmation of publication in the feed (it published in a transparent way for the user).

  • Both to consult and to update the user will have to give permission to each application you want to use this service.

Screenshot to allow access to the stream:

facebook-open-stream

For more information about the facebook API service check here.

Learn How to Embed Almost Anything in your Website

You might wanted your Web blogs to be more interesting and exciting to look at that’s why you keep embedding lots of photos, videos, slideshows, mp3s, maps and many more. But sometimes you can’t find the right scripts or html codes on how to embed all of this in your website. Worry no more, because here’s how to Learn how to embed almost anything in your HTML web pages from Flash videos to Spreadsheets to high resolution photographs to static images from Google Maps and more.

Embed RSS Feeds in Web Pages

Go to this page, replace the feed URL with your own feed, use the default color scheme or change it to something else and then click Get Code. You’ll get a JavaScript snippet that can be easily placed in the sidebar of your blog.

If you like to embed feeds from multiple sources, merge all of them into one using Yahoo Pipes and then pass the combined feed to the Google Gadget. You can also use RSS widgets like WidgetBox or YourMinis that are done in Flash and not JavaScript.

Continue reading ‘Learn How to Embed Almost Anything in your Website’