-
AuthorPosts
-
Creaktor Branding Agency Friend
Creaktor Branding Agency
- Join date:
- May 2012
- Posts:
- 256
- Downloads:
- 56
- Uploads:
- 30
- Thanks:
- 31
- Thanked:
- 2 times in 2 posts
August 21, 2014 at 11:40 am #200694We have a problem with the JA Social plugin. Since 12 August 2014 no items are imported anymore.
The first thing I did was updating the plugin, but unfortunately it still is not importing Facebook items.
Other posts, like Youtube, Twitter, Vimeo, etc work fine!After some searching in the code I found out that the function getContent doesn’t return any data (it returns an empty string “”).
Is Facebook blocking CURL requests? I have already tried to change the User Agent string but this has not effect. I have copied the code and tried it on several other servers but also on other servers I get no valid data.
private function getContent($url) {
if (function_exists(‘curl_init’)) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_TIMEOUT, 600);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, ‘Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0’);
if(strpos($url, ‘https:’) === 0) {
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
}
$content = curl_exec($ch);
curl_close($ch);} else {
// curl library is not installed so we better use something else
$content = @file_get_contents($url);
}return $content;
}www.creaktor.com
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
August 22, 2014 at 4:53 am #546930Hi,
Are you using the latest version (v.1.1.5) of JA Social Feed plugin ? We have released the new version of it. If not, pls upgrade it to latest then check your site again and let me know how it goes.
If the problem still persists, pls get back to me with URL, Admin, FTP credential of your site so that I can a look and help you out.
Regards,
Creaktor Branding Agency FriendCreaktor Branding Agency
- Join date:
- May 2012
- Posts:
- 256
- Downloads:
- 56
- Uploads:
- 30
- Thanks:
- 31
- Thanked:
- 2 times in 2 posts
August 22, 2014 at 9:41 am #546949<em>@Nazario A 442489 wrote:</em><blockquote>Hi,
Are you using the latest version (v.1.1.5) of JA Social Feed plugin ? We have released the new version of it. If not, pls upgrade it to latest then check your site again and let me know how it goes.
If the problem still persists, pls get back to me with URL, Admin, FTP credential of your site so that I can a look and help you out.
Regards,</blockquote>
We updated the plugin to v.1.1.5, cleared cache, disabled cache plugins, etc but still the Facebook posts are not imported. How can I send you the credentials? I don’t see the fields to enter them.
www.creaktor.com
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
August 22, 2014 at 9:46 am #546951Creaktor Branding Agency FriendCreaktor Branding Agency
- Join date:
- May 2012
- Posts:
- 256
- Downloads:
- 56
- Uploads:
- 30
- Thanks:
- 31
- Thanked:
- 2 times in 2 posts
August 27, 2014 at 12:08 pm #547427<em>@Nazario A 442518 wrote:</em><blockquote>@accessvirus,
You can send me via Private Message. Please click to my nick name, you will see it.
</blockquote>Ah OK! Sorry, I’ve send you the login information through a private message.
www.creaktor.com
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
August 28, 2014 at 10:02 am #547513I accessed your Admin but look like the account which you provided, is limited the permission. I can not go to the plugin manager (http://prntscr.com/4h9ee9) to check the configuration of it.
Could you change the permission this account like super user ? I need to access and have a look.
Creaktor Branding Agency FriendCreaktor Branding Agency
- Join date:
- May 2012
- Posts:
- 256
- Downloads:
- 56
- Uploads:
- 30
- Thanks:
- 31
- Thanked:
- 2 times in 2 posts
August 29, 2014 at 9:57 am #547651I changed permissons to Super Admin.
www.creaktor.com
Creaktor Branding Agency FriendCreaktor Branding Agency
- Join date:
- May 2012
- Posts:
- 256
- Downloads:
- 56
- Uploads:
- 30
- Thanks:
- 31
- Thanked:
- 2 times in 2 posts
September 1, 2014 at 9:59 am #547841<em>@Nazario A 443242 wrote:</em><blockquote>@accessvirus,
I accessed your Admin but look like the account which you provided, is limited the permission. I can not go to the plugin manager (http://prntscr.com/4h9ee9) to check the configuration of it.
Could you change the permission this account like super user ? I need to access and have a look.</blockquote>
Could you please look at the problem? Our client is waiting for a solutions and we do not have a clue why no facebook items are imported. I’ve send you the login information via a private message.
www.creaktor.com
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
September 5, 2014 at 3:11 am #548377Hello,
I have applied this solution for your site, and it helped to resolve this issue.
Please have a lookCreaktor Branding Agency FriendCreaktor Branding Agency
- Join date:
- May 2012
- Posts:
- 256
- Downloads:
- 56
- Uploads:
- 30
- Thanks:
- 31
- Thanked:
- 2 times in 2 posts
September 11, 2014 at 12:52 pm #549175Hello Dead Code, it looks like the Facebook items are being imported fine! Thanks for that!
But I think we have another problem now with Youtube and Vimeo video’s. There are several profiles configured in the JA Social plugin, if I click on the verify button I can see the XML that is loaded from Youtube/Vimeo. But the plugin doesn’t import video’s anymore, I think think “the change”.
I have checked the URL’s, e.g. http://gdata.youtube.com/feeds/base/users/kempentv/uploads?orderby=updated&alt=rss, If i change the URL to https it also shows the XML data from Youtube. Do you have any idea why things are not being imported?
www.creaktor.com
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
September 12, 2014 at 3:06 am #549230Hello,
It did not import data from Youtube and Vimeo because in General Tab of plugin setting form, you have enabled only Facebook source, and disabled other ones.
Please enable Sources that you want to get data from and test again 🙂
AuthorPostsViewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 3 voices, and was last updated by Thanh Nguyen Viet 10 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Since 12-August-2104 no Facebook post imported (CURL?)
Viewing 11 posts - 1 through 11 (of 11 total)