Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 23 2019 18:18
    ellemaker commented #350
  • Sep 26 2019 08:25
    Ezra-Siton-UIX edited #353
  • Sep 26 2019 08:24
    Ezra-Siton-UIX edited #353
  • Sep 26 2019 08:24
    Ezra-Siton-UIX edited #353
  • Sep 26 2019 08:24
    Ezra-Siton-UIX edited #353
  • Sep 26 2019 08:24
    Ezra-Siton-UIX edited #353
  • Sep 26 2019 08:23
    Ezra-Siton-UIX edited #353
  • Sep 26 2019 08:23
    Ezra-Siton-UIX edited #353
  • Sep 26 2019 08:23
    Ezra-Siton-UIX edited #353
  • Sep 26 2019 08:22
    Ezra-Siton-UIX opened #353
  • Sep 12 2019 10:12
    bluelevel-media commented #352
  • Sep 12 2019 10:11
    bluelevel-media commented #352
  • Sep 12 2019 10:10
    bluelevel-media commented #352
  • Sep 09 2019 12:42
    bluelevel-media opened #352
  • Aug 25 2019 08:32
    HartLarsson commented #351
  • Aug 24 2019 19:56
    AlkarE commented #350
  • Jul 27 2019 00:42
    jubiki commented #351
  • Jun 29 2019 08:59
    vushe closed #330
  • Apr 13 2019 01:31
    charj edited #351
  • Apr 13 2019 01:23
    charj edited #351
HartLarsson
@HartLarsson
ok ;)
HartLarsson
@HartLarsson
I've check the social.feed.js with the latest jquery (jquery-3.1.1) and there are tons of errors :(
Tim Krajewski
@TimothyKrajewski
Can anyone explain what a CORS_URL is on Heroku? I'm working on a college app as a mentored research project and I have never heard of this. Any more information or how to set it up would be helpful
Pavel Kucherbaev
@pavelk2

Hi @TimothyKrajewski,
CORS_URL for HEROKU is only used for so-called social-feed-server. This component is not finalized and not ready for any use. Social-feed-server is not needed for the regular social-feed. Social-feed is front-end only component and it does not require back-end.

If you still intend to use specifically this component, CORS_URL is url of the website from which you plan to make cross domain requests to the server side.

