{"id":177,"date":"2011-12-14T11:00:18","date_gmt":"2011-12-14T11:00:18","guid":{"rendered":"http:\/\/pixert.com\/blog\/?p=177"},"modified":"2014-06-09T05:11:01","modified_gmt":"2014-06-09T05:11:01","slug":"how-to-find-facebook-page-profile-id","status":"publish","type":"post","link":"https:\/\/pixert.com\/blog\/how-to-find-facebook-page-profile-id\/","title":{"rendered":"How to Find Facebook Page\/Profile IDs"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/03\/do-you-have-facebook.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"44\" data-permalink=\"https:\/\/pixert.com\/blog\/add-facebook-like-to-wordpress\/do-you-have-facebook\/\" data-orig-file=\"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/03\/do-you-have-facebook.jpg?fit=500%2C373&amp;ssl=1\" data-orig-size=\"500,373\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Do You Have a Facebook?\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/03\/do-you-have-facebook.jpg?fit=300%2C223&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/03\/do-you-have-facebook.jpg?fit=500%2C373&amp;ssl=1\" class=\"aligncenter size-medium wp-image-44\" title=\"Do You Have a Facebook?\" src=\"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/03\/do-you-have-facebook-300x223.jpg?resize=300%2C223\" alt=\"\" width=\"300\" height=\"223\" srcset=\"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/03\/do-you-have-facebook.jpg?resize=300%2C223&amp;ssl=1 300w, https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/03\/do-you-have-facebook.jpg?w=500&amp;ssl=1 500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Many&nbsp;<a title=\"Category - Facebook\" href=\"http:\/\/hellboundbloggers.com\/topics\/facebook\/\">Facebook<\/a>&nbsp;Applications need Facebook Page ID and Profile ID or Admin ID.&nbsp;&nbsp;If you are using a custom username for your Facebook profile or page,e.g facebook.com\/PixelInsert then unique ID will not appear. Facebook social plugins require this unique ID<\/p>\n<p>1. <strong>Facebook Graph API<\/strong><\/p>\n<p>Facebook Graph API help detecting Facebook Page\/Profile\/Admin ID from your Facebook username<\/p>\n<pre class=\"brush: plain; title: Code Block; notranslate\" title=\"Code Block\">https:\/\/graph.facebook.com\/yourusername<\/pre>\n<p>You will get the following details in&nbsp;<abbr title=\"JavaScript Object Notation\">JSON<\/abbr>&nbsp;format. Here you can find the ID in the first line.<\/p>\n<figure id=\"attachment_178\" aria-describedby=\"caption-attachment-178\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/12\/fbpageid.gif\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"178\" data-permalink=\"https:\/\/pixert.com\/blog\/how-to-find-facebook-page-profile-id\/fbpageid\/\" data-orig-file=\"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/12\/fbpageid.gif?fit=1254%2C281&amp;ssl=1\" data-orig-size=\"1254,281\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"FB Page ID\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Find Facebook Page\/Profile\/Admin ID via Open Graph API (click the screenshot to view the large image)&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/12\/fbpageid.gif?fit=300%2C67&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/12\/fbpageid.gif?fit=1024%2C229&amp;ssl=1\" class=\"size-medium wp-image-178 \" style=\"border-width: 1px; border-color: black; border-style: solid;\" title=\"FB Page ID\" src=\"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/12\/fbpageid-300x67.gif?resize=300%2C67\" alt=\"\" width=\"300\" height=\"67\" srcset=\"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/12\/fbpageid.gif?resize=300%2C67&amp;ssl=1 300w, https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/12\/fbpageid.gif?resize=1024%2C229&amp;ssl=1 1024w, https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/12\/fbpageid.gif?w=1254&amp;ssl=1 1254w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-178\" class=\"wp-caption-text\">Find Facebook Page\/Profile\/Admin ID via Open Graph API (click the screenshot to view the large image)<\/figcaption><\/figure>\n<p>2. <strong>Facebook URL address<\/strong><\/p>\n<p>You&#8217;ll see the unique ID at the end of your facebook URL address if you don&#8217;t setup facebook username<\/p>\n<pre class=\"brush: plain; title: Code Block; notranslate\" title=\"Code Block\">http:\/\/www.facebook.com\/profile.php?id={YOU_FACEBOOK_ID}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Many&nbsp;Facebook&nbsp;Applications need Facebook Page ID and Profile ID or Admin ID.&nbsp;&nbsp;If you are using a custom username for your Facebook profile or page,e.g facebook.com\/PixelInsert then unique ID will not appear. Facebook social plugins require this unique ID 1. Facebook Graph API Facebook Graph API help detecting Facebook Page\/Profile\/Admin ID from your Facebook username https:\/\/graph.facebook.com\/yourusername You [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":178,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[54],"tags":[55,19],"class_list":["post-177","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code-snippet","tag-code-snippet-2","tag-facebook"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/12\/fbpageid.gif?fit=1254%2C281&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1pvi1-2R","jetpack-related-posts":[{"id":393,"url":"https:\/\/pixert.com\/blog\/add-facebook-like-box-change-language-local\/","url_meta":{"origin":177,"position":0},"title":"How to add Facebook Like Box and change language to local","author":"Pixel Insert \/ Pixert","date":"September 21, 2014","format":false,"excerpt":"Facebook Like Box\u00a0allows website owners to provide their visitors with an easy way to join their facebook community and get updates right in their Facebook news feed with a click to like from\u00a0their website. It\u00a0is\u00a0a good\u00a0way\u00a0to promote a \u00a0Facebook Page. Facebook Like Box only works for Facebook Pages, this isn't\u2026","rel":"","context":"In &quot;WordPress&quot;","block_context":{"text":"WordPress","link":"https:\/\/pixert.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2014\/09\/facebooklikebox.jpg?fit=447%2C547&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":259,"url":"https:\/\/pixert.com\/blog\/flickr-badges-open-new-window-jquery-way\/","url_meta":{"origin":177,"position":1},"title":"Flickr Badges Open New Window jQuery way","author":"Pixel Insert \/ Pixert","date":"October 1, 2012","format":false,"excerpt":"I recently added a Flickr Badge to a site and really loved everything about it except that there was no way to have it open the photos in a new window when they were clicked Flickr badge looked like the following - Username [php] <div id=\"flickr_badge_wrapper\"> <script type=\"text\/javascript\" src=\"http:\/\/www.flickr.com\/badge_code_v2.gnecount=10&display=latest&size=s&layout=x&source=user&user=username\"><\/script><\/div> [\/php]\u2026","rel":"","context":"In &quot;Code Snippet&quot;","block_context":{"text":"Code Snippet","link":"https:\/\/pixert.com\/blog\/category\/code-snippet\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":105,"url":"https:\/\/pixert.com\/blog\/facebook-share-button\/","url_meta":{"origin":177,"position":2},"title":"Facebook Share Button","author":"Pixel Insert \/ Pixert","date":"May 14, 2011","format":false,"excerpt":"Facebook Share is one of the most powerful and simple ways for users to share articles, pages, video, or Flash content from your site with their friends on Facebook. Over 1 billion pieces of content are shared each week on Facebook, and many of those are links shared using Facebook\u2026","rel":"","context":"In &quot;Code Snippet&quot;","block_context":{"text":"Code Snippet","link":"https:\/\/pixert.com\/blog\/category\/code-snippet\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/05\/fbshare.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":231,"url":"https:\/\/pixert.com\/blog\/wordpress-shortcode-in-custom-fields\/","url_meta":{"origin":177,"position":3},"title":"WordPress: Shortcode in Custom Field","author":"Pixel Insert \/ Pixert","date":"June 5, 2012","format":false,"excerpt":"Normally wordpress does not run shortcode that you put into a custom field. By default, Custom Fields display whatever value you enter, as plain-text, so if you try entering a shortcode, (in the format [shortcode] VALUE [\/shortcode]) you\u2019ll end up displaying the entire text, including the tags. Add the following\u2026","rel":"","context":"In &quot;Code Snippet&quot;","block_context":{"text":"Code Snippet","link":"https:\/\/pixert.com\/blog\/category\/code-snippet\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/03\/wordpresslogo-300x68.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":305,"url":"https:\/\/pixert.com\/blog\/wordpress-conditional-tag-to-check-specific-menu\/","url_meta":{"origin":177,"position":4},"title":"WordPress: Conditional tag to check a specific menu","author":"Pixel Insert \/ Pixert","date":"May 22, 2013","format":false,"excerpt":"Following conditional tag usually use in this filter function, wp_nav_menu_items [php]if( $args->theme_location == 'primary' )[\/php] \u00a0 [php]if( $args->theme_location == 'secondary' )[\/php] \u00a0 [php]if( $args->theme_location == 'primary' )[\/php] For an example, I want to add search box to Primary Menu in WPZOOM theme name Videozoom. Conditional tag above make sure the\u2026","rel":"","context":"In &quot;Code Snippet&quot;","block_context":{"text":"Code Snippet","link":"https:\/\/pixert.com\/blog\/category\/code-snippet\/"},"img":{"alt_text":"wordpress-logo-notext-rgb","src":"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2013\/08\/wordpress-logo-notext-rgb.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":101,"url":"https:\/\/pixert.com\/blog\/wordpress-click-an-attachment-image-to-view-next-image-in-order\/","url_meta":{"origin":177,"position":5},"title":"WordPress: Click an attachment image to view next image in order","author":"Pixel Insert \/ Pixert","date":"May 8, 2011","format":false,"excerpt":"Add the following to the top of attachment.php [php] <?php \/\/ code copied from adjacent_image_link() in wp-include\/media.php $attachments = array_values(get_children( array('post_parent' => $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID') )); foreach ( $attachments as $k => $attachment ) if (\u2026","rel":"","context":"In &quot;Code Snippet&quot;","block_context":{"text":"Code Snippet","link":"https:\/\/pixert.com\/blog\/category\/code-snippet\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/pixert.com\/blog\/wp-content\/uploads\/2011\/03\/wordpresslogo-300x68.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/pixert.com\/blog\/wp-json\/wp\/v2\/posts\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pixert.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pixert.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pixert.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pixert.com\/blog\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":0,"href":"https:\/\/pixert.com\/blog\/wp-json\/wp\/v2\/posts\/177\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pixert.com\/blog\/wp-json\/wp\/v2\/media\/178"}],"wp:attachment":[{"href":"https:\/\/pixert.com\/blog\/wp-json\/wp\/v2\/media?parent=177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pixert.com\/blog\/wp-json\/wp\/v2\/categories?post=177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pixert.com\/blog\/wp-json\/wp\/v2\/tags?post=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}