by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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
    that's one of my samples, where I know
    markbishop
    @markbishop_twitter
    give me one sec.. btw, thanks for creating this ... I've been searching everywhere how to display my social feeds in my app
    Jonathan Hornung
    @JohnnyTheTank
    you are welcome
    would love to get a star on github
    :)
    markbishop
    @markbishop_twitter
    will do
    Jonathan Hornung
    @JohnnyTheTank
    ty
    markbishop
    @markbishop_twitter
    okay, I'm seeing the demo (flickr, motion, rss) but facebook is missing.. do I need the config file since I'm using another facebook page name?
    Jonathan Hornung
    @JohnnyTheTank
    facebook needs api keys
    thats the problem
    markbishop
    @markbishop_twitter
    so put in my API token and make the config js?
    Jonathan Hornung
    @JohnnyTheTank
    the config file looks valid
    you have to include the config.js
    in the html
    can you test the app in your browser?
    with ionic serve
    you should open the developer tools and observe the network part
    there you can see all network requests
    try to find the facebook api call
    markbishop
    @markbishop_twitter
    I am. Soon as I add the aping-config.js in my index.html, the app goes blank
    Jonathan Hornung
    @JohnnyTheTank
    if there is no facebook api call, then the setup is not complete
    complete no content?
    markbishop
    @markbishop_twitter
    right, no 'dummy' feeds either
    just the ionic header
    Jonathan Hornung
    @JohnnyTheTank
    okay that's looks like a syntax error
    error in console?
    markbishop
    @markbishop_twitter
    looking
    Jonathan Hornung
    @JohnnyTheTank
    @markbishop_twitter I found the error
    you wrote this: angular.module('jtt_aping', [])
    but it should be this: angular.module('jtt_aping')
    because the first one is a declaration