Portable Contacts for PHP? - php

I can see Google is implementing the Portable Contacts API for developers to fetch a user's contacts. That seems like exactly what I want to do and I especially like the fact that the protocol is open and through it I can support more than just Google.
What I'd like to know is whether there is a library for PHP that implements this protocol, as I don't feel like writing one from scratch / reinventing the wheel.
I wouldn't generally post such questions which could be answered by simply googling, but I've done my googling on the subject and can't seem to find any relevant info.
BTW, I don't use Zend, so please don't suggest that to me, unless it's the only way possible.

The Open Social PHP Client can access the Portable Contacts API

Related

PHP class for use with Google Analytics API

I want to find a PHP class or framework to get data from the Google Analytics API.
I've already used gapi, which is great but it has never been updated since 2009 and it lacks new features from the API such as segments.
Can you please share the classes you've used and their key features ?
Thank you
Edit: I did find an experimental implementation of segments in issue 28 for the repository.
You mentioned gapi already but it seems to be the standard as far as a PHP library for Google Analytics goes. You may find fresher classes on GitHub with your needed functionality.
I took a look around and it seems that your best option is to fork an existing class such as gapi and add the functionality to it which is not what you wanted to hear. I recommend taking a look around at the Google supported libraries for clues on how they implemented the features you want.
This is a good opportunity for you to contribute to an open-source project. Even though this code was last changed in 2009, it's fairly short and can be easily customized to do what you want as long as the corresponding API functionality is there.
Try using the Query Explorer to see what's available. It looks like it will help you build segment queries too.

Creating a secured rss feed with Zend_Feed

I was wondering if it was at all possible to create a rss(or atom) feed with Zend_Feed that would be on a secured website (With Zend_Auth).
How would users be able to subscribe to my feed?
How would feedreaders handle authentification?
Is there any pitfalls I should be aware of (one I can think of is users who use outlook, IE, and other tools for there feeds)?
Hope I am clear enough. Thanks in advance!
ps: I did see this post but its about .net and I do not see how it answers my questions.
edit: I would not mind a more general php answer to this question if its applicable to Zend also.
Well I am going to answer myself because one day someone might have the same questions. Its not really possible to do what I want, not necessarely because of the Zend Framework but mostly because of the hassle of serving rss over https and our secure login system.
I read a couple of blogs and found interresting info but really there is no way to make this solution viable for us (or for anyone I would guess unless its a custom rss reader wich I could never impose to my users).

Facebook graph api for PHP resources!

I am creating a little flash game for the facebook platform, but I am finding it very difficult to get any decent documentation on the graph api and the PHP SDK, so if anyone has a decent resource for a beginner to go and learn the basics, I would appreciate it very much, as I am struggling to grasp the concept.
Thanx!
I agree that the docs can be pretty hard work for facebook. If you are looking to use the Graph API tho, bear in mind that it is just a REST API that uses oAuth for authentication, much the same as Twitter, SoundCloud etc.
The most awkward bit I found was authenticating properly so I would suggest checking out the oAuth website
http://oauth.net/
They also have some PHP samples which were what I used as a starting point. I'd definitely recommend starting from these rather than trying to build your own setup from scratch.
http://oauth.googlecode.com/svn/code/php/
I also found it handy to refer to the docs on some of the other sites that use oAuth, such as Twitter and SoundCloud as it helped build my overall understanding of what is going on, even if there were a few small differences from one site to another
http://apiwiki.twitter.com/Authentication
http://wiki.github.com/soundcloud/api/02-authentication
Personally I would suggest just trying to do a basic oAuth-authenticated request to begin with. Facebook Graph has a few extra options such as using scope for extended permissions. Whilst you will probably need to use these in the end, once you get your head round the signing mechanism its easy enough to add in these extra details.
Once you have got the hang of signing requests, it is just a case of requesting the appropriate endpoint for what you want using either curl or any other method that takes your fancy.
Hope this is of some use

MLS Integration (RETSBond RI or?)

I'm looking Specifically for some detailed information on RETSBond Integrator (RI) or something similar. Has anyone used it? Drawbacks? benefits?
What I need is something that provides a PHP API out of the box or some kind of RPC exposure. This thing seems to provide an API for batching the MLS server and putting in my own DB which is acceptable although ideally I'd prefer something totally external. Do any MLS services provide that that you are aware of?
I realize this is somewhat subjective but I'm looking for a starting point on different services/vendors to research.
Hmmm. Have you looked at the client and server implementations at rets.org?
VieleRets is a PHP RETS client/server application that can both query a RETS datasource and mirror an existing DB. It is open source. If you said a little bit more about what you are trying to accomplish, might be able to provide other advice.
You can take a look at retsCloud.com They do the work for you and it's something like $20 a month.

What "Attributes" can Serena Mariner's SOAP API touch in UpdateInvestment()?

I'm trying to write an interface between a home-grown project management system and Serena Mariner. (The bigwigs like to read Mariner, the worker bees like to write to the home grown system.)
How can I (programmatically?) figure out what Attribute Keys are available?
I'm actually writing the interface in PHP, but any advice would be much appreciated.
Mariner seems to have an API for working with the system. Otherwise, it might be better to ask at the Mariner Support Forum.
Update: I took a little bit more of a look at the API and it doesn't specify the attributes, which is what your question is about. I guess the support forum is the better bet then.

Categories