Giter VIP home page Giter VIP logo

yamr's Introduction

yamr

Lifecycle: experimental CRAN status

The goal of yamr is to make it easier for you to embed Yammer items into your web-pages. This can be a way for you to embed a comments section into your page using Yammer. This may be of interest if you are working within an institution that has a private instance of Yammer.

Installation

You can install the development version of yamr from GitHub:

if (!requireNamespace("remotes")) install.packges("remotes")
remotes::install_github("ijlyttle/remotes")

Example

This is a basic example which shows you how to solve a common problem:

library(yamr)

# embed_yammer()

yamr's People

Contributors

ijlyttle avatar

Watchers

James Cloos avatar  avatar  avatar

yamr's Issues

signature of embed_yammer()

From https://developer.yammer.com/docs/embed:

<script type="text/javascript" src="https://c64.assets-yammer.com/assets/platform_embed.js"></script>
<div id="embedded-feed" style="height:400px;width:500px;"></div>
<script>
    yam.connect.embedFeed({
        container: '#embedded-feed',
        network: 'fourleaf.com',
        feedType: 'group',                // can be 'group', 'topic', or 'user'    
        feedId: '123',                     // feed ID from the instructions above
        config: {
             defaultGroupId: 3257958      // specify default group id to post to 
        }
    });    
</script>

From https://developer.yammer.com/docs/single-sign-on:

yam.connect.embedFeed({
    container: '#embedded-feed',
    network: 'domain.com', // network domain configured for federation
    feedType: '',
    feedId: '',
    config: {
        use_sso: true, // this line enables SSO
        header: true,
        footer: true,
        showOpenGraphPreview: false,
        defaultGroupId: 3257958      // specify default group id to post to 
    }
});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.