If my gplus post had multiple pictures, then it did not import links to the pictures.
Is there a way to import the pictures as native so I can make the thumbnails work on my post list control (or some type of other method or control?). I am using “special recent posts”. But can use another method if needed.
https://Subhuti.withmetta.net
https://Plus.Google.com/+bhikkhusubhuyi
Hello,
this is a great plugin.
thank you very much.
I was wondering if it possible to do the following.
When i post a link to google+ and press the import function the original post will be reposted on my posts in wordpress. the new post has the title from the google+. I would like to keep the title…but…. i would like to click on that title and get back to original url in new window.
right now there is a picture on my post. i click on that and it happens… but how can i also make the title to open the original url in new window ?
thank you very much
Alex
i have configured and imported now what shortcode do i use on my page
]]>I’m very confused on how to obtain an API key. I’m in the Developers Console and can’t figure out how to obtain a Client ID and Secret.
]]>I have had this problem for some time now – the manual import of new posts works, but it doesn’t seem to automatically import posts.
I have been regularly using the mass import function to achieve what I wanted.
I’d really like to resolve this now.
Any help would be appreciated.
]]>Hi!
It appears that when I attempt a manual mass import ALL, I only receive activity (posts) up to July of this year. Is there a setting I’m not configuring correctly?
Thanks!
]]>First patch:
--- g-crossposting.php 2014-09-16 17:31:32.000000000 -0700
+++ g-crossposting-patch.php 2014-09-16 17:35:03.000000000 -0700
@@ -143,6 +143,26 @@
}
/**
+ * checks Google+ for all activities and posts them
+ */
+function g_crossposting_update_all() {
+ // first check if all settings are in place
+ if (! g_crossposting_is_enabled()) {
+ return;
+ }
+
+ // get all activities
+ $all_activities = array();
+ $all_activities = g_crossposting_get_all_activities();
+ if ($all_activities == null) {
+ return;
+ }
+
+ // post new activities on blog
+ g_crossposting_post_new($all_activities);
+}
+
+/**
* checks Google+ for new activities and posts them
*/
function g_crossposting_update() {
@@ -173,7 +193,7 @@
// basic validation showed that we might have valid connection settings
// now do an actual connect to see if we are able to connect
- if (g_crossposting_api_activities_list($options['gplusid'], $options['apikey'], 1) == null) {
+ if (g_crossposting_api_activities_list($options['gplusid'], $options['apikey'], 1, "") == null) {
// either settings are wrong or gplus is offline
return FALSE;
@@ -214,9 +234,9 @@
*
* @return array with activities or null
*/
-function g_crossposting_api_activities_list($p_gplusid, $p_apikey, $p_maxactivities) {
+function g_crossposting_api_activities_list($p_gplusid, $p_apikey, $p_maxactivities, $p_pagetoken) {
// get list of latest p_maxactivities activities
- $ch = curl_init("https://www.googleapis.com/plus/v1/people/{$p_gplusid}/activities/public?alt=json&maxResults={$p_maxactivities}&key={$p_apikey}");
+ $ch = curl_init("https://www.googleapis.com/plus/v1/people/{$p_gplusid}/activities/public?alt=json&maxResults={$p_maxactivities}&key={$p_apikey}&pageToken={$p_pagetoken}");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$activities = curl_exec($ch);
curl_close($ch);
@@ -232,6 +252,42 @@
}
/**
+ * returns all activities
+ *
+ * @return array of all activities found on Google+
+ */
+
+function g_crossposting_get_all_activities() {
+ // load options
+ $options = g_crossposting_get_settings();
+
+ // go through all activities
+ $all_activities = array();
+ $nextPageToken = null;
+ do
+ {
+ $activities = g_crossposting_api_activities_list($options['gplusid'],
+ $options['apikey'], $options['maxactivities'], $nextPageToken);
+ if ($activities == null) {
+ return null;
+ }
+
+ $nextPageToken = $activities->nextPageToken;
+ foreach ($activities->items as $activity)
+ {
+ $all_activities[] = $activity;
+ }
+ }
+ while($nextPageToken != null);
+
+ if (count($all_activities) > 0) {
+ return $all_activities;
+ } else {
+ return null;
+ }
+}
+
+/**
* returns new activities not yet posted on blog
*
* @return array of new activities or null if no new activities were
@@ -505,3 +561,4 @@
return FALSE;
}
+
Second patch:
--- admin.php 2014-09-16 17:31:32.000000000 -0700
+++ admin-patch.php 2014-09-16 17:32:29.000000000 -0700
@@ -20,7 +20,8 @@
// provide admins a hook to trigger manual import of activities
if (array_key_exists('g_crossposting_manual_import', $_GET)) {
- g_crossposting_update();
+ //g_crossposting_update();
+ g_crossposting_update_all();
g_crossposting_add_error('g_crossposting_err_import', __('Manual import of Google+ activities done.', 'g-crossposting'));
}
@@ -295,3 +296,4 @@
echo '</div>';
}
+
]]>
Greetings
when I click on “auf neue Aktivit?ten prüfen und diese sofort importieren”
I get this error message.
Fatal error: Call to a member function using_permalinks() on a non-object in /home/content/p3nexnas05_data01/10/2132410/html/wp-includes/link-template.php on line 399
When I click again it does work and it will import the recent G+ posts.
But nothing get’s imported automatically – what it should. Right?
Any ideas?
Regards
gfisch
Thank you very much for the great plugin.
Another plugin similar to this one has the option to import g+ posts and automatically save them as draft or published, is there any way you could add this functionality to your plugin?
Or maybe you could point me in the right direction so I can make the changes myself.
Thanks again!
]]>I recently installed the latest version (1.5.0) of plugin but there is no settings link is displayed. Cannot configure it.
I found an explanation how it should work.
Deleting the last_activity_id field with this SQL command
SELECT * FROM options
where option_name = ‘g_crossposting_last_activity_id’
It worked once. But now I would like to do it again to import some more previous posts.
I deleted all old posts and deleted the id field again.
But no luck this time. Somhow I cannot re-import.
Any ideas?
Thanks
av
I had a test with another Plugin and this one could import commments.
But I dislike the other behaviour of this Plugin.
Possible to geht the import of Google+-Comments too?
Thanks for the plugin
]]>Is there anyway to make Google Crossposting be picky about the comments it imports. For instance, maybe it could only take those with a certain hashtag or some other form of identification
]]>I sometimes use YouTube to post to Google+. I’d like it if my public YT/G+ post shows up on my blog with an embedded video.
Is that possible?
]]>I can’t seem to get this working.
I go through the configuration as explained, adding plugin to WordPress, configuring under Settings: Google crossposting.
Add in the Google+ ID (but just the long number, not the entire link) and then created an API Key.
That all seems to be fine.
But I cannot seem to get a post, posted.
not sure what to do…if it is theme related, improperly set up API, etc
]]>Can’t activate the plugin – installs fine, but when activated throws an “invalid header” error.
Apache log doesn’t show anything. Tested on 3.8 and 3.8.1, same results.
]]>I was trying to install this plugin and got an error message saying the header was invalid. Has anyone had this problem? Is there a fix?
]]>Hi, how does this plugin retrieve titles from posts?
Can it be set up so if I said had a post like this:
Title of post
Content of post
It would set the title to “Title of post”, rather than “Title of postContent of post”?
]]>Hello,
The instructions you provided didn’t match what I saw in the developer console. I didn’t have register but it did have Credentials. I clicked on that and create new key and then browser key. I used the API key that it created. I plugged that into your plugin and it appears to have worked. The Google id and key stayed put when I saved. However it isn’t importing anything from Google+. I created a Google+ category and have Maximum number of new activities to import set at 100. I enabled comments and meta tag.
I clicked on Manual mass import and it said successful almost immediately but nothing imported.
bhagavideo.com
Google+
Thanks,
Harold
Posts aren’t showing at all.
Followed setting as per example. Tried manual upload too. So far nothing.
]]>As of version 1.2.0, this plugin can now be translated. Initially, I added a German translation. If you are interested to translate the plugin to your language, contact me or post here.
]]>Is there short code used? How is the information from Google put on website? Dose the plugin generate its own page?
Thank you
]]>With the recent upgrade to WordPress 3.7, I had the effect that all my G+ posts were imported again. I don’t know if this is really related to the upgrade.
So did any other user saw this happening these days?
]]>Hi!
I wpuld be very happy if the plugin would do what I wanted…! ??
The import seems fine, but the image is not appearing somehow.
Only by clicking on the post then…
See it on my webpage: https://www.geri.at
Is it my theme?
Thanx in advance!
Greetings from Vienna
Geri
Is there a way to have thumbnails for recent post excerpt preview? That would be really nice touch. ??
]]>This could be a frequent issue on shared hostings. It’s a problem with WordPress configuration, but the “Import” button does not report any error.
A general solution is to create a temporary dir, set the permissions and add to wp-config.php the following:
define(‘WP_TEMP_DIR’,$tempDir);
Apart of that… great plugin! ??
Fatal error: Uncaught exception ‘apiCacheException’ with message ‘Could not create storage directory: /tmp/apiClient/cc’ in /var/sites/d/—-/public_html/wp-content/plugins/google/lib/external/google/cache/apiFileCache.php:115
Stack trace:
#0 /var/sites/d/—-/public_html/wp-content/plugins/google/lib/external/google/io/apiCurlIO.php(178): apiFileCache->set(‘a7d5109f49874f8…’, Object(apiHttpRequest))
#1 /var/sites/d/——/public_html/wp-content/plugins/google/lib/external/google/io/apiCurlIO.php(142): apiCurlIO->setCachedRequest(Object(apiHttpRequest))
#2 /var/sites/d/—–/public_html/wp-content/plugins/google/lib/external/google/io/apiCurlIO.php(46): apiCurlIO->makeRequest(Object(apiHttpRequest))
#3 /var/sites/d/—–/public_html/wp-content/plugins/google/lib/external/google/io/apiREST.php(55): apiCurlIO->authenticatedRequest(Object(apiHttpRequest))
#4 /var/sites/d/—–/public_html/wp-content/plugins/google/lib/external/google/service/apiServic in /var/sites/d/—–/public_html/wp-content/plugins/google/lib/external/google/cache/apiFileCache.php on line 115
Hi there, I have attempted many times saving my settings from Google API and Google+ to this plugin witout success. I have read the instructions and screenshots. I believe that possibly the plugin is not working with my Google+ ID# because it has an extra “/u/0” preceding. This seems to be different than what is explained in the instructions. I am not sure why I have this extra string in my id.
https://screencast.com/t/k01gYPa2J
I have tried saving with the extra string and without.
I have tried saving with a new API Key as well. And yes it is active.
Any ideas? I would love to have this plugin working for my G+ posts to my WP Blog, it would save me time!
Also sometimes after I save, both fields go blank. But sometimes it keeps the API.
Thanks!!
]]>Hi,
May I know whether this only works for the post I created myself? Is it possible to crosspost the post I share from the person I am following?
]]>I’m getting a frequent notice in my debug.log based on the manual import functionality of G+ Crossposting.
PHP Notice: Undefined index: g_crossposting_manual_import in /home/content/70/7126070/html/wordpress/wp-content/plugins/g-crossposting/admin.php on line 24
That correlates to this line in admin.php.
if ($_GET['g_crossposting_manual_import']) {
I’m not sure what the issue is, unless it is getting a null response to the function. I have never used the manual import function, but it is showing quite frequently in my log.
]]>Please fix line 126 so that it doesn’t print ugly PHP warning on page output when $post_meta is undefined. Thanks!
Old:
if (! array_key_exists(‘g_crossposting_posturl’, $post_meta)) {
New:
if ($post_meta && ! array_key_exists(‘g_crossposting_posturl’, $post_meta)) {