Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

not able to use facebook plugin with ripple emulator

Tags:

cordova

ripple

I am trying to run facebook plugin 'SIMPLE example' using ripple emulator.

I already included the facebook_js_sdk.js and cdv_plgin.js and cardova.js.

config.xml is as follow.

<plugin name="org.apache.cordova.facebook.Connect value="org.apache.cordova.facebook.ConnectPlugin"/>
<gap:plugin name="FacebookConnect">
<param name="APP_ID" value="xxx" />
<param name="APP_NAME" value="app" />
</gap:plugin>

I am getting error

org.apache.cordova.facebook.Connect.getLoginStatus

We seem to be missing some stuff :(

What is kinda cool though you can fill in the textarea to pass a json object to the callback you want to execute

Thank you.

like image 523
Rasesh Avatar asked Jul 02 '13 12:07

Rasesh


People also ask

Is there a Facebook pixel plugin for Drupal?

Official Facebook Pixel Plugin for Wordpress, Drupal, and Joomla June 21, 2019 By Marvin Kwok We recently revamped our official Facebook pixel plugin for WordPress, Drupal, and Joomla. The Facebook pixel plugin, available for download, allows website owners to easily manage the Facebook pixel on their website.

How do I check if my Facebook pixel plugin exists?

As a developer, you must define two constants: PLUGIN_FILE — Used for the Facebook pixel plugin to check whether your plugin exists. If it is not, this integration class is not processed. TRACKING_NAME — Used for the Facebook to track the integration. This is fired at the pixel initiation code at the page load as follows.

How to implement the addpixelfireforhook in WordPress?

Inside the function, you can specify their hook through the add_action WordPress function call or our pre-defined addPixelFireForHook function call from the parent class. The pre-defined addPixelFireForHook function is used to simplify the implementation where you just have to specify one Hook handling function.

How do I fire a pixel code from the parent class?

Additionally, you must specify the injectPixelCode function, which is where the pixel code is being fired. Inside the function, you can specify their hook through the add_action WordPress function call or our pre-defined addPixelFireForHook function call from the parent class.


1 Answers

If you are running it using Ripple google extension, probably you are using old version.

Try out the new version as mentioned in the link below.

http://www.raymondcamden.com/index.cfm/2013/11/5/Ripple-is-Reborn

Also note that you can not expect every single feature to work in Ripple.

like image 185
Purus Avatar answered Dec 27 '22 02:12

Purus