Apache Cordova Facebook Connect Plugin not working in Phonegap Application

  • 1
  • Question
  • Updated 6 years ago
  • Answered
hey i want to integrate Facebook with my application and moreover i tried Apache Cordova Facebook Connect Plugin but its not working as such in Phonegap Application. Please let me know how can i integrate Facebook sharing in my Application so that after sharing content control comes again on the Application. So how can i do it?
Photo of Abhinav Singh

Abhinav Singh

  • 2 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of Eddy Verbruggen

Eddy Verbruggen, Champion

  • 375 Posts
  • 86 Reply Likes
Hi Abhinav,

You can use the SocialSharing plugin for that purpose. The plugin gives temporary control to another app to share some prefilled content (text, image, url, pdf, ..) and once done, your app is in control again.

https://build.phonegap.com/plugins/431

Hope this gets you going,
Eddy
Photo of Abhinav Singh

Abhinav Singh

  • 2 Posts
  • 0 Reply Likes
Hey Eddy After Using this plugin, I am still getting "Unable to get property 'socialsharing' undefined or null reference when i tried window.plugins.socialsharing.shareVia() and window.plugins.socialsharing.shareViaFacebook()

Please let me know whats the solution?
Photo of Eddy Verbruggen

Eddy Verbruggen, Champion

  • 375 Posts
  • 86 Reply Likes
Can you point me at your github repo, or share your www.zip via email (eddyverbruggen[at]gmail.com)? Then I'll have a look..
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Topic no longer active (too old). Please create new topic if needed.

Thanks

This conversation is no longer open for comments or replies.