Guest User

Untitled

a guest
May 20th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. <?
  2.  
  3. public function &photos_addTag(
  4. $pid, $tag_uid, $tag_text, $x, $y,
  5. $session_key = null, $format = null, $tags = null, $owner_uid = null)
  6. {
  7. if (!isset($session_key) and !isset($owner_uid))
  8. $session_key = $this->session_key;
  9. $args = array();
  10. foreach (array('pid', 'tag_uid', 'tag_text', 'x', 'y',
  11. 'session_key', 'format', 'tags', 'owner_uid') as $key) {
  12. if (isset($$key))
  13. $args[$key] = $$key;
  14. }
  15. return $this->call_method('facebook.photos.getTags', $args);
  16. }
Add Comment
Please, Sign In to add comment