brokenh board

ruining peoples lives since 2000
It is currently Aug 17 17 12:28:58 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Dynamic Avatars
PostPosted: Apr 22 10 12:07:12 am 
Offline
Board Slut
User avatar

Joined: Feb 17 04 9:32:39 am
Posts: 11418
Location: Sactown
Facebook today rolled out a new social graph API, which makes it super easy to grab information from profiles using OAuth 2.0. Some stuff is public, like your profile picture.

ie: http://graph.facebook.com/zachgraves/picture
Image

I changed some code to allow setting your avatar URL to any type of URL. If you head over to your user control panel -> profile and set your avatar URL to http://graph.facebook.com/$facebook-username/picture - your avatar will always be whatever your profile picture is on facebook.

knock yourself out.

_________________
XmodXsquadX
LIFE WILL KNOCK ME DOWN
Image


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 22 10 7:08:51 pm 
Offline
Board Slut
User avatar

Joined: Oct 29 04 6:00:56 pm
Posts: 2253
Location: Belgium
where's the "i like this" button? cause i definately like this

Edit: Just tried it, and it works!
Zach for president!

_________________
http://www.reverbnation.com/thehourglassinstinct


DJpsycho wrote:
Wim, you are my hero.


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 22 10 8:31:51 pm 
Offline
Hardcore Fan
User avatar

Joined: Mar 16 06 5:57:56 pm
Posts: 1771
Location: Kansas City, Missouri
Yeah, love the idea but.....i cant get it to work

_________________
http://twitter.com/kt_marie_roach

"and I give these words to you ...because music is energy, and Papa Roach is energy and we are heart and we are soul and we are passion. So this is yours, this music is yours..............."
"But the rest is really connecting with Kate." "Kate is meant for blasting" "Can't wait till I have Kate on my hands." "Kate came today, i like her!"


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 22 10 9:31:29 pm 
Offline
Board Slut
User avatar

Joined: Aug 22 06 8:42:45 am
Posts: 5230
Location: Bristol, England
Ace Ventura wrote:
I JUST CAN'T DO IT CAPTAIN, I DON'T HAVE THE POWER!


