Is it possible to share/post to Google+ without using the +1 button?
e.g. Like a normal tweet button works with a url link: http://twitter.com/share?url=httpetcetcetc
Yes, you can.
https://plus.google.com/share?url=YOUR_URL_HERE
Edit: It works only with eff.org.
Edit: As of March 2012 it works on all sites.
Documentation for this sharing method is available on the Google Developers site.
New Google share link:
http://plus.google.com/share?url=YOUR_URL
For secure connection:
https://plus.google.com/share?url=YOUR_URL
For Wordpress:
https://plus.google.com/share?url=<?php the_permalink(); ?>
Yep! Use the link:
https://m.google.com/app/plus/x/?v=compose&content=YOUR_TEXT
It's SHARE url (not used for plus one) button.
If this will not work (not for me) try this url:
https://plusone.google.com/_/+1/confirm?hl=ru&url=_URL_&title=_TITLE_
Or see this solution:
Adding a Google Plus (one or share) link to an email newsletter
As of July 25, 2011, the answer is no.
I have looked through their Javascript and it seems they don't want anyone directly accessing their api for +1 at the moment.
The Javascript that does all of the work for the +1 button is here:
https://apis.google.com/js/plusone.js
If you run it through a Javascript cleanup program you can tell that they have obfuscated their code with various functions that only start with letters and constantly refer back to themselves and do cryptic things.
I figure in the next couple of weeks or moths they will release a link based sharing api due to the fact that we will need this for sharing from flash and other web based formats that don't rely on pure html and js.
i used following links in my wordpress website for sharing my blogs,they work fine:
whatsapp share : https://wa.me/?text=(some-text)(your-link)
facebook share: https://www.facebook.com/sharer/sharer.php?u=(your-link)
linkedin share: http://www.linkedin.com/shareArticle?mini=true&url=(your-link)
google-plus : https://plus.google.com/share?url=(your-link)
twitter share: http://www.twitter.com/share?url=(your-link)
<meta property="og:title" content="Ali Umair"/>
<meta property="og:description" content="Ali UMair is a web developer"/><meta property="og:image" content="../image" />
<a target="_blank" href="https://plus.google.com/share?url=<? echo urlencode('http://www..'); ?>"><img src="../gplus-black_icon.png" alt="" /></a>
this code will work with image text and description please put meta into head tag
No, you cannot. Google Plus has been discontinued. Clicking any link for any answer here brings me to this text:
Google+ is no longer available for consumer (personal) and brand accounts
From all of us on the Google+ team,
thank you for making Google+ such a special place.
There is one section that reads that the product is continued for "G Suite," but as of Feb., 2020, the chat and social service listed for G Suite is Hangouts, not Google+.
The format https://plus.google.com/share?url=YOUR_URL_HERE was documented at https://developers.google.com/+/web/share/, but this documentation has since been removed, probably because no part of Google+ continues in development. If you are feeling nostalgic, you can see what the API used to say with an Archive.org link.
Related
Since few days I have problems with the API instagram. Instagram sending this error page after the user has entered this login information.
"This page could not be loaded. If you have cookies disabled in your browser, or you are browsing in private mode"
Do you know why ? How to do ? Need help
On webapp authentication... the problem is related to instagram platform. I found that the problem arise only if your browser don't have the instagram cookie "ig_cb" set. This is set when you accept cookie policy on instagram.com. The workaround is to go on instagram and accept cookie policy then go back to your social auth and proceed.
This happens for both mobile and desktop users (browser).
Being a block on instagram login process... I guess there's no definitive solution other than wait for instagram bug fix.
I hate to be the bearer of bad news, but we also had this problem, which flagged on the Facebook Dev page: https://developers.facebook.com/support/bugs/406930029718049/
They have looked into the problem, as a number of us have had this exact issue too. It is only affecting EU user, as our US users are logging in and signing up without problems, and it seems that Facebook are refusing to look into it - their Instagram Platform API forum has already stopped accepting issues.
In terms of what we have learnt since last week, we think:
It is likely GDPR related
Not all apps have been affected, Bumble does not have this problem but Tinder does
It is happening with both the old Platform API and Graph API, according to a developer who has already migrated to Graph.
No one seems to know anything!
UPDATE:
So it seem's it is in fact a cookie issue on mobile. When a user goes to sign in on mobile view, the 'accept cookie' message that typically appears on web doesn't appear. However, when the error screen pops up, if you click 'Log in' in the top right, it will redirect you to the web view, which lets you accept the new terms and conditions. Then, once you direct back to mobile the cookie seems to have been saved and you can now login. This has worked for us on iOS so far, but not Android, and we still haven't come up with a work-around yet.
This bug has now been fixed.
Thank you all for your comments, individual input, and patience while we worked to address this issue for everyone.
I am happy to report that this particular issue with Instagram login should now be resolved, but if you are still seeing any issues related to this fix, please let us know on this report only.
I'm trying to implement Tencent Weibo sharing on an iOS app. According to the Apple Docs you need to fill the Tencent Weibo Access Key when requesting permissions (ACTencentWeiboAppIdKeyin the options dictionary).
Can somebody guide me through the Tencent Weibo web to get an App ID for my app?
I would say that you would need to visit here to get the key, but the page just shows an empty background for me. Maybe the dev page doesn't work outside China? Can anybody over there check it out?
This answer looks relevant, but I'm not 100% sure it is talking about the same App Key.
Here's a useful step-by-step guide (in English) for registering for a API access:
http://www.cs.cmu.edu/~lingwang/weiboguide/
The process on Weibo's site is indeed in Chinese. The guide gives some guidance here.
One other suggestion would be to download the Chrome extension Zhongwen Chinese Popup Dictionary. If you don't know the meaning of a Chinese character this extension allows you to mouse over for a definition. Will help locate username, password field etc.
The step to get AppKey and AppSecret: here
The SDK about download website: here and Git URL. You can follow the example and just to change the AppKey, AppSecret, and share content.
The API document website: here
ShareSDK is also a good choice for you which have mentioned by #Allan.Chan
Maybe you can use sharesdk to do this click here
I am new in using oAuth and Yahoo! API in an iOS app. I am trying to access my Yahoo! contacts from my iOS app.
I have tried many ways found in StackOverflow. Most of those directed to http://developer.yahoo.com/social/rest_api_guide/contact_api.html; but, I really can not understand all the stuffs described there.
I also found another framework with example resource in https://github.com/yahoo/yos-social-objc.
I am working with this one (the example included in this framework) and got into a trouble here that, when I use the YOAuth to authenticate the app, it opens up the Safari browser and after log into the Yahoo! account is shows an Agreement page. And upon agreement it is showing a page with message
To complete sharing of Yahoo! info with MYAPP, enter code "THECODE" into MYAPP
I do not really know that, what to do with this?
Now I need someone to help me out with this so that, my app get authorized successfully and redirected to my app from Safari with a minimum overhead.
Thanks in advance.
I have found the solution though with a little overheads.
Steps are:
1> Create a PHP script in you own server (say named, YRedirect.php).
2> Pest the following code in it-
<?php
$query = $_SERVER['QUERY_STRING'];
header("Location: YOUR_APP_ID_OR_BUNDLE_ID://oauth-response?" . $query);
?>
3> Add an URL Scheme in your info.plist file with the YOUR_APP_ID_OR_BUNDLE_ID.
That's it and you are DONE with the authentication problem.
But, I am still on retrieving contact info from Yahoo!.
Thanks all.
This is a kind of re-post of my question on Yahoo! forums. It is just that I refer to StackOverflow more frequently...
My problem is as following: while Yahoo! OAuth http://developer.yahoo.com/oauth/ is described as ready for use with mobile phones out-of-the-box it does not appear as such.
I have tried to implement sample application and use Yahoo! PHP SDK to connect with Yahoo!
Using web browser it is all nice and easy.
But while visiting Yahoo! request_auth page (http://developer.yahoo.com/oauth/guide/oauth-userauth.html) on my test mobile phone (Nokia 6300) it renders unacceptable: I am not able to see login box, cannot read information why my login would be required and all. I just see a page border and some text fragments ("Yahoo!", "Hel" (like in help...) et. al.).
Is there some parameter to force Yahoo! displaying mobile phone optimised page?
I do redirect user to this address at the moment:
https://api.login.yahoo.com/oauth/v2/request_auth
BTW: if I use Opera Mini - it renders page nicely, although ommiting information about my site (which is requesting log-in).
Just that I cannot force all users to use Opera, or something.
Thanks in advance for any help.
I've looking for a solution to this all day and eventually stumbled upon this: http://pastebin.com/8tDnrfLc
Important bit reproduced below:
var authPageURL = "https://api.login.yahoo.com/oauth/v2/request_auth?oauth_token=" + oauthToken;
var yahooMobileLoginUrl = "https://login.yahoo.com/m?&.src=oauth&.lang=en-us&.intl=us&.done=" + authPageURL;
Basically you direct the user to the mobile auth page and give it a url to go to when it's done. That url should be the original https://api.login.yahoo.com/oauth/v2/request_auth?oauth_token=... url.
Works for me!
Yahoo! no doubt has a user-agent sniffing algorithm that determines what constitutes a mobile browser. Clearly Opera Mini triggers the right behavior. I suspect the native browser in the Nokia model you are using is not on the list, or it is emulating a desktop browser user-agent. Unfortunately I think you have to convince Yahoo! to deem your Nokia 6300 a mobile device.
Perhaps modifying the user agent to make Yahoo! think the browser is Opera mini?
I have been trying to put twitter's new tweet button on my wordpress blog. I have tried code provided on official twitter website, and couple of wordpress plugins to add tweet button on the blog. But on every try I am running into same issue. When I click on tweet button it goes to the twitter website but says
url' parameter does not contain a valid URL.
Could anyone please suggest me the way out for the same. thanks in advance!
Use this plugin: http://wordpress.org/extend/plugins/wp-tweet-button/
It works fine for me, and has couple of options to choose from.
hmmm.....I don't know why this is happening but I think you are using a local server and your url contains some ip address so that when you are clicking on the tweet button it will take your ip address also to connect with tweer site.
So it make url invalid, work on live site I think it will work.all the best.....