Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- public function &photos_addTag(
- $pid, $tag_uid, $tag_text, $x, $y,
- $session_key = null, $format = null, $tags = null, $owner_uid = null)
- {
- if (!isset($session_key) and !isset($owner_uid))
- $session_key = $this->session_key;
- $args = array();
- foreach (array('pid', 'tag_uid', 'tag_text', 'x', 'y',
- 'session_key', 'format', 'tags', 'owner_uid') as $key) {
- if (isset($$key))
- $args[$key] = $$key;
- }
- return $this->call_method('facebook.photos.getTags', $args);
- }
Add Comment
Please, Sign In to add comment