Adding facebook phonegap implementation