Skip to content

xiidea/viafoura-follow-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

viafoura-follow-widget

Easy Custom Follow Link Integration of Viafoura

Key Features

  • Easy to integrate with any Application working with Viafoura
  • Next to zero configuration!!
  • Support user login!!
  • Create Viafoura user session cookie for you!!
  • Support Follow status!
  • Currently only support to follow user's comments only(follow article's comments will coming soon)

Current Active Version

v 0.1 Released!

Installation

Prequisites

  • jQuery - This is required by Viafoura Service it self.

Required files

Copy ViafouraFollowWidget.js to your javascript folder.

Usage

If you like demos more than a boring documentation see the example.html file and play with it.

The plugin can be called with jQuery in different ways.

Standard call with default theme and settings:

$('.myElement').ViafouraFollowWidget();

Html content and markup

any Html container tags(<div>,<span>, <td>) etc. can be used. replace {USERID} with appropriate viafoura user ID

<div class="myElement" data-id="{USERID}"></div>

You can also provide the text in javascript for all link elements:

$('.myElement').ViafouraFollowWidget({
                                       followLabelText:"Follow Link",
                                       unFollowLabelText:"Unfollow Link"
                                    });

You can change the default value for all options.

Options

  • followLabelText: Text To show as Follow Link.
  • unFollowLabelText: Text To show as Un follow link.

Feedback

Please send me an email or a tweet ‏@XiiDEA with any feedback you have.

This plugin is my first attempt at a custom widget for Viafoura Integrated System, so any ideas for improvement are welcome.

Contributing

Contribute!

About

Easy Custom Follow Link Integration of Viafoura

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published