:(

_________________
Image


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 22 10 10:18:08 pm 
Offline
Board Slut
User avatar

Joined: Oct 29 04 6:00:56 pm
Posts: 2253
Location: Belgium
When you're on facebook, you have your small avatar
right click on it, properties, and then you can see the url
thats the one you use to paste as url on here

_________________
http://www.reverbnation.com/thehourglassinstinct


DJpsycho wrote:
Wim, you are my hero.


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 22 10 10:33:51 pm 
Offline
Board Slut
User avatar

Joined: Aug 22 06 8:42:45 am
Posts: 5230
Location: Bristol, England
Done!

_________________
Image


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 22 10 11:10:32 pm 
Offline
Board Slut
User avatar

Joined: Feb 17 04 9:32:39 am
Posts: 11418
Location: Sactown
kate-marie wrote:
Yeah, love the idea but.....i cant get it to work


Do you have a facebook username? I don't see it.
www.facebook.com/username

Code:
{
   "error": {
      "type": "QueryParseException",
      "message": "Some of the aliases you requested do not exist: katiederendinger"
   }
}

_________________
XmodXsquadX
LIFE WILL KNOCK ME DOWN
Image


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 22 10 11:13:10 pm 
Offline
Board Slut
User avatar

Joined: Aug 22 06 8:42:45 am
Posts: 5230
Location: Bristol, England
Ha, just discovered i never had a username. I do now. Gonna give Zach's original method a try.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 22 10 11:23:23 pm 
Offline
Board Slut
User avatar

Joined: Feb 17 04 9:32:39 am
Posts: 11418
Location: Sactown
Mystic-Blaster wrote:
When you're on facebook, you have your small avatar
right click on it, properties, and then you can see the url
thats the one you use to paste as url on here


Actually, it's easier than that. You just need to have a Facebook username and set this as your avatar URL:
http://graph.facebook.com/%username%/picture

Then, if you ever change your profile picture, it updates here too.

_________________
XmodXsquadX
LIFE WILL KNOCK ME DOWN
Image


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 22 10 11:29:01 pm 
Offline
Hardcore Fan
User avatar

Joined: Mar 16 06 5:57:56 pm
Posts: 1771
Location: Kansas City, Missouri
Got it.

I didnt have a username either. Thanks!

_________________
http://twitter.com/kt_marie_roach

"and I give these words to you ...because music is energy, and Papa Roach is energy and we are heart and we are soul and we are passion. So this is yours, this music is yours..............."
"But the rest is really connecting with Kate." "Kate is meant for blasting" "Can't wait till I have Kate on my hands." "Kate came today, i like her!"


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 23 10 6:51:50 pm 
Offline
Administrator
User avatar

Joined: Sep 17 02 8:26:16 pm
Posts: 13989
Location: England.
A bit small for my liking tbh.

_________________
XmodXsquadX
-
2003: best avatar | 2005: best moderator / best signature | 2006: best avatar / hottest board member [male] / board member that makes the most sense | 2007: best thread writer | 2008: best moderator / best avatar / worst avatar
-
facebook | twitter | flickr | last.fm | IMDb | Words on pictures


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 23 10 7:08:34 pm 
Offline
Board Slut
User avatar

Joined: Aug 22 06 8:42:45 am
Posts: 5230
Location: Bristol, England
On a binge wrote:
A bit small for my liking tbh.


I hear that alot

_________________
Image


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 23 10 7:23:12 pm 
Offline
Board Slut
User avatar

Joined: Feb 17 04 9:32:39 am
Posts: 11418
Location: Sactown
http://graph.facebook.com/zachgraves/picture?type=large

then manually set the size in the form.

_________________
XmodXsquadX
LIFE WILL KNOCK ME DOWN
Image


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 23 10 9:15:40 pm 
Offline
Administrator
User avatar

Joined: Sep 17 02 8:26:16 pm
Posts: 13989
Location: England.
Swanky!

_________________
XmodXsquadX
-
2003: best avatar | 2005: best moderator / best signature | 2006: best avatar / hottest board member [male] / board member that makes the most sense | 2007: best thread writer | 2008: best moderator / best avatar / worst avatar
-
facebook | twitter | flickr | last.fm | IMDb | Words on pictures


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 24 10 12:09:22 am 
Offline
Hardcore Fan
User avatar

Joined: Mar 16 06 5:57:56 pm
Posts: 1771
Location: Kansas City, Missouri
Alejandro wrote:
On a binge wrote:
A bit small for my liking tbh.


I hear that alot


That's what she said

_________________
http://twitter.com/kt_marie_roach

"and I give these words to you ...because music is energy, and Papa Roach is energy and we are heart and we are soul and we are passion. So this is yours, this music is yours..............."
"But the rest is really connecting with Kate." "Kate is meant for blasting" "Can't wait till I have Kate on my hands." "Kate came today, i like her!"


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 24 10 6:13:58 pm 
Offline
Board Slut
User avatar

Joined: Oct 29 04 6:00:56 pm
Posts: 2253
Location: Belgium
basictheory wrote:
Mystic-Blaster wrote:
When you're on facebook, you have your small avatar
right click on it, properties, and then you can see the url
thats the one you use to paste as url on here


Actually, it's easier than that. You just need to have a Facebook username and set this as your avatar URL:
http://graph.facebook.com/%username%/picture

Then, if you ever change your profile picture, it updates here too.

Ooh I got it now, that sure was a lot easier!

_________________
http://www.reverbnation.com/thehourglassinstinct


DJpsycho wrote:
Wim, you are my hero.


Top
 Profile  
 
 Post subject: Re: Dynamic Avatars
PostPosted: Apr 24 10 10:27:48 pm 
Offline
Hardcore Fan
User avatar

Joined: Sep 22 07 5:06:42 am
Posts: 916
Location: Florida
kate-marie wrote:
Alejandro wrote:
On a binge wrote:
A bit small for my liking tbh.


I hear that alot


That's what she said


Beat me to it!

_________________
Image

basictheory wrote:
so money


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group