Martijn Smit
@martijnsmitt
Hi @pavelk2,
Can i ask why yourjQuery plugin doesn't have a username variable? I wanna show the usernames along with the messages, but i can only see their names..
Pavel Kucherbaev
@pavelk2
Good questione @martijnsmitt . I remember there are ids and names. There is no specifico reasons there are no usernames. Feel free To extend it and i am happy To accept your pull request :)
YvetteVoskuijlen
@YvetteVoskuijlen
Hi @pavelk2,
Can i ask if there is a possibility if you can get the video's from facebook posts.
Also, with the change of the instagram privacy policy i get an error when i try to get the posts from instagram '"error_message": "This request requires scope=public_content, but this access token is not authorized with this scope. The user must re-authorize your application with scope=public_content to be granted this permissions."}}' and the error in the script is 'Uncaught TypeError: Cannot read property 'id' of undefined(…)' could you help me with fixing that?
HartLarsson
@HartLarsson
hi @YvetteVoskuijlen , we have discussed a fix about your problem here pavelk2/social-feed#197
YvetteVoskuijlen
@YvetteVoskuijlen
hi @HartLarsson , thanks for that! so my only problem now is with the video's from fb
HartLarsson
@HartLarsson
@YvetteVoskuijlen, Yes video from FB aer actually not supported. if you want to partecipate with a patch for implementing it feel free to submit a pull request.
HartLarsson
@HartLarsson
I think we need to start to write version and notes inside the .js. Is more usefull to undertand, like other js scripts, the version we still running.
YvetteVoskuijlen
@YvetteVoskuijlen
can you get pins that aren't in a board?
codedbyrob
@codedbyrob
Hi, thanks for the awesome plugin - I love it! Just one question - is it possible to dynamically modify the post limits? For example, I'm trying to get all social networks to start with a limit of 1, and toggle between 1 and 3 on a button click, to show more/less posts. Thanks again!
HartLarsson
@HartLarsson
for ADMINS, please update the js code of the demo because is affected by IE/EDGE twitter bugged DATA .
blob
must be: post.dt_create = moment(element.created_at, 'dd MMM DD HH:mm:ss ZZ YYYY');
as i fixed in a previous release
Pavel Kucherbaev
@pavelk2
Bmelc
@Bmelc
Is there an easy way to put this .js files into a weebly website? I have tried but it seems to not be working properly and my server is always on as the instructions indicate. Thank you for your assistance!
RecaaJo
@RecaaJo
@pavelk2 As we know Facebook and Twitter have daily request limits. Do this plugin sends request on every page refresh or there are any caching mechanism for this?
Pavel Kucherbaev
@pavelk2
@RecaaJo right now requests are sent every time, no caching is implemented so far.
@Bmelc - no prior experience with weebly, if you can share your code, someone might help you out.
Abhinav Gupta
@abhnvgupta
Hi @pavelk2 , @Webarkitekt . I am trying to add support for linkedin in jquery.socialfeed.js. But I seem to have hit a wall.
(function($, window, document, undefined) {
//some code here
        //---------------------------------------------------------------------------------
        var options = $.extend(defaults, _options),
            container = $(this),
            template,
            social_networks = ['facebook', 'instagram', 'vk', 'google', 'blogspot', 'twitter', 'linkedin', 'pinterest', 'rss'],
            posts_to_load_count = 0,
            loaded_post_count = 0;
        // container.empty().css('display', 'block');
        //---------------------------------------------------------------------------------

//some code here
            linkedin: {
                posts: [],
                loaded: false,
                api: 'https://api.linkedin.com/v1',
                getData: function() {
                    IN.Event.on(IN, "systemReady", function(){
                        IN.API.Raw("/companies/" + options.linkedin.company_id + "/updates?format=json&count=" + options.linkedin.limit).result(Feed.linkedin.utility.unifyPostData);
                    });
                },
                utility: {
                    unifyPostData: function(element) {
                        // var post = {};

                        // post.id = element.values[i];
                        // post.dt_create = element.timestamp;
                        // post.author_link = "http://www.linkedin.com/company-beta/" + options.linkedin.company_id + "/";
                        console.log(element);
                    }
                }
            },
//other code here
})(jQuery);
Now I need to call the getData function from this script here, which I put in an html file. But I am not able to see how. Do you people have any ideas.
<script type="text/javascript" src="//platform.linkedin.com/in.js">
        api_key: xxxxxxxxxxxxx
        onload: Feed.linkedin.getData
        authorize: false
        lang: en_US
</script>
Abhinav Gupta
@abhnvgupta
I found some interesting ways that can be useful. But I haven't been able to make them work yet.
Also for linkedin, I did not find a way to GET user posts. So I am, trying to get the posts and updates made by companies. There is this company page "DevTestCo", with company_id: 2414183, made by linkedin for testing purposes.
Abhinav Gupta
@abhnvgupta
I am using Linkedin JSSDK to authenticate, and GET posts. And if anyone needs it...I have formatted In.js
//platform.linkedin.com/in.js
if(!window.console){
        window.console={}
    }
if(typeof window.console.log!=="function"){
        window.console.log=function(){}
    }
if(typeof window.console.warn!=="function"){
        window.console.warn=function(){}
    }
