简体   繁体   中英

social-feed.js issues doesn't work

has someone used this jquery plugin? i tried to make a facebook scrapper for a website we're developping but for some reason the plugin don't make the structure in the DOM.

let me explain:

when you run the social-feed plugin it takes a div with a social-container-class

<div class="social-feed-container"></div>

and then it makes a structure with all the post that it fetches.

<div class="social-feed-element " dt-create="1456497499000" social-feed-id="8479">
    <div class="content">
        <a class="pull-left" href="http://vk.com/moikrug" target="_blank"> <img class="media-object" src="http://cs628129.vk.me/v628129376/19ce2/1hWyB5Rn9Vg.jpg"> </a>
        <div class="media-body">
            <p> <i class="fa fa-vk"></i> <span class="author-title">Мой круг</span> <span class="muted pull-right"> 11 days ago</span> </p>
            <div class="text-wrapper">
                <p class="social-feed-text">Требуется «Front-end разработчик (React.js+redux, Node.js)»Компания «Codesign.io | The simplest feedback tool» ищет хорошего специалиста на&nbsp;вакансию «Front-end разработчик (React.js+redux, Node.js)».... <a href="http://vk.com/moikrug?w=wall-46638176_8479" target="_blank" class="read-button">read more</a></p>
            </div>
        </div>
    </div>
    <img class="attachment" src="http://cs633930.vk.me/v633930376/12b14/Pygt6ElMVxQ.jpg" style="display: none;">
</div>

i tried (and even copied all the required js from the demo website) but the final structure doesn't seems to be there, there is only plain text and an <img> this is the website we're working on. http://sharktank.mx/aragon/

如果您遇到同样的麻烦,请在doT.js完成工作后,尝试在template.html中自行构建结构。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM