getting google plus profile information to be shown for every user logging into my site - google-api

can this be done anyhow ? I want to show every user , his google profile info ,or at least , create a profile widget for him on his home page .
Also , is it be possible to get the number of profiles with the highest followers in google plus , periodically,so that I can showcase that in my website ?

Google doesn't have an official API for the Google Plus product yet. You can sign up for a list to get the info as soon as it's available here:
https://services.google.com/fb/forms/plusdevelopers/
There are several "unofficial" api libraries you can try to use, but they're not likely to work very well as google plus is in beta, and is likely to keep changing without supporting unofficial libraries

This answer is for the top users part of the question.
There are several unofficial projects are existing that can get information out of google+
Dotnet.GooglePlus is my own that is written in .NET, but there are java and PHP implementations as well.
The other option is to try scrape a site like http://socialstatistics.com/ for top users.

Related

Is it possible to export a google doc using the ?export=pdf option, through a Google Sites link?

I work for a healthcare facility, with which we have a google site that we upload information to, to keep it centralized for everyone. I found this information on the Google Workspace help page, and when I put together my link and test it outside of the site, it works perfectly fine. When I insert it into our Google Site, it fails over and acts like it will download, but doesn't. Any ideas?
If this isn't possible, I have another question. Is there an option to export a published Google Doc using the ?export=pdf option? Our main goal is to keep the forms up to date, without manually changing the link every single time.
Google Workspace PDF Export Info

Facebook Ads API

I am not moving forward with the facebook dev support. Therefore I was hoping that someone has experience here.
I am using the Facebook Ads API to create ads. I already rebuild the thing to create my own controllers and so on. I can see all campaigns, ad sets and ads. When creating an add I can set up parameters for targeting group.
The thing right now is that I have to specifically write strings for that. I would like to have the detailed targeting options that fb offers when choosing targeting options.
My issue is that I have no idea how to retrieve those options. I was looking for something like an array that contains those information, but all I found is a list with regions and countries. Any idea or hint that can point me to the detailed targeting options such as interests etc.?
Detailed targeting options are documented here: https://developers.facebook.com/docs/marketing-api/targeting-search#interests
Because the amount of options in each type is huge, the API doesn't let you list all the values. You need to search for a (part of a) phrase instead.

Google Drive Api - Document without authorization

I am building an app where two different users will edit the same document online, using only plain text. For this I am using the google-api-php-client-master hosted on github.
There are some examples, but I don't understand what I need to do to achieve my goal. The official documentation is deprecated because it reffers to a library that is not online, and all the classes have different names and ways of working.
I already got my credentials, and know how to get a list of the documents hosted on my drive account. But now I need to:
Create new document
Grant access to a non-google logged in user, just accessing the link
I don't expect anybody to give me a written solution, but to know where I have to start.
Thanks a lot for reading.
Ok im trying to do almost the same thing and this is what i know so far:
Most importantly please reffer to the docomentation: https://developers.google.com/drive/v2/reference
There is a written example on how to create new file!( section files->insert)
One way to make a gdrive file public is to share it to the web via the google api. Another way is to make revision of it( section revision->update) and then publish it( by setting "published" = true in the update request).
Being aware of your requirements i gues that the publishing wont really help you achieving your goal, because it is just a revision of the document from the past and not its current state.

Doodle-like extension for Joomla

I'm helping a friend with his website. To schedule meetings and events they currently use a doodle. We've tried integrating this in their website via an iFrame. This works but in IE10 it gives a cookie warning and overall it doesn't look as good as it could.
We could simply have it open in a new page, but it would be nicer if we could integratie a doodle-like calendar in the website.
Are there any scheduling-extentions? There are many calenders, but we didn't find any that mimiced Doodle's options. We only have 2 requirements: 1) schedule events and 2) everyone (if possible even without having to register themselves) must be able to sign into an event so it's clear who's attending.
There is a lot of good extensions that may fit your needs, I can recommend redEVENT
, here is a demo

How do I Extend Blogengine.Net to collect statistics of visitors?

I love BlogEngine. But from what I can se it does not collect the standard information about the visitors I would like to see (referrer, browser-type and so on).
When I log in as Admin I have a menu item named "Referrer". I can choose a weekday and then I'll be presented with 1 or 2 rows with
"google.com 4 hits, "itmaskinen.se 6 hits" and so on, But that's not what I want to se, I want to se where my visitors come from, country, IP if possible, how many visitors and so on.
If someone of you are familiar with Blogengine.Net and can point me in the right direction to where I would put my own log-code or if you know any visitor-statistic-extension that can do it for me, I would be really happy to know. I prefer an extension, because if I make changes myself to BlogEngine it may break later updates I install.
Blogengine.Net is a blog software made in .Net found here: http://www.dotnetblogengine.net/
And yes, I prefer to take this question here rather then in the Blogengine.Net forum, you know why. ;)
(Anyone, feel free to edit my (bad) english in this post and after that delete this sentence)
This isn't an extension, but it's what I use to collect all my blogengine.net data and it should be upgrade safe.
When you log into the Blogengine.NET admin screens you can go to "Settings> Custome Code > Tracking Script", here you can put your http://www.google.com/analytics/ logging script. Google Analytics provides all the referrer, browser type, etc stuff you were wanting. And what's nice is you can then create additional accounts for other sites if you choose.
I use both Google Analytics and StatCounter to track visitor stats. I find that each one provides useful information that the other doesn't. And they're both free to a certain extent.
I place their javascript code int the site.master file of my custom BE.Net skin.
For Google Analytics I go a step further and pass the username of authenticated users as a custom variable. That way I can match users names up with the stats. To do this you can use the _setVar javascript method on the GA pageTracker like so:
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-129049-25");
var userDefinedValue = '<%= System.Web.Security.Membership.GetUser() != null ? System.Web.Security.Membership.GetUser().UserName : "" %>';
pageTracker._setVar(userDefinedValue);
pageTracker._trackPageview();
</script>
Anyone noticed that we miss all the hits coming from RSS readers? Syndication.axd does not run the analytics javascripts. So we miss the vast majority of viewers from the statistics. And we happily analyze that is just not impotant - ad-hoc visitors.
For the vast majority of cases, Google Analytics does just fine. It all depends on how much data you want. For example, if you want to keep note of IP addresses and resolve them to get domain names, and also highlight all visits to your blog from, say, your coworkers at the company where you work, you'd have to write some custom code yourself. However, it's all fairly primitive - these sorts of things are easily achievable using ASP.NET.
I set up gathering statistics on IIS web site of my BlogEngine instance and then analyze the logs using WebLog Expert - http://www.weblogexpert.com.
It is more reliable than google analytics, since I see really ALL requests that are coming to my IIS, no matter if this is a request to axd or to some static content. And, once I've found out that google was fooling me in the number of visits. After that I trust my IIS statistics much more than google.
There is a Widget which can be use to display Visits and Online Users Statistics.
You can find it from following links:
http://www.nuget.org/packages/Statistics/
http://www.itnerd.ir/post/2013/07/25/Visits-and-Online-Users-Statistics-widget-for-BlogEngine-2
but to see the instructions go to the second link.

Resources