Translate my blog!

                                           French German Spain Italian Dutch Russian Portuguese Japanese Korean Arabic Chinese Simplified
                                                                                                                                                                           by : Blogging Cloud

Sunday, August 21, 2011

How to resolve Facebook "Like" button error asking to specify “fb:app_id" meta tag, or a "fb:admins" meta tag.


Assuming that you want to have "Like" button for your website in order to promote its pages.You go straight to facebook.com to get and install the proper javascript or iframe code to place "Like" button on your Blog or on your website but facing a common error:

 "The page failed to provide a valid list of administrators. It needs to specify the administrators using either a "fb:app_id" meta tag, or using a "fb:admins" meta tag to specify a comma-delimited list of Facebook users."

After hours of struggling with this problem you are determined either to remove the button or to fix it somehow.
Follow these simple steps to embed face book "Like" button.

You have to fill the HTML coding with required details:
Step 1.  Add  xmlns:og=’http://ogp.me/ns#’ and xmlns:fb=’http://www.facebook.com/2008/fbml’ in the <HTML>  tab. 
Your code should look like this: 

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:og=”http://ogp.me/ns#”
      xmlns:fb="http://www.facebook.com/2008/fbml">

Step 2.  Add your facebook user id in fb:admins. Your user id must be a validated id.


    <meta property="fb:admins" content="your validated USER_ID"/>

After following these two simple steps you won’t face the above mentioned error.
Follow the following path to debug http://developers.facebook.com/tools/debug


Explaination :
This adds the necessary XML namespaces to the pages allowing Facebook to interpret additional meta-data in your product pages.
Reference:
The Open Graph protocol defines four required properties:
  • og:title - The title of your object as it should appear within the graph, e.g., "The Rock".
  •  og:type -   The type of your object, e.g., "movie". See the complete list of supported types.
  • og:image - An image URL which should represent your object within the graph. The image                        must be at least 50px by 50px and have a maximum aspect ratio of 3:1. Support PNG, JPEG and GIF formats.You may include multiple og:image tags to associate multiple images with your page.
  • og:url -The canonical URL of your object that will be used as its permanent ID in the graph, e.g., http://blitzkriegconsultant.blogspot.com/
In addition, FB extended the basic meta data to add two required fields to connect your webpage with Facebook:
  • og:site_name -A human-readable name for your site, e.g., "CLOUDING A BLOG
  • fb:admins or fb:app_id - A comma-separated list of either Facebook user IDs or a Facebook Platform application ID that administers this page. It is valid to include both fb:admins and fb:app_id on your page.
It's also recommended that you include the following property as well as these multi-part properties.
  • og:description -A one to two sentence description of your page.




Friday, August 19, 2011

TAG CLOUD FOR BLOG LABELS:



TAG CLOUD:


How it works:



This widget uses a combination of JavaScript and Flash animation to parse and display your blog labels.




How to install Tag Cloud in your Blogger layout:

Tag Cloud is ported via WP-Cumulus to Blogger..! Installation of Tag cloud is very simple and easy to port in a blog. You just have to follow six simple steps!


Here are the steps required to install Tag Cloud in your Blogger layout:


1.  You have to copy and paste a section of code to your Blogger template, Go to Layout>Edit HTML in your Blogger dashboard,



2. Search for the following line (or similar which contains ‘sidebar’) :

<b:section class='sidebar' id='sidebar' preferred='yes'>
OR
<b:section-contents id='sidebar-right-1'>

        You will find this line at the bottom of your blog.

3.  Look for code line which will be there under sidebar section class.

<b:widget id='Label' locked='false' title='Labels' type='Label'/>


4. Copy this code and paste below the above mentioned line (widget id code line)


