Skip to main content

Posts

Coldfusion Facebook Graph API publish to your wall and your friends walls

In this tutorial we will learn by full coldfusion Graph API code example how to publish on your wall and your friends walls. This application uses new oauth authentication method. The code is divided into four files: we will first start with a file called index.cfm: <cfoutput>         <!--- Your FB application IDS --->       <cfset api_key = ""/>     <cfset secret_key = ""/>     <cfset appID = ""/>     <!--- create a connection to the fb graph cfc --->     <cfset graphCFC = createObject("component", "graph").init(#appID#, #api_key#, #secret_key#) />     <!--- If user is authenticated or his access token is set create a cookie --->        <cfif not isdefined("cookie.access_token") and isdefined("url.access_token")>         <cfset cookie.acce...

Israel Democracy Institute - Practical Lesson

I was in doubt since I was born about the real democracy that controls Israel. Israel is proud of its democracy a fact that I can not see in the reality. What made my doubts is not only the Israeli discrimination against Arab Palestinians who live inside Israel (Palestinian territories that were occupied in 1948) but also the nature of the Israeli society. In Israel you can find different races of Jews, Savardeem, Ishkenaz and African Jews. The state of Israel is controlled mostly by the Ishkenaz those who immigrated to Palestine (now Israel) from Europe and the west. The Savardeem, those who immigrated from Arab countries and the east are always in doubt of this democracy that never gave them the chance to control the state. While African Jews live in a closed compounds and most of them serve in the Israeli Army. This is not what I really want to talk about, nor the case of Gaza where 1.5 Million Palestinians living under Israeli siege since 4 years. This morning I was watchi...

Five Ways To Kill A Man - Edwin Brock

By: Edwin Brock (1927-1997) who wrote two of the best-known poems of the last century, 'Five Ways to Kill a Man' and 'Song of the Battery Hen' Five Ways To Kill A Man There are many cumbersome ways to kill a man. You can make him carry a plank of wood to the top of a hill and nail him to it. To do this properly you require a crowd of people wearing sandals, a cock that crows, a cloak to dissect, a sponge, some vinegar and one man to hammer the nails home.Or you can take a length of steel, shaped and chased in a traditional way, and attempt to pierce the metal cage he wears. But for this you need white horses, English trees, men with bows and arrows, at least two flags, a prince, and a castle to hold your banquet in.Dispensing with nobility, you may, if the wind allows, blow gas at him. But then you need a mile of mud sliced through with ditches, not to mention black boots, bomb craters, more mud, a plague of rats, a dozen...

Authorization with Facebook Using Graph API and Coldfusion

Below is an alternative Coldfusion Facebook Authorization method to the earlier one that was published yesterday. This method is simpler and does not require much code. You should create two file, one that will redirect the user of your application to Facebook API to get authenticated and then authorized, the first file is below:     <!--- Your FB application IDS --->     <cfset api_key = "xxxxxxx"/>     <cfset secret_key = "xxxxxx"/>     <cfset appID = "xxxxxx"/>     <!--- Redirect to get authonticated and authrorized from facebook, in the redirect_uri you should write the url of your website where you want the user to be redirected after authroization --->    <cflocation url="https://graph.facebook.com/oauth/authorize?client_id=#appID#&redirect_uri=http://www.sms4all.info/fb/login1.cfm" addtoken="no"> The second coldfusion file is the main page where the user...

Implementation of Facebook Graph API in Coldfusion

Facebook has launched a new FB API called Graph that simplifies FB applications development, the new Graph API allows website owners to create Single Sign On (SSO) with Facebook and allow websites owners to be able to import a lot of users information but after their permissions. The code below written in Coldfusion gives an example on how to Create FB login/logout button and then how to retrieve the created cookie, and use it for further development:     <body>   <cfoutput>     <!--- Your FB application IDS --->     <cfset api_key = "XXXXXXXXXXXXX"/>     <cfset secret_key = "XXXXXXXXXXXXXX"/>     <cfset appID = "XXXXXXXXXXXXXX"/>     <!--- Facebook login/logout button --->     <p><fb:login-button perms="email,user_birthday" autologoutlink="true"></fb:login-button></p>     <!--- Facebook login/logo...

What is the difference between Web 1.0, Web 2.0 and Web 3.0

People are confused with the new concepts that appeared few years back talking about the social web (Web 2.0) and the semantic web (Web 3.0) as if they are new versions of the web and the old version does not exist anymore. This article will go through the evolvement of the web and clarify the differences between Web versions. The first thing is that we have to distinguish between the term and the technology, so for instance the technology evolves but that does not mean that the evolvement of the web is only technology oriented! The fact is that we could have Web 2.0 applications using technologies that run Web 1.0 applications, so if it is not a technology change what is it then? Web 1.0 also called the Web is: A system of interlinked, hypertext documents accessed via the Internet . With a Web browser , a user views Web pages that may contain text , images , and other multimedia and navigates between them using hyperlinks . Web 1.0 is the websites, portals, web mail etc. F...

Arabic-English Automatic Ontology Mapping Based on Machine Readable Dictionary - Presentation @ University of Birzeit

Faculty of Information Technology at Birzeit University is pleased to invite you to attend the lecture entitled: Arabic-English Automatic Ontology Mapping Based on Machine Readable Dictionary Presented by: Dr. Mustafa Abu Salah Senior Knowledge Management Specialist – Consolidated Contractors Company (CCC) Abstract: Ontologies are the backbone of the semantic web and allow software agents to interoperate effectively. An ontology is able to represent and to clarify concepts and inter-concept relationships and can be used as a framework to represent underlying domain concepts expressed in many different languages. One way to do this is by mapping Ontologies in different languages using an inter-lingual index. In this presentation I will present a new methodology for ontology mapping in different script human languages (Arabic/English). Alo I will identify the steps of extracting concepts on both ontologies and automatically mapping them based on Machine Readable Dict...