Is there any good example code in Coldfusion 8 that shows how to use Facebook Connect?
Might take a look at Facebook Developer Wiki which has a link to 8 Minute Apps. Haven't tried any of this, but it would be a place to start.
Have you checked the available RIAForge (used search link because there are 5 of them already there) options? Havent used them personally, but descriptions give some hope.
Related
I have designed a Restful component using Coldfusion 11. Now I need to think of securing this REST service.After searching for sometime
I found HTTPS + oauth2 is the best combination for securing REST service.
In the official oauth2 page, We have libraries for different languages. But there is nothing listed for ColdFusion.
Any one having any kind of knowledge if we have a library for oauth2 in ColdFusion?
I believe you are looking for this. This CF script is built by Matt Gifford 3 years ago, so you might want to take a look and update some code. But as far as i believe, it was designed to work on CF9 and CF10, so it will work on CF11 as well.
Let me know if this works for you.
While developing a REST service I want to be able to manually submit some data (e.g. by PUT or POST method) to a specific URL and see the response. The only tool I know is SoapUI, which is not only a commercial product, but a bit overcomplicated while my task is so simple. There is a question about SoapUI alternatives, but all the discussion there is about SOAP services, while what I need is just some REST :-) Any ideas? I know I can write such a tool myself pretty easily, but I'd prefer not to reinvent a bicycle if there is one.
UPDATE: Mark Cidade's answer is ok, but I'd wish the tool could run on Linux too...
UPDATE 2: The solution of my choice came to be HttpRequester Firefox extension.
I have just discovered and installed RESTClient, which is a Firefox add-on (it's ideal for me as I do most development on FF, both on Windows and Linux). No idea if it's any good yet. :)
EDIT: I've started it using extensively since, and it's very good, it really gives back a lot of data about the response and the request.
My favorite is WizTools RESTClient which is written in Java. A nice feature is that it lets you save requests and responses to file if you want to reload them later. It's also cross-platform thanks to Java.
There is yet another free handy application called Postman which will let you do this. It was initially launched as a Chrome plugin and since then is available on the Mac.
I use the Chrome plugin extensively on Windows, Linux and Mac. What I find most useful is the fact that, when signed in, all your requests can be synced across all machines. I use the Mac at the office and when I get home, I pick up where I left of on a Windows machine.
Cross platform insomnia you must test it.
If you use mac then paw another option
Any HTTP request tester will do. Fiddler is a good one.
You can try this online testing tool https://reqbin.com/
For Mac and Linux there is Charles http://www.charlesproxy.com/ but it is not free.
If you need tool, which you can run on Linux, try WebScarab, it is written on Java.
https://restclientgui.codeplex.com
Download it from the downloads section
I'm Only Resting works for me.
I'm quite fond of either Fiddler (if you need to dig into things deeper) or Insomnia (if you're trying to get to grips with a particular REST API).
Fiddler runs on Linux using the Mono runtime. Insomnia provides Linux packages. I like that Insomnia has a scaffolding generator for the most popular languages, so when you made a particular REST API call work in Insomnia, you can generate code for many languages from that. Neat!
Telerik now has a new standalone software to test API's: Telerik Test Studio for APIs
http://www.telerik.com/download/teststudio-apis
If you are just looking for a lite rest client and have tried all the others here and did not like them!
I finally rested on Restlet a Chrome plugin.
It is commercial software, but "appears" to be free to use if you are only making requests, which is all I need now.
I may try the trial in the future.
cURL is free and runs on almost everything.
I'm building a website using django and planning to connect it with facebook. I googled and found so many codes to do the job but don't know which one is good for me. I need facebook connect and new graph api support. Could anyone share me some experiences with codes below and advise me which one is good for me? (with some tips if possbible)
github.com/benbinary/django-facebookconnect
github.com/dickeytk/django_facebook_oauth
github.com/digvan/django_facebook_oauth
github.com/facebook/python-sdk
github.com/flashingpumpkin/django-socialregistration
github.com/ryanmark/django-facebookconnect
github.com/tschellenbach/Django-facebook
I would really appreciate it.
http://github.com/facebook/python-sdk is official Facebook Graph SDK from Facebook. So it's good for fetching/puting data from Facebook. It's doing it well, so you don't have to search for alternative.
Authentication is bit more problem. I was searching for library witch will match my needs, but not found it. So I wrote bit off code myself.
see also:
http://developers.facebook.com/docs/authentication/
http://developers.facebook.com/docs/api
http://developers.facebook.com/docs/reference/javascript/
Just downloaded Coldfusion 9 developer for review purposes. I am at the administrator page 127.0.0.1:8300 and I think everything has worked fine. I want to do a simple "Hello World" example. One tutorial gave me a simple 6 line script to do this and it looks pretty simple and understandable. I went to notepad and created the following:
<html>
<head><title>Hello World</title></head>
<body>
<cfoutput>#ucase("hello world")#</cfoutput>
</body>
</html>
It told me to save it as helloworld.cfm in inetpub/wwwroot directory. I could not find such a directory on my system. So I saved it to C:\helloworld.cfm. Then it told me to go to my browser and type http://localhost/helloworld.cfm. I got something to the effect of a page not found error. Any help you can spare here.
Secondly, and more importantly, exactly where do I really need to be to be to create and run the above helloworld.cfm script above? Is there another tool I must have to create the above script to do this? I also understand that there is very little tutorial documentation on Coldfusion 9, why is that the case. Can you offer me any suggestions. I would really like to use this development tool. Adobe says it is the easiest development tool out there. You will have a tough time convincing me of that at this stage, however, I just might be missing a procedural/processing step thats real simple. I hope this is the case. Thanks for you valuable time.
When you installed ColdFusion did you hook it up to a webserver or did you install it in standalone mode?
Did you install it as standard ColdFusion or Multiserver?
The reason I ask is that depending on how you installed it will determine where you will find the web root.
For example, ColdFusion standard in stand alone mode will have the web root under something like C:\ColdFusion9\wwwroot
Multiserver standalone will be something like C:\Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
Installation with a connection to a web server will have asked you where you server's web root is and so on
To create scripts; notepad, but there are two eclipse based IDEs you might like to try. CFEclipse is free and ColdFusion Builder is adode's commercial product.
First of all, Welcome to the ColdFusion community!
I believe Jerry has done a default ColdFusion install. The CFAdmin URL as mentioned is 8300, so i guess it is a multi server installation.
As pointed out by stephen, your web root would be something like \Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
You need to place your helloworld.cfm in the above path.
I recommend ColdFusion builder/ CFEclipse to start with.
CF is a easy language, you will realize that soon :)
http://localhost/ will point to where your web server is configured. So obvious question is did you configure a web server such as IIS or Apache? Which OS are you using and which install of ColdFusion did you pick (standard, multiserver, other...)?
If you don't want to use an external web server you can use the built-in one, I have never really used it much but here is a link that should get you going: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservmgmt_3.html
To create CFM files you can use pretty much any editor, the most popular one is Eclipse (http://www.eclipse.org/) coupled with the CFEclipse plugin (http://www.cfeclipse.org/). Adobe now has a IDE based on Eclipse called CFBuilder (http://www.adobe.com/products/coldfusion/cfbuilder/features/) which is gaining speed quickly, but it is not free.
I have been searching high and low on Google and finding very little information on using Web services with MS Access 2007. I'm sure this is possible somehow but I can't find any relevant information.
Any ideas?
Have a look a Danny Delasandrini's article on consuming web services from Access. That should get you started, at least, (though it predates A2007 and A2010).
Yeah, what has worked for me in the past is to build a com-callable .NET component, install it on the user's machine, and reference the COM-interface from the access database using VBA.
I was developing and integration between MS Access 2010 and WordPress 4.0 using XMLRPC. I documented the process and some code in 8 articles:
1) Post publish
2) File upload
3) Featured image
4) Custom Type
5) Custom Fields
6) The complete proccess
7) Security
8) Post delete
I hope it will be helpful for somebody. It was very difficult to me to find documentation.
But it works like a charm!