Network Class Methods

Create a Network object.

Once you create a network object, the rest of the page will assume that you have a instantiated Network object in your session.

Network Object

Parameter Type Description
network String Your Livefyre network. For example: “labs.fyre.co”.
networkKey String The Livefyre-provided secret key for the network.

Java

import com.livefyre.Livefyre;

Network network = Livefyre.getNetwork(network, networkKey);

NodeJS

var livefyre = require('livefyre');

var network = livefyre.getNetwork(network, networkKey);

PHP

use Livefyre\Livefyre;

$network = Livefyre::getNetwork(network, networkKey);

Python

from livefyre import Livefyre

network = Livefyre.get_network(network, networkKey)

Ruby

require 'livefyre'

network = Livefyre.get_network(network, networkKey)

On this page