FeliceMente
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Adding instagram username to tag postsI added it to the todo list for next minor update, thanx for the suggestion.
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Can't get pictures to show upSorry for answering so late.
I don’t think the problem is client related, but due to your server configuration.You can perform Instagram authorization, so cURL (that is used for this phase) is installed and working.
The problem is getting the photos from the user stream and the tag stream, that don’t use cURL.If you can perform a test, patching one of the files of the plugin, we could e sure this is the problem, ad then include the patch in the next update.
The file to modify is wp-instaroll/instagram/instagram.php:
1. add this block to the beginning of the file, just the line after ‘<?php’:function curl_file_get_contents($url) { $curl = curl_init(); $userAgent = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)'; curl_setopt($curl,CURLOPT_URL,$url); // TRUE to return the transfer as a string of the return value of curl_exec() instead of outputting it out directly curl_setopt($curl,CURLOPT_RETURNTRANSFER,TRUE); // the number of seconds to wait while trying to connect curl_setopt($curl,CURLOPT_CONNECTTIMEOUT, 6); curl_setopt($curl, CURLOPT_USERAGENT, $userAgent); curl_setopt($curl, CURLOPT_FAILONERROR, TRUE); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, TRUE); curl_setopt($curl, CURLOPT_AUTOREFERER, TRUE); curl_setopt($curl, CURLOPT_TIMEOUT, 12); $contents = curl_exec($curl); curl_close($curl); return $contents; }
2. find
$file_contents = @file_get_contents(WP_ROLL_INSTAGRAM_USER_STREAM_URLBASE.$accessToken);
and substitute with:
$file_contents =@curl_file_get_contents(WP_ROLL_INSTAGRAM_USER_STREAM_URLBASE.$accessToken);
3. find
$file_contents = file_get_contents(WP_ROLL_INSTAGRAM_STREAM_BYTAG_URL_A.$tag.WP_ROLL_INSTAGRAM_STREAM_BYTAG_URL_B.$accessToken);
and substitute it with:
$file_contents = @curl_file_get_contents(WP_ROLL_INSTAGRAM_STREAM_BYTAG_URL_A.$tag.WP_ROLL_INSTAGRAM_STREAM_BYTAG_URL_B.$accessToken);
Otherwise, if you send me a support email, I can aswer you, ataching the file already modified.
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Adding instagram username to tag postsI think this is a feature we could implement in the next version.
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Can't get pictures to show upCan you try opening the developer panel in Chrome and checking any strange/error message both in console and in network panels?
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Can't get pictures to show upSorry for the problem.
Can you please tell me what browser you’re using (and which version), and what version of WordPress, PHP and MySQL you’re using?
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Can't get pictures to show upDo you get any message?
Did you specify, in settings, the search tag?
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Error on installation; not installingIt’s very likely that there’s some problem when the server were you installed the product tries to connect to Instagram server via SSL, so:
– what version of PHP is you server running?
– is the CURL extension installed with SSL support enabled (CURL is used for the connection, using a mandatory secure SSL connection)?
– are you testing the plugin on a local or remote server?Can you read the php log file and see if there’s any error?
In case PHP is at least 5.2 and CURL is installed, there’s probably some error regarding SSL connection. In this case, you can try decommenting this line:
//curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
to
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
in instagram/instagram.php file inside the plugin directory (it tells the server not to check for valid server,, in case you server doesn’t have an updated list of valid servers).Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Error on installation; not installingI just uploaded a new version that fixes a little issues regarding authorization, but, if you get that message (that’s a different from your previous post) it means the authorization code from Instagram was not received so:
– check that instagram application id and secret in WordPress setting are the same specified for the Instagram application
– check that the correct authorization redirect URL is set for the Instagram application (it must be the one showed in the settinga panel of the plugin).I just double checked using Chrome, Safari and Firefox, with a previous installation and with an installation from scratch, and couldn’t reproduce the problem.
Can you please try with version 1.0.4.2?
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Error on installation; not installingHi.
Can you please tell me what browser you’re using and what happened exaclty when performing the authorization process.
It’s normal getting just -1 in WordPress when trying to directly access an admin action without having an active admin session.
Can you try deauthorizing the application from:
https://instagr.am/accounts/manage_access
and then logging-out from Instagram (https://instagr.am/accounts/logout/). Then you can try again the authorization process from the plugin.A pop-up window should appear and, after inserting the login data, the window should close and the plug-in settings page should show the logged-in account info.
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Error on installation; not installingThe plugin also works with WordPress automatic installation, now, with version 1.0.4.1.
Sorry for the inconvenience.
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Error on installation; not installingHi.
For using the plug-in, you simply have to decompress the downloaded archive anche place the contained ‘wp_instaroll’ folder (not all the decompressed content, just that folder) to WordPress plugin directory (‘/wp-content/plugins/’).
Then you just have to go to ‘Settings->plugins’ and click on ‘activate’.
I suppose you tried to install the plugin directly from WordPress, so I’ll try to modify the package to making it become compatible with automatic WordPress installation.