Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Alessandro Berbenni
    @aberbenni
    the Mixed Social Wall demo is what attracted me.
    Jonathan Hornung
    @JohnnyTheTank
    that's currently the main usecase
    if you look this page, you can see, that I nestled apiNG instances: http://johnnythetank.github.io/
    with this technique, it would be possible to create this social wall, what you expect
    do you understand?
    Here, I nestled apiNG instances, too: http://plnkr.co/edit/a8Uj8V?p=preview
    Alessandro Berbenni
    @aberbenni
    Well I think apiNG is a very interesting module.
    Jonathan Hornung
    @JohnnyTheTank
    It's open for creating custom solutions, but you have to understand how it works
    apiNG is more a framework that an module
    Alessandro Berbenni
    @aberbenni
    Definitely true.
    But, in building a social Wall I'm afraid of Rate Limits.
    Jonathan Hornung
    @JohnnyTheTank
    this should no problem, because I've created a technique to bypass rate limits
    I call this "credential manager"
    you can store more than one api key per platform, like this:
    apingApiKeys: {
        facebook : [
            { 'access_token': '<YOUR_ACCESS_TOKEN_1>'},
            { 'access_token': '<YOUR_ACCESS_TOKEN_2>'},
            { 'access_token': '<YOUR_ACCESS_TOKEN_3>'},
            { 'access_token': '<YOUR_ACCESS_TOKEN_4>'}
        ],
        // ...
    }
    Alessandro Berbenni
    @aberbenni
    Interesting and smart solution.
    I just hope they don't find out...
    Jonathan Hornung
    @JohnnyTheTank
    till now, I got no problem
    and I'm using some youtube token for the demos
    and some twitter token etc
    no problems till now
    do you need this done for a commercial usage?
    or just private
    Alessandro Berbenni
    @aberbenni
    Commercial.
    markbishop
    @markbishop_twitter
    JTT, are you there?
    Jonathan Hornung
    @JohnnyTheTank
    hi mark
    yes i'm here
    markbishop
    @markbishop_twitter
    Here is my ionic app.js (top)
    angular.module('starter', ['ionic', 'starter.controllers', 'starter.services', 'jtt_aping', 'jtt_aping_flickr', 'jtt_aping_dailymotion', 'jtt_aping_rss', 'jtt_aping_facebook'])
    so I added the fb

    index.html I added

    <script src="js/aping-plugin-facebook.min.js"></script>

    Jonathan Hornung
    @JohnnyTheTank
    yes
    that's correct
    you can use markdown for syntax btw
    here and in readme.io
    markbishop
    @markbishop_twitter
    tab-dash.html after ion-content shows
    <aping template-url="social_template.html" items="3" model="social" order-by="timestamp" order-reverse="true" aping-youtube="[{'channelId':'UCuGcxogeiX5DbfzBMTl_aZQ'}]" aping-facebook="[{'page':'Greenville First'}]" aping-codebird="[{'user':'adidas', 'showAvatar':false}]" aping-rss="[{'path':'http://blog.hackerearth.com/feed'}]">
    </aping>
    Jonathan Hornung
    @JohnnyTheTank
    maybe the facebook page name is wrong
    markbishop
    @markbishop_twitter

    then aping-config.js
    "use strict";
    angular.module('jtt_aping', [])

    .config(['$provide', function ($provide) {
    $provide.value("apingDefaultSettings", {
    apingApiKeys: {
    facebook: [{'access_token': 'EAAJPcXaGBosBAI6DwnGRPtjZA........................... (the rest of my token key)'}],
    // ...
    }
    });
    }]);

    Jonathan Hornung
    @JohnnyTheTank
    try t3nMagazin for facebook
    markbishop
    @markbishop_twitter
    so do I not need the aping-config.js?
    Jonathan Hornung
    @JohnnyTheTank
    "use strict";
    angular.module('jtt_aping', [])
        .config(['$provide', function ($provide) {
            $provide.value("apingDefaultSettings", {
                apingApiKeys: {
                    facebook: [{'access_token': 'EAAJPcXaGBosBAI6DwnGRPtjZA........................... (the rest of my token key)'}],
                // ...
                }
            });
        }]);
    next time, please paste with 3 backticks
    This message was deleted
    markbishop
    @markbishop_twitter
    k
    Jonathan Hornung
    @JohnnyTheTank
    better create a new file called aping-config.js
    at first, it looks good
    markbishop
    @markbishop_twitter
    k, one sec.. I'm creating blank ionic and starting over
    Jonathan Hornung
    @JohnnyTheTank
    first of all, try to use another facebook page
    markbishop
    @markbishop_twitter
    okay
    Jonathan Hornung
    @JohnnyTheTank
    try this: t3nMagazin