Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

facebook: posting on contacts walls #58

Open
jadeGA opened this issue Sep 18, 2012 · 0 comments
Open

facebook: posting on contacts walls #58

jadeGA opened this issue Sep 18, 2012 · 0 comments

Comments

@jadeGA
Copy link

jadeGA commented Sep 18, 2012

Hi guys,
Could someone please provide a code snippet of inviting facebook contacts to a website or posting a message on the contacts walls using sfMelody. I am new to both symfony and sfMelody. I have gone this far that $this->me = $this->getUser()->getMelody('facebook')->getMeFriends(); returns me an associate array of friends like as below.

sfOutputEscaperObjectDecorator Object ( [value:protected] => stdClass Object ( [data] => Array ( [0] => stdClass Object ( [name] => Markxx [id] => 33333 ) [1] => stdClass Object ( [name] => Donald xxx [id] => 364xxx ) [2] => stdClass Object ( [name] => Rebekxxxx[id] => 345454 ) [3] => stdClass Object ( [name]
.......................................................
paging] => stdClass Object ( [next] => https://graph.facebook.com/5555555/friends?access_token=AAAEYBAOZAJgUBEvjXxz2RnZBKvIDlewZAngecQsdXCssGkaZBEZBkOXItuZAPmmHe8edG6ZAPXub5EJ6BJ3tZAlwVZDZD&limit=5000&offset=5000&__after_id=10000433333 ) ) [escapingMethod:protected] => esc_specialchars ) .

Any javascript or PHP snippet or just a description how to go about that would really be appreciated. Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant