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
|
Posted: 16 July 2015 10:35 PM |
|
|
|
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
|
Posted: 17 July 2015 07:22 AM |
# 1
|
|
Developer
|
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
|
Posted: 17 July 2015 07:35 AM |
# 2
|
|
|
Yea, no php errors and I triple-checked the credentials to make sure remote matched local.
|
|
|
rhickson
|
Posted: 18 July 2015 10:21 AM |
# 3
|
|
Developer
|
Was it working on the remote server previously?
|
|
|