Tuesday, November 19, 2013

Reading a Facebook Page RSS Feed with PHP

 

I don’t normally write specific “tutorial” type posts like this on my blog, but during a recent project I had to add functionality that read feeds from a variety of sources, including RSS, Twitter, Youtube, and Facebook. If you’ve ever read any type of XML feed via PHP reading most of these feeds are easy, and there’s nothing new to it. (If not, it’s pretty simple and there are tons of tutorials online.) However, when I got to the Facebook feed, I ran into endless trouble.

Simply plugging in a Facebook update feed (from a page) to my normal feed reading script didn’t work. Looking at the source of the feed, it was standard XML, and no different from reading any other type of XML. I looked closer into the Facebook-specific feed tags, altered my code time after time, and to no avail.

 Reading a Facebook Page RSS Feed with PHP
Reading a Facebook Page RSS Feed with PHP

I Love My Dog

"I Love My Dog" is a song written by Cat Stevens, and it was his first single (b/w "Portobello Road"), showing up on his debut album, Matthew and Son. Stevens later acknowledged that the song has been inspired by American jazz multi-instrumentalist Yusef Lateef's "The Plum Blossom" (from Eastern Sounds) with which it shares a melody.[1]

The B-side track, "Portobello Road", is about the famous street and market in London, England. The song lyric was written by American Kim Fowley, and Stevens was asked to collaborate by composing music for it. It was later covered by Stevens' first guitarist, Alun Davies, after signing with Island Records in 1970. Davies' version appeared on his first solo album, Daydo, in 1974.

I Love My Dog
I Love My Dog

Love Me Love My Dog(Con)

I tell you now
Love me love my dog . . . . .
So love me love my dog
We've lived the road too long to break up
Love me live my life and travel through this land
I can't leave a friend I promised that before we started
So love me love my dog
If you can't understand
Then I guess we'll have to move on out up land.
C'mon boy!

Love Me Love My Dog(Con)
Love Me Love My Dog(Con)

Love Me Love My Dog

Lyrics to Love Me Love My Dog :
Freedom is a dusty road heading to a highway
Californian skyways will lead us where we wanna stay
Suddenly a summer breeze breaks a misty mornin'
There's a new day dawning we'd better be on our way.
So love me love my dog
We've lived the road too long to break up
Love me live my life and travel through this land
I can't leave a friend I promised that before we started
So love me love my dog
If you can't understand then we'll head up land.
When I leave this town today Lord you know I'll miss you
Baby I won't kiss you. You'll only make me wanna stay
Though it's hard to say goodbye can't you see it's over
Guess I'm just a loner heading on his way.

Love Me Love My Dog
Love Me Love My Dog

Love Me Love My Dog

Lyrics to Love Me Love My Dog :
Freedom is a dusty road heading to a highway
Californian skyways will lead us where we wanna stay
Suddenly a summer breeze breaks a misty mornin'
There's a new day dawning we'd better be on our way.
So love me love my dog
We've lived the road too long to break up
Love me live my life and travel through this land
I can't leave a friend I promised that before we started
So love me love my dog
If you can't understand then we'll head up land.
When I leave this town today Lord you know I'll miss you
Baby I won't kiss you. You'll only make me wanna stay
Though it's hard to say goodbye can't you see it's over
Guess I'm just a loner heading on his way.

Love Me Love My Dog
Love Me Love My Dog

love me love my dog

Yes if you love me you must love my dog
Good luck

love me love my dog
love me love my dog

test my post

asdfasdfs dsdfsdf
sdflskdjfsdf
sdfsdfsdf sdf sldjfsdf sdf

test my post
test my post