(function(){
    var S={"bootstrapInit":+new Date()},
        p=document,
        m=(/^https?:\/\/.*?linkedin.*?\/in\.js.*?$/),
        b=(/async=true/),
        D=(/^https:\/\//),
        J=(/\/\*((?:.|[\s])*?)\*\//m),
        F=(/\r/g),
        j=(/[\s]/g),
        g=(/^[\s]*(.*?)[\s]*:[\s]*(.*)[\s]*$/),
        x=(/_([a-z])/gi),
        A=(/^[\s]+|[\s]+$/g),
        u=(/^[a-z]{2}(_)[A-Z]{2}$/),
        C=(/suppress(Warnings|_warnings):true/gi),
        d=(/^api(Key|_key)$/gi),
        k="\n",
        G=",",
        n="",
        I="@",
        o="extensions",
        Z="on",
        w="onDOMReady",
        ac="onOnce",
        aa="script",
        L="https://www.linkedin.com/uas/js/userspace?v=1.0.50-1429",
        h="https://platform.linkedin.com/js/secureAnonymousFramework?v=1.0.50-1429",
        H="http://platform.linkedin.com/js/nonSecureAnonymousFramework?v=1.0.50-1429",
        P="http://platform.linkedin.com/js/frameworkV2?v=1.0.50-1429",
        B=p.getElementsByTagName("head")[0],
        t=p.getElementsByTagName(aa),
        X=[],
        a=[],
        O=["lang"],
        R={},
        c=false,
        ad,l,W,r,K,E,ab;

    if(window.IN&&IN.ENV&&IN.ENV.js)
    {
        if(!IN.ENV.js.suppressWarnings)
            {
                console.warn("duplicate in.js loaded, any parameters will be ignored")
            }
        return
    }

    window.IN=window.IN||{};
    IN.ENV={};
    IN.ENV.js={};
    IN.ENV.js.extensions={};
    statsQueue=IN.ENV.statsQueue=[];
    statsQueue.push(S);
    ad=IN.ENV.evtQueue=[];

    IN.Event={
        on:function(){
            ad.push({
                type:Z,
                args:arguments
            })
        },
        onDOMReady:function(){
            ad.push({
                type:w,
                args:arguments
            })
        },
        onOnce:function(){
            ad.push({
                type:ac,
                args:arguments
            })
        }
    };

    IN.$extensions=function(ag){

        var aj,i,af,ai,ah=IN.ENV.js.extensions;

        aj=ag.split(G);

        for(var ae=0,e=aj.length; ae<e; ae++){
            i=V(aj[ae],I,2);
            af=i[0].replace(A,n);
            ai=i[1];

            if(!ah[af]){
                ah[af]={src:(ai)?ai.replace(A,n):n,loaded:false}
            }
        }
    };

    function V(ag,ae,e)
    {
        var ah=ag.split(ae);

        if(!e){
            return ah
        }

        if(ah.length<e){
            return ah
        }

        var af=ah.splice(0,e-1);
        var i=ah.join(ae);
        af.push(i);
        return af
    }

    function v(e,i){

        if(e===o){
            IN.$extensions(i);
            return null
        }

        if(d.test(e)){
            i=i.replace(j,n)
        }

        if(i===""){
            return null
        }

        return i
    }

    function N(af,ag){
        ag=v(af,ag);

        if(ag){

            af=af.replace(x,function(){
                return arguments[1].toUpperCase()
            });

            if(af==="lang"&&!u.test(ag)){

                try{
                    var ae=ag.replace("-","_").split("_");
                    ae=[ae[0].substr(0,2).toLowerCase(),ae[1].substr(0,2).toUpperCase()].join("_");
                    if(!u.test(ae)){
                        throw new Error()
                    }
                    else{
                        ag=ae
                    }
                }

                catch(ah){

                    if(!(ab||IN.ENV.js.suppressWarnings)&&ag){
                        console.warn("'"+ag+"' is not a supported language, defaulting to 'en_US'")
                    }

                    ag="en_US"
                }
            }

            else{
                if(af==="noAuth"||af==="noApi"){
                    ag=/^(?:true|yes|1)$/i.test(ag)
                }
            }

            IN.ENV.js[af]=ag;
            var ai=[encodeURIComponent(af),encodeURIComponent(ag)].join("=");

            for(var i in O){
                if(O.hasOwnProperty(i)&&O[i]===af){
                    a.push(ai);
                    return
                }
            }

            X.push(ai)
        }
    }

    l="";

    for(U=0, q=t.length; U<q; U++){
        var f=t[U];

        if(!m.test(f.src)){
            continue
        }

        if(b.test(f.src)){
            c=true
        }

        try{
            l=f.innerHTML.replace(A,n)
        }

        catch(z){
            try{
                l=f.text.replace(A,n)
            }

            catch(y){}
        }
    }

    l=l.replace(J,"$1").replace(A,n).replace(F,n);
    ab=C.test(l.replace(j,n));

    for(var U=0, T=l.split(k), q=T.length; U<q; U++){

        var s=T[U];

        if(!s||s.replace(j,n).length<=0){
            continue
        }

        try{
            W=s.match(g);
            r=W[1].replace(A,n);
            K=W[2].replace(A,n)
        }

        catch(Y){

            if(!ab){
                console.warn("script tag contents must be key/value pairs separated by a colon. Source: "+Y)
            }

            continue
        }

        N(r,K)
    }

    N("secure",1);

    function M(e,i){
        return e+((/\?/.test(e))?"&":"?")+i.join("&")
    }

    IN.init=function Q(i){

        var e=IN.ENV.js,ae,af;
        i=i||{};

        for(ae in i){
            if(i.hasOwnProperty(ae)){
                N(ae,i[ae])
            }
        }

        E=p.createElement(aa);

        if(e.v2){
            af=M(P,X)
        }

        else{

            if(e.apiKey&&!e.noAuth){
                af=M(L,X)
            }

            else{
                af=e.secure?h:H
            }
        }

        E.src=M(af,a);
        B.appendChild(E);

        statsQueue.push({
            "userspaceRequested":+new Date()
        });

        IN.init=function(){}
    };

    statsQueue.push({
        "bootstrapLoaded":+new Date()
    });

    if(!c){
        IN.init()
    }
})();
HartLarsson
@HartLarsson
@abhnvgupta please post on github your patch so we can test it
Abhinav Gupta
@abhnvgupta
okay
yusrijamal
@yusrijamal
hey. first of all, cool plugin. now i am trying to search text from a specific user. any idea what needs to be added/modified?
HartLarsson
@HartLarsson
Search text? what you mean?
yusrijamal
@yusrijamal

i meant to search for keywords that appear in tweets from a specific user.

for example, i'd like to see all tweets from obama mentioning immigration.

HartLarsson
@HartLarsson
hi, plain text search is not supported, not on twitter nor in other socials. There are some limitation due to social API and nr of and type of requests you can do.
Guillaume K.
@Webarkitekt
Is someone experiencing loading issue with yahoo rss feed api ?
Me yes and i think about switching to https://rss2json.com
shinoo187
@shinoo187

Hello,

I'm trying to do tests with this plugin to post posts from different facebook and twitter accounts (for now I'm just testing facebook). I have created my app and fill in the appid and secret app but nothing is displayed and I have no errors in the console. Do you have an idea ?

Marcus Tisäter
@marcustisater
Hello! Has anyone integrated this plugin with a slideshow for mobile view? I would like to show 3-4 posts in a slideshow.
Marcus Tisäter
@marcustisater
Any updates regarding pavelk2/social-feed#26
HartLarsson
@HartLarsson
thre is a FIX for FB API v2.4 ro 2.12 to be approved and merged. I've no rights to do it please someoene with merge rights can do it?
Guillaume K.
@Webarkitekt
@HartLarsson was it done ?
Guillaume K.
@Webarkitekt
Well apparently ;)
Zeroh Creative
@Zeroh_Creative_twitter
hey guys so i was able to get the fb app working on my end but i can't see the images does that have anything to do with my token settings?
Also the posts are just text based right now and they keep repeating themselves even though there's a cap limit not sure why it's doing that...
Can anyone help me or guide me? I would greatly appreciate the support.
HartLarsson
@HartLarsson
is there any support / fix on github? there are tons of request never answered :)
@pavelk2 pokes :)
omman
@omman
hi not working with my appid and secret code