I have created a paragraph bundle with text fields that ask for social media accounts(facebook account name, youtube account name, twitter account name) Then a custom module will grab that account name and then return the latest feeds for that account.
I created a new template file for the paragraph bundle called paragraphs-item--custom_feed.tpl.php
From this template file I call the functions I created in my custom module but I realize that this works only if i'm signed in as an admin. If I view the page without being an admin then nothing appears where that bundle should be.
<div class="<?php print $classes; ?>"<?php print $attributes; ?>> <div class="content"<?php print $content_attributes; ?>> <?php print my_module($content['field_youtube']['#markup']); ?> </div> </div>
EDIT: while changing permissions allowed me to view the paragraph as anonymous and authenticated I was wondering if using hook_preprocess_entity would be a better way to do this so i can can pass the proper variables to the paragraph template file.