Hello,
I want to pull facebook posts in blocks and Your module seems to be a good idea.
Problem: I keep getting these errors:
Notice: Undefined index: type - socialfeed_facebook_data() (eilutė 239 iš /home/a0022980/public_html/new/modules/socialfeed/socialfeed.module).
Notice: Undefined index: type - socialfeed_facebook_data() (eilutė 244 iš /home/a0022980/public_html/new/modules/socialfeed/socialfeed.module).
On these lines there is this code:
if ($facebook_entry['type'] == 'photo' || $display_all_posts == 0) {
if ($display_pic == 1) {
$message_feed['picture'] = $facebook_entry['picture'];
}
}
and
if ($facebook_entry['type'] == 'video' || $display_all_posts == 0) {
if ($display_video == 1) {
$message_feed['video'] = $facebook_entry['source'];
}
}
so in the end I have only this generated: https://gyazo.com/a3fdee45846d6f27d5541ff281efee71 and errors on the top.
I can't find out why it is not recognizing types like photo and video...
Thanks in advance!
Comments
Comment #2
paulmark commentedComment #3
hemangi.gokhaleComment #5
hemangi.gokhaleComment #7
hemangi.gokhaleCommitted to bfc2526, thanks!