<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<script src='http://sites.google.com/site/bloggerustemplatus/code/swfobject.js' type='text/javascript'/>
<div id='flashcontent'>Blogumulus by <a href='http://www.roytanck.com/'>Roy Tanck</a> and <a href='http://www.bloggerbuster.com'>Amanda Fazani</a><a href='http://blitzkriegconsultant.blogspot.com'></a></div>
<script type='text/javascript'>
var so = new SWFObject(&quot;http://sites.google.com/site/bloggerustemplatus/code/tagcloud.swf&quot;, &quot;tagcloud&quot;, &quot;240&quot;, &quot;300&quot;, &quot;7&quot;, &quot;#ffffff&quot;);
// uncomment next line to enable transparency
//so.addParam(&quot;wmode&quot;, &quot;transparent&quot;);
so.addVariable(&quot;tcolor&quot;, &quot;0x333333&quot;);
so.addVariable(&quot;mode&quot;, &quot;tags&quot;);
so.addVariable(&quot;distr&quot;, &quot;true&quot;);
so.addVariable(&quot;tspeed&quot;, &quot;100&quot;);
so.addVariable(&quot;tagcloud&quot;, &quot;<tags><b:loop values='data:labels' var='label'><a expr:href='data:label.url' style='12'><data:label.name/></a></b:loop></tags>&quot;);
so.addParam(&quot;allowScriptAccess&quot;, &quot;always&quot;);
so.write(&quot;flashcontent&quot;);
</script>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>


5.    You can preview your template to ensure you've made no mistakes before saving. If installed correctly, you should see the tag cloud appear in your sidebar.
 

6.    Click on Save Template. That's all!




You can enjoy the TAG Cloud on your blog.

Credit for wp-cumulus & porting it to blogger goes to Roy Tanck and Amanda Fazani.

Leave your comments for any issues. 

Wednesday, August 17, 2011

Hacking BlackBerry Apps for Dummies - “How to find Serials using OLLYDBG “


Tools Needed :

  1.  Blackberry device simulator from: http://na.blackberry.com/eng/developers/resources/simulators.jsp - you need to register
  2. OllyDBG debugger http://www.ollydbg.de/
  3. Clean.bat or anything similar located in the install directory of the BB Simulator

After installing all the needed applications go to the simulator directory and copy the Simulator batch file and clean file to your desktop
Example: My File location C:\Program Files (x86)\Research In Motion\BlackBerry Smartphone Simulators 4.6.0\4.6.0.162 (9000-Rogers)
Files I will copy to desktop are 9000-Rogers.bat and clean.bat
Once this is done go to desktop and locate the files, one again mine will be 9000-Rogers.bat
Open the file by right clicking on your mouse and them clicking on EDIT
The file will contain the following:
@echo off
fledge.exe /title="Blackberry 9000 Simulator -Rogers" /app=Jvm.dll /handheld=9000 /session=9000 /app-param=DisableRegistration /app-param=JvmAlxConfigFile:9000-Rogers.xml /data-port=0x4d44 /data-port=0x4d4e /pin=0x12345678
You now need to change the /pin=0x12345678 to your own PIN, press and hold Atl H on your blackberry to get your PIN THEN CHANGE /pin=0x(YOUR-PIN)
I will be using 21383c9c for testing purposes, but you can use your own
SAVE THE BATCH FILE AND SAVE IT and EXIT
Next open the Simulator you downloaded and installed and follow the steps:
Step 1.

Step 2.

Step 3.

Step 4.

After you completed the steps above the application you are trying to crack will be loaded into the simulator.
Now navigate to the application within the Simulator as if it were your handheld and open the application.

The Next Step is to open OLLYDBG

A New Window will popup look for

Next this will open

After the F9 go back to the Simulator and Enter a Random license key that you will remember, do not use 123456, in this case we will use 147258 the scroll to submit and ok you will see this screen

Go Back to OLLYDBG and press ALT-M – This will give you a Memory MAP

After expanding the box click on the first line and press Ctrl-B

A Similar window will pop up

Since we did not find the string Needed we Press Ctrl-L and look for it again, in this case we found it in the second try, but this is not always the case.


We now have the serial, so we can test it in the Simulator. I enter the code I found and... we are registered.
Every time you need to look for a code run the Clean.bat file or what ever it’s called to reset the Simulator.
Extra notes:
The Real Serial can be found at different locations:

  • Close to the fake serial
  • Close to the PIN in Hexadecimal (when you press Alt-H on your handheld
  • Close to the PIN in Decimal format that you’ve converted using Windows calculator in Advanced mode
  • At times the serial can be at the beginning of a long repetitive string. 147852369000 the code can be 14785, you will need to play around in order to find it.

Now for the Code Made Easy. I’ve tried to help by using different PINs and looking for strings that always show up close to the Real serial.
In this case when looking in the Memory MAP you can enter a string that I’ve posted in the Ctrl-B option and the serial will be close by. When you can’t find a serial try using an older version app since the serials for the updates are usually the same.

Now after all said and done, hacking any software is illegal and there can and probably will be legal consequences, I do not encourage or endorse this at all. Developers work hard to make these programs and by not purchasing the software you are taking food off their table. This tutorial is strictly for testing purposes and of course Fun only.
If you like the software please purchase it, they are not expensive and most of the time they are worth much more then they charge. You will also be able to get full support from the developers.
Some applications can crash your device due to bugs in the code and you will have absolutely no support from anyone unless you have purchased it.
Good Luck!Keep Testing!