Module

Archived
Forum
(read-only)

Facebook Link

ExpressionEngine 2, ExpressionEngine 3

Back to this add-on's main page
View Other Add-ons From Ron Hickson

     

Plugin working locally but not remotely

Support Request

Jon Nixon
Jon Nixon

Hi there,

I have a very basic feed:

<strong>Latest Facebook Posts</strong>
{exp:fb_link:graph graph="RevitasInc?fields=feed.limit(5)"}
{feed}
{feed
:data}
<div>

{if feed:type == 'status'}
<p>{feed:message}</p>
<
p>Posted by {feed:from}{from:name}{/feed:from} on {feed:created_time format="%D, %M %d"}.</p>
{/if}

{if feed
:type == 'link'}
<p><a href="{feed:link}">{feed:name}</a></p>
<
p>{feed:message}</p>
<
p>Posted by {feed:from}{from:name}{/feed:from} on {feed:created_time format="%D, %M %d"}.</p>
{/if}

{if feed
:type == 'video'}
<p><a href="{feed:link}">{feed:name}</a></p>
<
p>Posted by {feed:from}{from:name}{/feed:from} on {feed:created_time format="%D, %M %d"}.</p>
{/if}

{if feed
:type == 'photo'}
<p><a href="{feed:link}"><img src="{feed:picture}"></a></p>
<
p><a href="{feed:link}">{feed:message}</p></a>
<
p>Posted by {feed:from}{from:name}{/feed:from} on {feed:created_time format="%D, %M %d"}.</p>
{/if}

</div>
{/feed:data}
{
/feed}
{
/exp:fb_link:graph} 

This works fine locally but not remotely. No javascript errors, no template debugger errors. Anything else to look into?

rhickson
# 1
Developer
rhickson

That is strange.  I’m going to ask two obvious questions - do you have the proper credentials in the remote setup?  Any PHP/Apache error logs on the remote setup? (It sounds like it can’t fetch the data.)

Jon Nixon
# 2
Jon Nixon

Yea, no php errors and I triple-checked the credentials to make sure remote matched local.

rhickson
# 3
Developer
rhickson

Was it working on the remote server previously?